Compare commits

..

1 Commits

Author SHA1 Message Date
haowei.yao
aa06915a34 EMR SDK Auto Released By xiaoyan.yan,Version:1.34.17
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
2019-03-14 12:10:20 +08:00
1223 changed files with 108203 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
2019-03-14 Version: 1.34.17
1, Update Dependency
2019-03-14 Version: 1.34.16
1, Update Dependency

View File

@@ -93,4 +93,5 @@ add_subdirectory(alimt)
add_subdirectory(xspace)
add_subdirectory(jarvis-public)
add_subdirectory(cbn)
add_subdirectory(cbn)
add_subdirectory(emr)

View File

@@ -1 +1 @@
1.34.16
1.34.17

1298
emr/CMakeLists.txt Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_EMREXPORT_H_
#define ALIBABACLOUD_EMR_EMREXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_EMR_LIBRARY)
# define ALIBABACLOUD_EMR_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_EMR_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_EMR_EXPORT
#endif
#endif // !ALIBABACLOUD_EMR_EMREXPORT_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AddClusterServiceRequest : public RpcServiceRequest
{
struct Service
{
std::string serviceName;
};
public:
AddClusterServiceRequest();
~AddClusterServiceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<Service> getService()const;
void setService(const std::vector<Service>& service);
std::string getComment()const;
void setComment(const std::string& comment);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::vector<Service> service_;
std::string comment_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AddClusterServiceResult : public ServiceResult
{
public:
AddClusterServiceResult();
explicit AddClusterServiceResult(const std::string &payload);
~AddClusterServiceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AttachClusterForNoteRequest : public RpcServiceRequest
{
public:
AttachClusterForNoteRequest();
~AttachClusterForNoteRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string id_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AttachClusterForNoteResult : public ServiceResult
{
public:
AttachClusterForNoteResult();
explicit AttachClusterForNoteResult(const std::string &payload);
~AttachClusterForNoteResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHCLUSTERFORNOTERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AttachPubIpRequest : public RpcServiceRequest
{
public:
AttachPubIpRequest();
~AttachPubIpRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getInstanceIds()const;
void setInstanceIds(const std::vector<std::string>& instanceIds);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::vector<std::string> instanceIds_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AttachPubIpResult : public ServiceResult
{
public:
AttachPubIpResult();
explicit AttachPubIpResult(const std::string &payload);
~AttachPubIpResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_ATTACHPUBIPRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AuthorizeSecurityGroupRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupRequest();
~AuthorizeSecurityGroupRequest();
std::string getBizType()const;
void setBizType(const std::string& bizType);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBizContent()const;
void setBizContent(const std::string& bizContent);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string bizType_;
long resourceOwnerId_;
std::string bizContent_;
std::string regionId_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT AuthorizeSecurityGroupResult : public ServiceResult
{
public:
AuthorizeSecurityGroupResult();
explicit AuthorizeSecurityGroupResult(const std::string &payload);
~AuthorizeSecurityGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_AUTHORIZESECURITYGROUPRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CancelETLJobReleaseRequest : public RpcServiceRequest
{
public:
CancelETLJobReleaseRequest();
~CancelETLJobReleaseRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getEtlJobId()const;
void setEtlJobId(const std::string& etlJobId);
std::string getReleaseId()const;
void setReleaseId(const std::string& releaseId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string etlJobId_;
std::string releaseId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CancelETLJobReleaseResult : public ServiceResult
{
public:
CancelETLJobReleaseResult();
explicit CancelETLJobReleaseResult(const std::string &payload);
~CancelETLJobReleaseResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CANCELETLJOBRELEASERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CancelOrderRequest : public RpcServiceRequest
{
public:
CancelOrderRequest();
~CancelOrderRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CANCELORDERREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CancelOrderResult : public ServiceResult
{
public:
CancelOrderResult();
explicit CancelOrderResult(const std::string &payload);
~CancelOrderResult();
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CANCELORDERRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CheckDataSourceRequest : public RpcServiceRequest
{
public:
CheckDataSourceRequest();
~CheckDataSourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getConf()const;
void setConf(const std::string& conf);
std::string getId()const;
void setId(const std::string& id);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string conf_;
std::string id_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CheckDataSourceResult : public ServiceResult
{
public:
CheckDataSourceResult();
explicit CheckDataSourceResult(const std::string &payload);
~CheckDataSourceResult();
std::string getCommandId()const;
protected:
void parse(const std::string &payload);
private:
std::string commandId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CHECKDATASOURCERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneDataSourceRequest : public RpcServiceRequest
{
public:
CloneDataSourceRequest();
~CloneDataSourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string id_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneDataSourceResult : public ServiceResult
{
public:
CloneDataSourceResult();
explicit CloneDataSourceResult(const std::string &payload);
~CloneDataSourceResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneETLJobRequest : public RpcServiceRequest
{
public:
CloneETLJobRequest();
~CloneETLJobRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string id_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEETLJOBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEETLJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEETLJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneETLJobResult : public ServiceResult
{
public:
CloneETLJobResult();
explicit CloneETLJobResult(const std::string &payload);
~CloneETLJobResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEETLJOBRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneFlowJobRequest : public RpcServiceRequest
{
public:
CloneFlowJobRequest();
~CloneFlowJobRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
private:
std::string regionId_;
std::string id_;
std::string projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneFlowJobResult : public ServiceResult
{
public:
CloneFlowJobResult();
explicit CloneFlowJobResult(const std::string &payload);
~CloneFlowJobResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEFLOWJOBRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEFLOWREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEFLOWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneFlowRequest : public RpcServiceRequest
{
public:
CloneFlowRequest();
~CloneFlowRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getId()const;
void setId(const std::string& id);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
private:
std::string regionId_;
std::string id_;
std::string projectId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEFLOWREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CLONEFLOWRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CLONEFLOWRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CloneFlowResult : public ServiceResult
{
public:
CloneFlowResult();
explicit CloneFlowResult(const std::string &payload);
~CloneFlowResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEFLOWRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CommonApiWhiteListRequest : public RpcServiceRequest
{
public:
CommonApiWhiteListRequest();
~CommonApiWhiteListRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CommonApiWhiteListResult : public ServiceResult
{
public:
CommonApiWhiteListResult();
explicit CommonApiWhiteListResult(const std::string &payload);
~CommonApiWhiteListResult();
std::string getWhiteList()const;
protected:
void parse(const std::string &payload);
private:
std::string whiteList_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_COMMONAPIWHITELISTRESULT_H_

View File

@@ -0,0 +1,81 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ContextQueryLogRequest : public RpcServiceRequest
{
public:
ContextQueryLogRequest();
~ContextQueryLogRequest();
std::string getPackId()const;
void setPackId(const std::string& packId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getTotalOffset()const;
void setTotalOffset(int totalOffset);
int getSize()const;
void setSize(int size);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getPackMeta()const;
void setPackMeta(const std::string& packMeta);
int getFrom()const;
void setFrom(int from);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getTo()const;
void setTo(int to);
bool getReverse()const;
void setReverse(bool reverse);
std::string getLogStore()const;
void setLogStore(const std::string& logStore);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string packId_;
long resourceOwnerId_;
int totalOffset_;
int size_;
std::string regionId_;
std::string packMeta_;
int from_;
std::string clusterId_;
int to_;
bool reverse_;
std::string logStore_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT ContextQueryLogResult : public ServiceResult
{
public:
struct Item
{
std::string content;
int index;
};
ContextQueryLogResult();
explicit ContextQueryLogResult(const std::string &payload);
~ContextQueryLogResult();
std::string getTime()const;
std::vector<Item> getLogs()const;
std::string getPackMeta()const;
std::string getPackId()const;
protected:
void parse(const std::string &payload);
private:
std::string time_;
std::vector<Item> logs_;
std::string packMeta_;
std::string packId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CONTEXTQUERYLOGRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertContactRequest : public RpcServiceRequest
{
public:
CreateAlertContactRequest();
~CreateAlertContactRequest();
std::string getEmailVerificationCode()const;
void setEmailVerificationCode(const std::string& emailVerificationCode);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getPhoneNumberVerificationCode()const;
void setPhoneNumberVerificationCode(const std::string& phoneNumberVerificationCode);
std::string getName()const;
void setName(const std::string& name);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getEmail()const;
void setEmail(const std::string& email);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string emailVerificationCode_;
long resourceOwnerId_;
std::string regionId_;
std::string phoneNumberVerificationCode_;
std::string name_;
std::string phoneNumber_;
std::string email_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertContactResult : public ServiceResult
{
public:
CreateAlertContactResult();
explicit CreateAlertContactResult(const std::string &payload);
~CreateAlertContactResult();
long getId()const;
protected:
void parse(const std::string &payload);
private:
long id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTCONTACTRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertDingDingGroupRequest : public RpcServiceRequest
{
public:
CreateAlertDingDingGroupRequest();
~CreateAlertDingDingGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getWebHookUrl()const;
void setWebHookUrl(const std::string& webHookUrl);
private:
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string description_;
std::string accessKeyId_;
std::string webHookUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertDingDingGroupResult : public ServiceResult
{
public:
CreateAlertDingDingGroupResult();
explicit CreateAlertDingDingGroupResult(const std::string &payload);
~CreateAlertDingDingGroupResult();
long getId()const;
protected:
void parse(const std::string &payload);
private:
long id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertUserGroupRequest : public RpcServiceRequest
{
public:
CreateAlertUserGroupRequest();
~CreateAlertUserGroupRequest();
std::string getUserList()const;
void setUserList(const std::string& userList);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string userList_;
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string description_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateAlertUserGroupResult : public ServiceResult
{
public:
CreateAlertUserGroupResult();
explicit CreateAlertUserGroupResult(const std::string &payload);
~CreateAlertUserGroupResult();
long getId()const;
protected:
void parse(const std::string &payload);
private:
long id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest
{
public:
CreateClusterHostGroupRequest();
~CreateClusterHostGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getComment()const;
void setComment(const std::string& comment);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getHostGroupName()const;
void setHostGroupName(const std::string& hostGroupName);
std::string getHostGroupType()const;
void setHostGroupType(const std::string& hostGroupType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string comment_;
std::string clusterId_;
std::string hostGroupName_;
std::string hostGroupType_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupResult : public ServiceResult
{
public:
CreateClusterHostGroupResult();
explicit CreateClusterHostGroupResult(const std::string &payload);
~CreateClusterHostGroupResult();
std::string getHostGroupId()const;
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string hostGroupId_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterScriptRequest : public RpcServiceRequest
{
public:
CreateClusterScriptRequest();
~CreateClusterScriptRequest();
std::string getArgs()const;
void setArgs(const std::string& args);
std::string getPath()const;
void setPath(const std::string& path);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getNodeIdList()const;
void setNodeIdList(const std::string& nodeIdList);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string args_;
std::string path_;
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string clusterId_;
std::string nodeIdList_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterScriptResult : public ServiceResult
{
public:
CreateClusterScriptResult();
explicit CreateClusterScriptResult(const std::string &payload);
~CreateClusterScriptResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERSCRIPTRESULT_H_

View File

@@ -0,0 +1,180 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterTemplateRequest : public RpcServiceRequest
{
struct BootstrapAction
{
std::string path;
std::string arg;
std::string name;
};
struct HostGroup
{
int period;
int sysDiskCapacity;
int diskCapacity;
std::string sysDiskType;
std::string clusterId;
std::string diskType;
std::string hostGroupName;
std::string vSwitchId;
int diskCount;
bool autoRenew;
std::string hostGroupId;
int nodeCount;
std::string instanceType;
std::string comment;
std::string chargeType;
std::string multiInstanceTypes;
std::string createType;
std::string hostGroupType;
};
struct Config
{
std::string configKey;
std::string fileName;
std::string encrypt;
std::string replace;
std::string configValue;
std::string serviceName;
};
public:
CreateClusterTemplateRequest();
~CreateClusterTemplateRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getLogPath()const;
void setLogPath(const std::string& logPath);
std::string getMasterPwd()const;
void setMasterPwd(const std::string& masterPwd);
std::string getConfigurations()const;
void setConfigurations(const std::string& configurations);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
bool getSshEnable()const;
void setSshEnable(bool sshEnable);
bool getEasEnable()const;
void setEasEnable(bool easEnable);
std::string getSecurityGroupName()const;
void setSecurityGroupName(const std::string& securityGroupName);
std::string getDepositType()const;
void setDepositType(const std::string& depositType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMachineType()const;
void setMachineType(const std::string& machineType);
std::vector<BootstrapAction> getBootstrapAction()const;
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getUseLocalMetaDb()const;
void setUseLocalMetaDb(bool useLocalMetaDb);
std::string getEmrVer()const;
void setEmrVer(const std::string& emrVer);
std::string getTemplateName()const;
void setTemplateName(const std::string& templateName);
std::string getUserDefinedEmrEcsRole()const;
void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole);
bool getIsOpenPublicIp()const;
void setIsOpenPublicIp(bool isOpenPublicIp);
int getPeriod()const;
void setPeriod(int period);
std::string getInstanceGeneration()const;
void setInstanceGeneration(const std::string& instanceGeneration);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
bool getAutoRenew()const;
void setAutoRenew(bool autoRenew);
std::vector<std::string> getOptionSoftWareList()const;
void setOptionSoftWareList(const std::vector<std::string>& optionSoftWareList);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getNetType()const;
void setNetType(const std::string& netType);
std::vector<HostGroup> getHostGroup()const;
void setHostGroup(const std::vector<HostGroup>& hostGroup);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
bool getUseCustomHiveMetaDb()const;
void setUseCustomHiveMetaDb(bool useCustomHiveMetaDb);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
bool getHighAvailabilityEnable()const;
void setHighAvailabilityEnable(bool highAvailabilityEnable);
bool getInitCustomHiveMetaDb()const;
void setInitCustomHiveMetaDb(bool initCustomHiveMetaDb);
private:
long resourceOwnerId_;
std::string logPath_;
std::string masterPwd_;
std::string configurations_;
bool ioOptimized_;
std::string securityGroupId_;
bool sshEnable_;
bool easEnable_;
std::string securityGroupName_;
std::string depositType_;
std::string accessKeyId_;
std::string machineType_;
std::vector<BootstrapAction> bootstrapAction_;
std::string regionId_;
bool useLocalMetaDb_;
std::string emrVer_;
std::string templateName_;
std::string userDefinedEmrEcsRole_;
bool isOpenPublicIp_;
int period_;
std::string instanceGeneration_;
std::string vSwitchId_;
std::string clusterType_;
bool autoRenew_;
std::vector<std::string> optionSoftWareList_;
std::string vpcId_;
std::string netType_;
std::vector<HostGroup> hostGroup_;
std::string zoneId_;
bool useCustomHiveMetaDb_;
std::vector<Config> config_;
bool highAvailabilityEnable_;
bool initCustomHiveMetaDb_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterTemplateResult : public ServiceResult
{
public:
CreateClusterTemplateResult();
explicit CreateClusterTemplateResult(const std::string &payload);
~CreateClusterTemplateResult();
std::string getClusterTemplateId()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterTemplateId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERTEMPLATERESULT_H_

View File

@@ -0,0 +1,216 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2REQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2REQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterV2Request : public RpcServiceRequest
{
struct HostComponentInfo
{
std::string hostName;
std::vector<std::string> componentNameList;
std::string serviceName;
};
struct BootstrapAction
{
std::string path;
std::string arg;
std::string name;
};
struct UserInfo
{
std::string password;
std::string userId;
std::string userName;
};
struct HostGroup
{
int period;
int sysDiskCapacity;
int diskCapacity;
std::string sysDiskType;
std::string clusterId;
std::string diskType;
std::string hostGroupName;
std::string vSwitchId;
int diskCount;
bool autoRenew;
std::string gpuDriver;
std::string hostGroupId;
int nodeCount;
std::string instanceType;
std::string comment;
std::string chargeType;
std::string createType;
std::string hostGroupType;
};
struct Config
{
std::string configKey;
std::string fileName;
std::string encrypt;
std::string replace;
std::string configValue;
std::string serviceName;
};
public:
CreateClusterV2Request();
~CreateClusterV2Request();
bool getAutoPayOrder()const;
void setAutoPayOrder(bool autoPayOrder);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getLogPath()const;
void setLogPath(const std::string& logPath);
std::string getMasterPwd()const;
void setMasterPwd(const std::string& masterPwd);
std::string getConfigurations()const;
void setConfigurations(const std::string& configurations);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
bool getSshEnable()const;
void setSshEnable(bool sshEnable);
bool getEasEnable()const;
void setEasEnable(bool easEnable);
std::string getKeyPairName()const;
void setKeyPairName(const std::string& keyPairName);
std::string getSecurityGroupName()const;
void setSecurityGroupName(const std::string& securityGroupName);
std::string getDepositType()const;
void setDepositType(const std::string& depositType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMachineType()const;
void setMachineType(const std::string& machineType);
std::vector<HostComponentInfo> getHostComponentInfo()const;
void setHostComponentInfo(const std::vector<HostComponentInfo>& hostComponentInfo);
std::vector<BootstrapAction> getBootstrapAction()const;
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getUseLocalMetaDb()const;
void setUseLocalMetaDb(bool useLocalMetaDb);
std::string getEmrVer()const;
void setEmrVer(const std::string& emrVer);
std::vector<UserInfo> getUserInfo()const;
void setUserInfo(const std::vector<UserInfo>& userInfo);
std::string getUserDefinedEmrEcsRole()const;
void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole);
std::string getAuthorizeContent()const;
void setAuthorizeContent(const std::string& authorizeContent);
bool getIsOpenPublicIp()const;
void setIsOpenPublicIp(bool isOpenPublicIp);
int getPeriod()const;
void setPeriod(int period);
std::string getWhiteListType()const;
void setWhiteListType(const std::string& whiteListType);
std::string getRelatedClusterId()const;
void setRelatedClusterId(const std::string& relatedClusterId);
std::string getInstanceGeneration()const;
void setInstanceGeneration(const std::string& instanceGeneration);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
bool getAutoRenew()const;
void setAutoRenew(bool autoRenew);
std::vector<std::string> getOptionSoftWareList()const;
void setOptionSoftWareList(const std::vector<std::string>& optionSoftWareList);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getNetType()const;
void setNetType(const std::string& netType);
std::string getName()const;
void setName(const std::string& name);
std::vector<HostGroup> getHostGroup()const;
void setHostGroup(const std::vector<HostGroup>& hostGroup);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
std::string getChargeType()const;
void setChargeType(const std::string& chargeType);
bool getUseCustomHiveMetaDB()const;
void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
bool getHighAvailabilityEnable()const;
void setHighAvailabilityEnable(bool highAvailabilityEnable);
bool getInitCustomHiveMetaDB()const;
void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB);
private:
bool autoPayOrder_;
long resourceOwnerId_;
std::string logPath_;
std::string masterPwd_;
std::string configurations_;
bool ioOptimized_;
std::string securityGroupId_;
bool sshEnable_;
bool easEnable_;
std::string keyPairName_;
std::string securityGroupName_;
std::string depositType_;
std::string accessKeyId_;
std::string machineType_;
std::vector<HostComponentInfo> hostComponentInfo_;
std::vector<BootstrapAction> bootstrapAction_;
std::string regionId_;
bool useLocalMetaDb_;
std::string emrVer_;
std::vector<UserInfo> userInfo_;
std::string userDefinedEmrEcsRole_;
std::string authorizeContent_;
bool isOpenPublicIp_;
int period_;
std::string whiteListType_;
std::string relatedClusterId_;
std::string instanceGeneration_;
std::string vSwitchId_;
std::string clusterType_;
bool autoRenew_;
std::vector<std::string> optionSoftWareList_;
std::string vpcId_;
std::string netType_;
std::string name_;
std::vector<HostGroup> hostGroup_;
std::string zoneId_;
std::string chargeType_;
bool useCustomHiveMetaDB_;
std::vector<Config> config_;
bool highAvailabilityEnable_;
bool initCustomHiveMetaDB_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2REQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2RESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterV2Result : public ServiceResult
{
public:
CreateClusterV2Result();
explicit CreateClusterV2Result(const std::string &payload);
~CreateClusterV2Result();
std::string getMasterOrderId()const;
std::string getCoreOrderId()const;
std::string getClusterId()const;
std::string getEmrOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string masterOrderId_;
std::string coreOrderId_;
std::string clusterId_;
std::string emrOrderId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERV2RESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterWithTemplateRequest : public RpcServiceRequest
{
public:
CreateClusterWithTemplateRequest();
~CreateClusterWithTemplateRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getUniqueTag()const;
void setUniqueTag(const std::string& uniqueTag);
std::string getTemplateBizId()const;
void setTemplateBizId(const std::string& templateBizId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string uniqueTag_;
std::string templateBizId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATEREQUEST_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateClusterWithTemplateResult : public ServiceResult
{
public:
CreateClusterWithTemplateResult();
explicit CreateClusterWithTemplateResult(const std::string &payload);
~CreateClusterWithTemplateResult();
std::string getMasterOrderId()const;
std::string getCoreOrderId()const;
std::string getClusterId()const;
std::string getEmrOrderId()const;
protected:
void parse(const std::string &payload);
private:
std::string masterOrderId_;
std::string coreOrderId_;
std::string clusterId_;
std::string emrOrderId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHTEMPLATERESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateDataSourceRequest : public RpcServiceRequest
{
public:
CreateDataSourceRequest();
~CreateDataSourceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNavParentId()const;
void setNavParentId(const std::string& navParentId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getSourceType()const;
void setSourceType(const std::string& sourceType);
std::string getConf()const;
void setConf(const std::string& conf);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string navParentId_;
std::string name_;
std::string description_;
std::string sourceType_;
std::string conf_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateDataSourceResult : public ServiceResult
{
public:
CreateDataSourceResult();
explicit CreateDataSourceResult(const std::string &payload);
~CreateDataSourceResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEDATASOURCERESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateETLJobRequest : public RpcServiceRequest
{
public:
CreateETLJobRequest();
~CreateETLJobRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNavParentId()const;
void setNavParentId(const std::string& navParentId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string navParentId_;
std::string name_;
std::string description_;
std::string type_;
std::string projectId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEETLJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEETLJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateETLJobResult : public ServiceResult
{
public:
CreateETLJobResult();
explicit CreateETLJobResult(const std::string &payload);
~CreateETLJobResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEETLJOBRESULT_H_

View File

@@ -0,0 +1,184 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateExecutionPlanRequest : public RpcServiceRequest
{
struct BootstrapAction
{
std::string path;
std::string arg;
std::string name;
};
struct EcsOrder
{
std::string nodeType;
int diskCount;
int nodeCount;
int diskCapacity;
int index;
std::string instanceType;
std::string diskType;
};
struct Config
{
std::string configKey;
std::string fileName;
std::string encrypt;
std::string replace;
std::string configValue;
std::string serviceName;
};
public:
CreateExecutionPlanRequest();
~CreateExecutionPlanRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
int getTimeInterval()const;
void setTimeInterval(int timeInterval);
std::string getLogPath()const;
void setLogPath(const std::string& logPath);
std::string getClusterName()const;
void setClusterName(const std::string& clusterName);
std::string getConfigurations()const;
void setConfigurations(const std::string& configurations);
bool getIoOptimized()const;
void setIoOptimized(bool ioOptimized);
std::string getSecurityGroupId()const;
void setSecurityGroupId(const std::string& securityGroupId);
bool getEasEnable()const;
void setEasEnable(bool easEnable);
bool getCreateClusterOnDemand()const;
void setCreateClusterOnDemand(bool createClusterOnDemand);
long getStartTime()const;
void setStartTime(long startTime);
std::vector<std::string> getJobIdList()const;
void setJobIdList(const std::vector<std::string>& jobIdList);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDayOfMonth()const;
void setDayOfMonth(const std::string& dayOfMonth);
std::vector<BootstrapAction> getBootstrapAction()const;
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getUseLocalMetaDb()const;
void setUseLocalMetaDb(bool useLocalMetaDb);
std::string getEmrVer()const;
void setEmrVer(const std::string& emrVer);
std::string getUserDefinedEmrEcsRole()const;
void setUserDefinedEmrEcsRole(const std::string& userDefinedEmrEcsRole);
bool getIsOpenPublicIp()const;
void setIsOpenPublicIp(bool isOpenPublicIp);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getTimeUnit()const;
void setTimeUnit(const std::string& timeUnit);
std::string getInstanceGeneration()const;
void setInstanceGeneration(const std::string& instanceGeneration);
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::vector<std::string> getOptionSoftWareList()const;
void setOptionSoftWareList(const std::vector<std::string>& optionSoftWareList);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getNetType()const;
void setNetType(const std::string& netType);
std::vector<EcsOrder> getEcsOrder()const;
void setEcsOrder(const std::vector<EcsOrder>& ecsOrder);
std::string getWorkflowDefinition()const;
void setWorkflowDefinition(const std::string& workflowDefinition);
std::string getName()const;
void setName(const std::string& name);
std::string getDayOfWeek()const;
void setDayOfWeek(const std::string& dayOfWeek);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
bool getUseCustomHiveMetaDB()const;
void setUseCustomHiveMetaDB(bool useCustomHiveMetaDB);
std::string getStrategy()const;
void setStrategy(const std::string& strategy);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
bool getHighAvailabilityEnable()const;
void setHighAvailabilityEnable(bool highAvailabilityEnable);
bool getInitCustomHiveMetaDB()const;
void setInitCustomHiveMetaDB(bool initCustomHiveMetaDB);
bool getLogEnable()const;
void setLogEnable(bool logEnable);
private:
long resourceOwnerId_;
int timeInterval_;
std::string logPath_;
std::string clusterName_;
std::string configurations_;
bool ioOptimized_;
std::string securityGroupId_;
bool easEnable_;
bool createClusterOnDemand_;
long startTime_;
std::vector<std::string> jobIdList_;
std::string accessKeyId_;
std::string dayOfMonth_;
std::vector<BootstrapAction> bootstrapAction_;
std::string regionId_;
bool useLocalMetaDb_;
std::string emrVer_;
std::string userDefinedEmrEcsRole_;
bool isOpenPublicIp_;
std::string clusterId_;
std::string timeUnit_;
std::string instanceGeneration_;
std::string clusterType_;
std::string vSwitchId_;
std::vector<std::string> optionSoftWareList_;
std::string vpcId_;
std::string netType_;
std::vector<EcsOrder> ecsOrder_;
std::string workflowDefinition_;
std::string name_;
std::string dayOfWeek_;
std::string zoneId_;
bool useCustomHiveMetaDB_;
std::string strategy_;
std::vector<Config> config_;
bool highAvailabilityEnable_;
bool initCustomHiveMetaDB_;
bool logEnable_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateExecutionPlanResult : public ServiceResult
{
public:
CreateExecutionPlanResult();
explicit CreateExecutionPlanResult(const std::string &payload);
~CreateExecutionPlanResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEEXECUTIONPLANRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowCategoryRequest : public RpcServiceRequest
{
public:
CreateFlowCategoryRequest();
~CreateFlowCategoryRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getType()const;
void setType(const std::string& type);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getParentId()const;
void setParentId(const std::string& parentId);
private:
std::string regionId_;
std::string name_;
std::string type_;
std::string projectId_;
std::string parentId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowCategoryResult : public ServiceResult
{
public:
CreateFlowCategoryResult();
explicit CreateFlowCategoryResult(const std::string &payload);
~CreateFlowCategoryResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWCATEGORYRESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowForWebRequest : public RpcServiceRequest
{
public:
CreateFlowForWebRequest();
~CreateFlowForWebRequest();
std::string getCronExpr()const;
void setCronExpr(const std::string& cronExpr);
std::string getParentFlowList()const;
void setParentFlowList(const std::string& parentFlowList);
std::string getAlertDingDingGroupBizId()const;
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
long getStartSchedule()const;
void setStartSchedule(long startSchedule);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAlertUserGroupBizId()const;
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
std::string getGraph()const;
void setGraph(const std::string& graph);
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getCreateCluster()const;
void setCreateCluster(bool createCluster);
std::string getName()const;
void setName(const std::string& name);
long getEndSchedule()const;
void setEndSchedule(long endSchedule);
std::string getAlertConf()const;
void setAlertConf(const std::string& alertConf);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getParentCategory()const;
void setParentCategory(const std::string& parentCategory);
private:
std::string cronExpr_;
std::string parentFlowList_;
std::string alertDingDingGroupBizId_;
long startSchedule_;
std::string description_;
std::string clusterId_;
std::string alertUserGroupBizId_;
std::string graph_;
std::string hostName_;
std::string regionId_;
bool createCluster_;
std::string name_;
long endSchedule_;
std::string alertConf_;
std::string projectId_;
std::string parentCategory_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowForWebResult : public ServiceResult
{
public:
CreateFlowForWebResult();
explicit CreateFlowForWebResult(const std::string &payload);
~CreateFlowForWebResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWFORWEBRESULT_H_

View File

@@ -0,0 +1,107 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowJobRequest : public RpcServiceRequest
{
struct ResourceList
{
std::string path;
std::string alias;
};
public:
CreateFlowJobRequest();
~CreateFlowJobRequest();
std::string getRunConf()const;
void setRunConf(const std::string& runConf);
std::string getEnvConf()const;
void setEnvConf(const std::string& envConf);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getType()const;
void setType(const std::string& type);
std::string getParams()const;
void setParams(const std::string& params);
std::string getParamConf()const;
void setParamConf(const std::string& paramConf);
std::vector<ResourceList> getResourceList()const;
void setResourceList(const std::vector<ResourceList>& resourceList);
std::string getFailAct()const;
void setFailAct(const std::string& failAct);
std::string getMode()const;
void setMode(const std::string& mode);
long getRetryInterval()const;
void setRetryInterval(long retryInterval);
std::string getMonitorConf()const;
void setMonitorConf(const std::string& monitorConf);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
int getMaxRetry()const;
void setMaxRetry(int maxRetry);
bool getAdhoc()const;
void setAdhoc(bool adhoc);
std::string getAlertConf()const;
void setAlertConf(const std::string& alertConf);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getParentCategory()const;
void setParentCategory(const std::string& parentCategory);
private:
std::string runConf_;
std::string envConf_;
std::string description_;
std::string clusterId_;
std::string type_;
std::string params_;
std::string paramConf_;
std::vector<ResourceList> resourceList_;
std::string failAct_;
std::string mode_;
long retryInterval_;
std::string monitorConf_;
std::string regionId_;
std::string name_;
int maxRetry_;
bool adhoc_;
std::string alertConf_;
std::string projectId_;
std::string parentCategory_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowJobResult : public ServiceResult
{
public:
CreateFlowJobResult();
explicit CreateFlowJobResult(const std::string &payload);
~CreateFlowJobResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWJOBRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectClusterSettingRequest : public RpcServiceRequest
{
public:
CreateFlowProjectClusterSettingRequest();
~CreateFlowProjectClusterSettingRequest();
std::vector<std::string> getUserList()const;
void setUserList(const std::vector<std::string>& userList);
std::vector<std::string> getQueueList()const;
void setQueueList(const std::vector<std::string>& queueList);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getHostList()const;
void setHostList(const std::vector<std::string>& hostList);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getDefaultQueue()const;
void setDefaultQueue(const std::string& defaultQueue);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getDefaultUser()const;
void setDefaultUser(const std::string& defaultUser);
private:
std::vector<std::string> userList_;
std::vector<std::string> queueList_;
std::string regionId_;
std::vector<std::string> hostList_;
std::string clusterId_;
std::string defaultQueue_;
std::string projectId_;
std::string defaultUser_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectClusterSettingResult : public ServiceResult
{
public:
CreateFlowProjectClusterSettingResult();
explicit CreateFlowProjectClusterSettingResult(const std::string &payload);
~CreateFlowProjectClusterSettingResult();
bool getData()const;
protected:
void parse(const std::string &payload);
private:
bool data_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTCLUSTERSETTINGRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectRequest : public RpcServiceRequest
{
public:
CreateFlowProjectRequest();
~CreateFlowProjectRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getDescription()const;
void setDescription(const std::string& description);
private:
std::string regionId_;
std::string name_;
std::string description_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectResult : public ServiceResult
{
public:
CreateFlowProjectResult();
explicit CreateFlowProjectResult(const std::string &payload);
~CreateFlowProjectResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectUserRequest : public RpcServiceRequest
{
struct User
{
std::string userId;
std::string userName;
};
public:
CreateFlowProjectUserRequest();
~CreateFlowProjectUserRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::vector<User> getUser()const;
void setUser(const std::vector<User>& user);
private:
std::string regionId_;
std::string projectId_;
std::vector<User> user_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowProjectUserResult : public ServiceResult
{
public:
CreateFlowProjectUserResult();
explicit CreateFlowProjectUserResult(const std::string &payload);
~CreateFlowProjectUserResult();
bool getData()const;
protected:
void parse(const std::string &payload);
private:
bool data_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWPROJECTUSERRESULT_H_

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowRequest : public RpcServiceRequest
{
public:
CreateFlowRequest();
~CreateFlowRequest();
std::string getCronExpr()const;
void setCronExpr(const std::string& cronExpr);
std::string getParentFlowList()const;
void setParentFlowList(const std::string& parentFlowList);
std::string getAlertDingDingGroupBizId()const;
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
long getStartSchedule()const;
void setStartSchedule(long startSchedule);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAlertUserGroupBizId()const;
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
std::string getHostName()const;
void setHostName(const std::string& hostName);
std::string getApplication()const;
void setApplication(const std::string& application);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
bool getCreateCluster()const;
void setCreateCluster(bool createCluster);
std::string getName()const;
void setName(const std::string& name);
long getEndSchedule()const;
void setEndSchedule(long endSchedule);
std::string getAlertConf()const;
void setAlertConf(const std::string& alertConf);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getParentCategory()const;
void setParentCategory(const std::string& parentCategory);
private:
std::string cronExpr_;
std::string parentFlowList_;
std::string alertDingDingGroupBizId_;
long startSchedule_;
std::string description_;
std::string clusterId_;
std::string alertUserGroupBizId_;
std::string hostName_;
std::string application_;
std::string regionId_;
bool createCluster_;
std::string name_;
long endSchedule_;
std::string alertConf_;
std::string projectId_;
std::string parentCategory_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEFLOWRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEFLOWRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateFlowResult : public ServiceResult
{
public:
CreateFlowResult();
explicit CreateFlowResult(const std::string &payload);
~CreateFlowResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEFLOWRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateJobRequest : public RpcServiceRequest
{
public:
CreateJobRequest();
~CreateJobRequest();
std::string getRunParameter()const;
void setRunParameter(const std::string& runParameter);
int getRetryInterval()const;
void setRetryInterval(int retryInterval);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getType()const;
void setType(const std::string& type);
int getMaxRetry()const;
void setMaxRetry(int maxRetry);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getFailAct()const;
void setFailAct(const std::string& failAct);
private:
std::string runParameter_;
int retryInterval_;
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string type_;
int maxRetry_;
std::string accessKeyId_;
std::string failAct_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEJOBREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateJobResult : public ServiceResult
{
public:
CreateJobResult();
explicit CreateJobResult(const std::string &payload);
~CreateJobResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEJOBRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateNavNodeRequest : public RpcServiceRequest
{
public:
CreateNavNodeRequest();
~CreateNavNodeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getType()const;
void setType(const std::string& type);
std::string getProjectId()const;
void setProjectId(const std::string& projectId);
std::string getCategoryType()const;
void setCategoryType(const std::string& categoryType);
std::string getObjectId()const;
void setObjectId(const std::string& objectId);
std::string getParentId()const;
void setParentId(const std::string& parentId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string type_;
std::string projectId_;
std::string categoryType_;
std::string objectId_;
std::string parentId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENAVNODERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATENAVNODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateNavNodeResult : public ServiceResult
{
public:
CreateNavNodeResult();
explicit CreateNavNodeResult(const std::string &payload);
~CreateNavNodeResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENAVNODERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateNoteRequest : public RpcServiceRequest
{
public:
CreateNoteRequest();
~CreateNoteRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getType()const;
void setType(const std::string& type);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string name_;
std::string clusterId_;
std::string type_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENOTEREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateNoteResult : public ServiceResult
{
public:
CreateNoteResult();
explicit CreateNoteResult(const std::string &payload);
~CreateNoteResult();
std::string getId()const;
std::string getParagraph()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
std::string paragraph_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENOTERESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateParagraphRequest : public RpcServiceRequest
{
public:
CreateParagraphRequest();
~CreateParagraphRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getNoteId()const;
void setNoteId(const std::string& noteId);
std::string getText()const;
void setText(const std::string& text);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string noteId_;
std::string text_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateParagraphResult : public ServiceResult
{
public:
CreateParagraphResult();
explicit CreateParagraphResult(const std::string &payload);
~CreateParagraphResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEPARAGRAPHRESULT_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateResourcePoolRequest : public RpcServiceRequest
{
struct Config
{
std::string configKey;
std::string note;
std::string configType;
std::string targetId;
std::string configValue;
std::string category;
};
public:
CreateResourcePoolRequest();
~CreateResourcePoolRequest();
std::string getNote()const;
void setNote(const std::string& note);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
bool getActive()const;
void setActive(bool active);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getYarnSiteConfig()const;
void setYarnSiteConfig(const std::string& yarnSiteConfig);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPoolType()const;
void setPoolType(const std::string& poolType);
private:
std::string note_;
long resourceOwnerId_;
std::string regionId_;
std::string name_;
bool active_;
std::string clusterId_;
std::string yarnSiteConfig_;
std::vector<Config> config_;
std::string accessKeyId_;
std::string poolType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateResourcePoolResult : public ServiceResult
{
public:
CreateResourcePoolResult();
explicit CreateResourcePoolResult(const std::string &payload);
~CreateResourcePoolResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATERESOURCEPOOLRESULT_H_

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateResourceQueueRequest : public RpcServiceRequest
{
struct Config
{
std::string configKey;
std::string note;
std::string configValue;
std::string category;
};
public:
CreateResourceQueueRequest();
~CreateResourceQueueRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getParentQueueId()const;
void setParentQueueId(long parentQueueId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getName()const;
void setName(const std::string& name);
std::string getQualifiedName()const;
void setQualifiedName(const std::string& qualifiedName);
long getResourcePoolId()const;
void setResourcePoolId(long resourcePoolId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
bool getLeaf()const;
void setLeaf(bool leaf);
std::vector<Config> getConfig()const;
void setConfig(const std::vector<Config>& config);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
long parentQueueId_;
std::string regionId_;
std::string name_;
std::string qualifiedName_;
long resourcePoolId_;
std::string clusterId_;
bool leaf_;
std::vector<Config> config_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateResourceQueueResult : public ServiceResult
{
public:
CreateResourceQueueResult();
explicit CreateResourceQueueResult(const std::string &payload);
~CreateResourceQueueResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATERESOURCEQUEUERESULT_H_

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateScalingRuleRequest : public RpcServiceRequest
{
struct CloudWatchTrigger
{
int period;
std::string evaluationCount;
std::string threshold;
std::string metricName;
std::string comparisonOperator;
std::string statistics;
};
struct SchedulerTrigger
{
std::string launchTime;
int launchExpirationTime;
std::string recurrenceValue;
std::string recurrenceEndTime;
std::string recurrenceType;
};
public:
CreateScalingRuleRequest();
~CreateScalingRuleRequest();
std::string getLaunchTime()const;
void setLaunchTime(const std::string& launchTime);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRuleCategory()const;
void setRuleCategory(const std::string& ruleCategory);
int getAdjustmentValue()const;
void setAdjustmentValue(int adjustmentValue);
std::string getAdjustmentType()const;
void setAdjustmentType(const std::string& adjustmentType);
std::string getRuleName()const;
void setRuleName(const std::string& ruleName);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getLaunchExpirationTime()const;
void setLaunchExpirationTime(int launchExpirationTime);
std::string getRecurrenceValue()const;
void setRecurrenceValue(const std::string& recurrenceValue);
std::string getRecurrenceEndTime()const;
void setRecurrenceEndTime(const std::string& recurrenceEndTime);
std::vector<CloudWatchTrigger> getCloudWatchTrigger()const;
void setCloudWatchTrigger(const std::vector<CloudWatchTrigger>& cloudWatchTrigger);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHostGroupId()const;
void setHostGroupId(const std::string& hostGroupId);
std::vector<SchedulerTrigger> getSchedulerTrigger()const;
void setSchedulerTrigger(const std::vector<SchedulerTrigger>& schedulerTrigger);
int getCooldown()const;
void setCooldown(int cooldown);
std::string getRecurrenceType()const;
void setRecurrenceType(const std::string& recurrenceType);
private:
std::string launchTime_;
long resourceOwnerId_;
std::string ruleCategory_;
int adjustmentValue_;
std::string adjustmentType_;
std::string ruleName_;
std::string clusterId_;
int launchExpirationTime_;
std::string recurrenceValue_;
std::string recurrenceEndTime_;
std::vector<CloudWatchTrigger> cloudWatchTrigger_;
std::string accessKeyId_;
std::string regionId_;
std::string hostGroupId_;
std::vector<SchedulerTrigger> schedulerTrigger_;
int cooldown_;
std::string recurrenceType_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateScalingRuleResult : public ServiceResult
{
public:
CreateScalingRuleResult();
explicit CreateScalingRuleResult(const std::string &payload);
~CreateScalingRuleResult();
std::string getScalingRuleId()const;
protected:
void parse(const std::string &payload);
private:
std::string scalingRuleId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGRULERESULT_H_

View File

@@ -0,0 +1,113 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateScalingTaskGroupRequest : public RpcServiceRequest
{
struct SpotPriceLimits
{
std::string instanceType;
float priceLimit;
};
struct ScalingRule
{
std::string launchTime;
std::string ruleCategory;
int adjustmentValue;
RepeatList schedulerTrigger;
std::string adjustmentType;
int cooldown;
std::string ruleName;
int launchExpirationTime;
std::string recurrenceValue;
std::string recurrenceEndTime;
RepeatList cloudWatchTrigger;
std::string recurrenceType;
};
public:
CreateScalingTaskGroupRequest();
~CreateScalingTaskGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getDataDiskCategory()const;
void setDataDiskCategory(const std::string& dataDiskCategory);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getMinSize()const;
void setMinSize(int minSize);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSpotStrategy()const;
void setSpotStrategy(const std::string& spotStrategy);
int getDataDiskSize()const;
void setDataDiskSize(int dataDiskSize);
std::vector<SpotPriceLimits> getSpotPriceLimits()const;
void setSpotPriceLimits(const std::vector<SpotPriceLimits>& spotPriceLimits);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<ScalingRule> getScalingRule()const;
void setScalingRule(const std::vector<ScalingRule>& scalingRule);
std::string getActiveRuleCategory()const;
void setActiveRuleCategory(const std::string& activeRuleCategory);
int getMaxSize()const;
void setMaxSize(int maxSize);
int getDataDiskCount()const;
void setDataDiskCount(int dataDiskCount);
int getDefaultCooldown()const;
void setDefaultCooldown(int defaultCooldown);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::vector<std::string> getInstanceTypeList()const;
void setInstanceTypeList(const std::vector<std::string>& instanceTypeList);
private:
long resourceOwnerId_;
std::string dataDiskCategory_;
std::string clusterId_;
int minSize_;
std::string accessKeyId_;
std::string spotStrategy_;
int dataDiskSize_;
std::vector<SpotPriceLimits> spotPriceLimits_;
std::string regionId_;
std::vector<ScalingRule> scalingRule_;
std::string activeRuleCategory_;
int maxSize_;
int dataDiskCount_;
int defaultCooldown_;
std::string payType_;
std::vector<std::string> instanceTypeList_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateScalingTaskGroupResult : public ServiceResult
{
public:
CreateScalingTaskGroupResult();
explicit CreateScalingTaskGroupResult(const std::string &payload);
~CreateScalingTaskGroupResult();
std::string getHostGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string hostGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGTASKGROUPRESULT_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserPasswordRequest : public RpcServiceRequest
{
struct UserInfo
{
std::string type;
std::string groupName;
std::string userId;
std::string userName;
};
public:
CreateUserPasswordRequest();
~CreateUserPasswordRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPassword()const;
void setPassword(const std::string& password);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::vector<UserInfo> getUserInfo()const;
void setUserInfo(const std::vector<UserInfo>& userInfo);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string password_;
std::string regionId_;
std::string clusterId_;
std::vector<UserInfo> userInfo_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserPasswordResult : public ServiceResult
{
public:
CreateUserPasswordResult();
explicit CreateUserPasswordResult(const std::string &payload);
~CreateUserPasswordResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERPASSWORDRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserStatisticsRequest : public RpcServiceRequest
{
public:
CreateUserStatisticsRequest();
~CreateUserStatisticsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUserStatisticsResult : public ServiceResult
{
public:
CreateUserStatisticsResult();
explicit CreateUserStatisticsResult(const std::string &payload);
~CreateUserStatisticsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSTATISTICSRESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUsersRequest : public RpcServiceRequest
{
struct UserInfo
{
std::string type;
std::string userId;
std::string userName;
};
public:
CreateUsersRequest();
~CreateUsersRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::vector<UserInfo> getUserInfo()const;
void setUserInfo(const std::vector<UserInfo>& userInfo);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string clusterId_;
std::vector<UserInfo> userInfo_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateUsersResult : public ServiceResult
{
public:
CreateUsersResult();
explicit CreateUsersResult(const std::string &payload);
~CreateUsersResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateVerificationCodeRequest : public RpcServiceRequest
{
public:
CreateVerificationCodeRequest();
~CreateVerificationCodeRequest();
std::string getMode()const;
void setMode(const std::string& mode);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTarget()const;
void setTarget(const std::string& target);
private:
std::string mode_;
long resourceOwnerId_;
std::string regionId_;
std::string accessKeyId_;
std::string target_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_
#define ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT CreateVerificationCodeResult : public ServiceResult
{
public:
CreateVerificationCodeResult();
explicit CreateVerificationCodeResult(const std::string &payload);
~CreateVerificationCodeResult();
long getStatus()const;
protected:
void parse(const std::string &payload);
private:
long status_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertContactsRequest : public RpcServiceRequest
{
public:
DeleteAlertContactsRequest();
~DeleteAlertContactsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIds()const;
void setIds(const std::string& ids);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string ids_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertContactsResult : public ServiceResult
{
public:
DeleteAlertContactsResult();
explicit DeleteAlertContactsResult(const std::string &payload);
~DeleteAlertContactsResult();
bool getDone()const;
protected:
void parse(const std::string &payload);
private:
bool done_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTCONTACTSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertDingDingGroupsRequest : public RpcServiceRequest
{
public:
DeleteAlertDingDingGroupsRequest();
~DeleteAlertDingDingGroupsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIds()const;
void setIds(const std::string& ids);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string ids_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertDingDingGroupsResult : public ServiceResult
{
public:
DeleteAlertDingDingGroupsResult();
explicit DeleteAlertDingDingGroupsResult(const std::string &payload);
~DeleteAlertDingDingGroupsResult();
bool getDone()const;
protected:
void parse(const std::string &payload);
private:
bool done_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTDINGDINGGROUPSRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertUserGroupsRequest : public RpcServiceRequest
{
public:
DeleteAlertUserGroupsRequest();
~DeleteAlertUserGroupsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIds()const;
void setIds(const std::string& ids);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string ids_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteAlertUserGroupsResult : public ServiceResult
{
public:
DeleteAlertUserGroupsResult();
explicit DeleteAlertUserGroupsResult(const std::string &payload);
~DeleteAlertUserGroupsResult();
bool getDone()const;
protected:
void parse(const std::string &payload);
private:
bool done_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEALERTUSERGROUPSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_
#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteClusterHostGroupRequest : public RpcServiceRequest
{
public:
DeleteClusterHostGroupRequest();
~DeleteClusterHostGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getHostGroupId()const;
void setHostGroupId(const std::string& hostGroupId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string regionId_;
std::string hostGroupId_;
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_
#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/emr/EmrExport.h>
namespace AlibabaCloud
{
namespace Emr
{
namespace Model
{
class ALIBABACLOUD_EMR_EXPORT DeleteClusterHostGroupResult : public ServiceResult
{
public:
DeleteClusterHostGroupResult();
explicit DeleteClusterHostGroupResult(const std::string &payload);
~DeleteClusterHostGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EMR_MODEL_DELETECLUSTERHOSTGROUPRESULT_H_

Some files were not shown because too many files have changed in this diff Show More