Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2a6631ce12 | ||
|
|
639137bd27 | ||
|
|
8a601bc5ae | ||
|
|
0a08e77127 | ||
|
|
46971a81db | ||
|
|
5bde791941 | ||
|
|
0793ffd5d4 | ||
|
|
92791badbf | ||
|
|
fbd8bebfed | ||
|
|
15efd0abf3 | ||
|
|
ec2fdb4ecb |
33
CHANGELOG
33
CHANGELOG
@@ -1,3 +1,36 @@
|
|||||||
|
2020-12-25 Version: patch
|
||||||
|
- Generated 2016-04-08 for `Emr`.
|
||||||
|
|
||||||
|
2020-12-25 Version: patch
|
||||||
|
- Supported for weboffice edit.
|
||||||
|
|
||||||
|
2020-12-24 Version: patch
|
||||||
|
- Modify ConfigureBackupPlan.
|
||||||
|
|
||||||
|
2020-12-24 Version: patch
|
||||||
|
- Update Open API.
|
||||||
|
|
||||||
|
2020-12-23 Version: patch
|
||||||
|
- CDRS First edition.
|
||||||
|
|
||||||
|
2020-12-23 Version: patch
|
||||||
|
- Add 2019 openapi.
|
||||||
|
|
||||||
|
2020-12-23 Version: patch
|
||||||
|
- Release DetectPedestrianIntrusion.
|
||||||
|
|
||||||
|
2020-12-23 Version: patch
|
||||||
|
- Create Lindorm Open api.
|
||||||
|
|
||||||
|
2020-12-23 Version: patch
|
||||||
|
- Create TSDB Open api.
|
||||||
|
|
||||||
|
2020-12-22 Version: patch
|
||||||
|
- Minor chagnes.
|
||||||
|
|
||||||
|
2020-12-22 Version: patch
|
||||||
|
- Update SegmentAnimal SegmentCommonImage.
|
||||||
|
|
||||||
2020-12-22 Version: patch
|
2020-12-22 Version: patch
|
||||||
- Support SLB latest OpenAPIs.
|
- Support SLB latest OpenAPIs.
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,10 @@ set(cdrs_public_header
|
|||||||
include/alibabacloud/cdrs/CDRSExport.h )
|
include/alibabacloud/cdrs/CDRSExport.h )
|
||||||
|
|
||||||
set(cdrs_public_header_model
|
set(cdrs_public_header_model
|
||||||
|
include/alibabacloud/cdrs/model/BindDeviceRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/BindDeviceResult.h
|
||||||
|
include/alibabacloud/cdrs/model/CreateProjectRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/CreateProjectResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
|
include/alibabacloud/cdrs/model/ListCityMapAoisRequest.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
|
include/alibabacloud/cdrs/model/ListCityMapAoisResult.h
|
||||||
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
|
include/alibabacloud/cdrs/model/ListCityMapCameraResultsRequest.h
|
||||||
@@ -76,10 +80,18 @@ set(cdrs_public_header_model
|
|||||||
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
|
include/alibabacloud/cdrs/model/RecognizeImageRequest.h
|
||||||
include/alibabacloud/cdrs/model/RecognizeImageResult.h
|
include/alibabacloud/cdrs/model/RecognizeImageResult.h
|
||||||
include/alibabacloud/cdrs/model/SearchObjectRequest.h
|
include/alibabacloud/cdrs/model/SearchObjectRequest.h
|
||||||
include/alibabacloud/cdrs/model/SearchObjectResult.h )
|
include/alibabacloud/cdrs/model/SearchObjectResult.h
|
||||||
|
include/alibabacloud/cdrs/model/UnbindDeviceRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/UnbindDeviceResult.h
|
||||||
|
include/alibabacloud/cdrs/model/UpdateProjectRequest.h
|
||||||
|
include/alibabacloud/cdrs/model/UpdateProjectResult.h )
|
||||||
|
|
||||||
set(cdrs_src
|
set(cdrs_src
|
||||||
src/CDRSClient.cc
|
src/CDRSClient.cc
|
||||||
|
src/model/BindDeviceRequest.cc
|
||||||
|
src/model/BindDeviceResult.cc
|
||||||
|
src/model/CreateProjectRequest.cc
|
||||||
|
src/model/CreateProjectResult.cc
|
||||||
src/model/ListCityMapAoisRequest.cc
|
src/model/ListCityMapAoisRequest.cc
|
||||||
src/model/ListCityMapAoisResult.cc
|
src/model/ListCityMapAoisResult.cc
|
||||||
src/model/ListCityMapCameraResultsRequest.cc
|
src/model/ListCityMapCameraResultsRequest.cc
|
||||||
@@ -135,7 +147,11 @@ set(cdrs_src
|
|||||||
src/model/RecognizeImageRequest.cc
|
src/model/RecognizeImageRequest.cc
|
||||||
src/model/RecognizeImageResult.cc
|
src/model/RecognizeImageResult.cc
|
||||||
src/model/SearchObjectRequest.cc
|
src/model/SearchObjectRequest.cc
|
||||||
src/model/SearchObjectResult.cc )
|
src/model/SearchObjectResult.cc
|
||||||
|
src/model/UnbindDeviceRequest.cc
|
||||||
|
src/model/UnbindDeviceResult.cc
|
||||||
|
src/model/UpdateProjectRequest.cc
|
||||||
|
src/model/UpdateProjectResult.cc )
|
||||||
|
|
||||||
add_library(cdrs ${LIB_TYPE}
|
add_library(cdrs ${LIB_TYPE}
|
||||||
${cdrs_public_header}
|
${cdrs_public_header}
|
||||||
|
|||||||
@@ -22,6 +22,10 @@
|
|||||||
#include <alibabacloud/core/EndpointProvider.h>
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
#include <alibabacloud/core/RpcServiceClient.h>
|
#include <alibabacloud/core/RpcServiceClient.h>
|
||||||
#include "CDRSExport.h"
|
#include "CDRSExport.h"
|
||||||
|
#include "model/BindDeviceRequest.h"
|
||||||
|
#include "model/BindDeviceResult.h"
|
||||||
|
#include "model/CreateProjectRequest.h"
|
||||||
|
#include "model/CreateProjectResult.h"
|
||||||
#include "model/ListCityMapAoisRequest.h"
|
#include "model/ListCityMapAoisRequest.h"
|
||||||
#include "model/ListCityMapAoisResult.h"
|
#include "model/ListCityMapAoisResult.h"
|
||||||
#include "model/ListCityMapCameraResultsRequest.h"
|
#include "model/ListCityMapCameraResultsRequest.h"
|
||||||
@@ -78,6 +82,10 @@
|
|||||||
#include "model/RecognizeImageResult.h"
|
#include "model/RecognizeImageResult.h"
|
||||||
#include "model/SearchObjectRequest.h"
|
#include "model/SearchObjectRequest.h"
|
||||||
#include "model/SearchObjectResult.h"
|
#include "model/SearchObjectResult.h"
|
||||||
|
#include "model/UnbindDeviceRequest.h"
|
||||||
|
#include "model/UnbindDeviceResult.h"
|
||||||
|
#include "model/UpdateProjectRequest.h"
|
||||||
|
#include "model/UpdateProjectResult.h"
|
||||||
|
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
@@ -87,6 +95,12 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_CDRS_EXPORT CDRSClient : public RpcServiceClient
|
class ALIBABACLOUD_CDRS_EXPORT CDRSClient : public RpcServiceClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef Outcome<Error, Model::BindDeviceResult> BindDeviceOutcome;
|
||||||
|
typedef std::future<BindDeviceOutcome> BindDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::BindDeviceRequest&, const BindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||||
|
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListCityMapAoisResult> ListCityMapAoisOutcome;
|
typedef Outcome<Error, Model::ListCityMapAoisResult> ListCityMapAoisOutcome;
|
||||||
typedef std::future<ListCityMapAoisOutcome> ListCityMapAoisOutcomeCallable;
|
typedef std::future<ListCityMapAoisOutcome> ListCityMapAoisOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::ListCityMapAoisRequest&, const ListCityMapAoisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapAoisAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::ListCityMapAoisRequest&, const ListCityMapAoisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCityMapAoisAsyncHandler;
|
||||||
@@ -171,11 +185,23 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::SearchObjectResult> SearchObjectOutcome;
|
typedef Outcome<Error, Model::SearchObjectResult> SearchObjectOutcome;
|
||||||
typedef std::future<SearchObjectOutcome> SearchObjectOutcomeCallable;
|
typedef std::future<SearchObjectOutcome> SearchObjectOutcomeCallable;
|
||||||
typedef std::function<void(const CDRSClient*, const Model::SearchObjectRequest&, const SearchObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchObjectAsyncHandler;
|
typedef std::function<void(const CDRSClient*, const Model::SearchObjectRequest&, const SearchObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchObjectAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UnbindDeviceResult> UnbindDeviceOutcome;
|
||||||
|
typedef std::future<UnbindDeviceOutcome> UnbindDeviceOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::UnbindDeviceRequest&, const UnbindDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindDeviceAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||||
|
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||||
|
typedef std::function<void(const CDRSClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||||
|
|
||||||
CDRSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
CDRSClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||||
CDRSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
CDRSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
CDRSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
CDRSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
~CDRSClient();
|
~CDRSClient();
|
||||||
|
BindDeviceOutcome bindDevice(const Model::BindDeviceRequest &request)const;
|
||||||
|
void bindDeviceAsync(const Model::BindDeviceRequest& request, const BindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
BindDeviceOutcomeCallable bindDeviceCallable(const Model::BindDeviceRequest& request) const;
|
||||||
|
CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const;
|
||||||
|
void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||||
ListCityMapAoisOutcome listCityMapAois(const Model::ListCityMapAoisRequest &request)const;
|
ListCityMapAoisOutcome listCityMapAois(const Model::ListCityMapAoisRequest &request)const;
|
||||||
void listCityMapAoisAsync(const Model::ListCityMapAoisRequest& request, const ListCityMapAoisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listCityMapAoisAsync(const Model::ListCityMapAoisRequest& request, const ListCityMapAoisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListCityMapAoisOutcomeCallable listCityMapAoisCallable(const Model::ListCityMapAoisRequest& request) const;
|
ListCityMapAoisOutcomeCallable listCityMapAoisCallable(const Model::ListCityMapAoisRequest& request) const;
|
||||||
@@ -260,6 +286,12 @@ namespace AlibabaCloud
|
|||||||
SearchObjectOutcome searchObject(const Model::SearchObjectRequest &request)const;
|
SearchObjectOutcome searchObject(const Model::SearchObjectRequest &request)const;
|
||||||
void searchObjectAsync(const Model::SearchObjectRequest& request, const SearchObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void searchObjectAsync(const Model::SearchObjectRequest& request, const SearchObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
SearchObjectOutcomeCallable searchObjectCallable(const Model::SearchObjectRequest& request) const;
|
SearchObjectOutcomeCallable searchObjectCallable(const Model::SearchObjectRequest& request) const;
|
||||||
|
UnbindDeviceOutcome unbindDevice(const Model::UnbindDeviceRequest &request)const;
|
||||||
|
void unbindDeviceAsync(const Model::UnbindDeviceRequest& request, const UnbindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UnbindDeviceOutcomeCallable unbindDeviceCallable(const Model::UnbindDeviceRequest& request) const;
|
||||||
|
UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const;
|
||||||
|
void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||||
|
|||||||
63
cdrs/include/alibabacloud/cdrs/model/BindDeviceRequest.h
Normal file
63
cdrs/include/alibabacloud/cdrs/model/BindDeviceRequest.h
Normal 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_CDRS_MODEL_BINDDEVICEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CDRS_MODEL_BINDDEVICEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace CDRS
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CDRS_EXPORT BindDeviceRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Devices
|
||||||
|
{
|
||||||
|
std::string corpId;
|
||||||
|
std::string deviceId;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
BindDeviceRequest();
|
||||||
|
~BindDeviceRequest();
|
||||||
|
|
||||||
|
std::string getCorpId()const;
|
||||||
|
void setCorpId(const std::string& corpId);
|
||||||
|
std::vector<Devices> getDevices()const;
|
||||||
|
void setDevices(const std::vector<Devices>& devices);
|
||||||
|
std::string getAppName()const;
|
||||||
|
void setAppName(const std::string& appName);
|
||||||
|
std::string get_NameSpace()const;
|
||||||
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string corpId_;
|
||||||
|
std::vector<Devices> devices_;
|
||||||
|
std::string appName_;
|
||||||
|
std::string _nameSpace_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CDRS_MODEL_BINDDEVICEREQUEST_H_
|
||||||
@@ -14,36 +14,49 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHRESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHRESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT DeleteParagraphResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT BindDeviceResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
struct Datas
|
||||||
|
{
|
||||||
|
std::string message;
|
||||||
|
std::string deviceId;
|
||||||
|
std::string code;
|
||||||
|
bool success;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
DeleteParagraphResult();
|
BindDeviceResult();
|
||||||
explicit DeleteParagraphResult(const std::string &payload);
|
explicit BindDeviceResult(const std::string &payload);
|
||||||
~DeleteParagraphResult();
|
~BindDeviceResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::vector<Datas> getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::vector<Datas> data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHRESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_BINDDEVICERESULT_H_
|
||||||
@@ -14,50 +14,50 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT CreateAlertDingDingGroupRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT CreateProjectRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CreateAlertDingDingGroupRequest();
|
CreateProjectRequest();
|
||||||
~CreateAlertDingDingGroupRequest();
|
~CreateProjectRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
std::string getClientToken()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setClientToken(const std::string& clientToken);
|
||||||
std::string getRegionId()const;
|
std::string getIcon()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setIcon(const std::string& icon);
|
||||||
std::string getName()const;
|
|
||||||
void setName(const std::string& name);
|
|
||||||
std::string getDescription()const;
|
std::string getDescription()const;
|
||||||
void setDescription(const std::string& description);
|
void setDescription(const std::string& description);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAppName()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAppName(const std::string& appName);
|
||||||
std::string getWebHookUrl()const;
|
std::string get_NameSpace()const;
|
||||||
void setWebHookUrl(const std::string& webHookUrl);
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
std::string clientToken_;
|
||||||
std::string regionId_;
|
std::string icon_;
|
||||||
std::string name_;
|
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string accessKeyId_;
|
std::string appName_;
|
||||||
std::string webHookUrl_;
|
std::string _nameSpace_;
|
||||||
|
std::string name_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTDINGDINGGROUPREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTREQUEST_H_
|
||||||
@@ -14,36 +14,42 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLRESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTRESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLRESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT DeleteHostPoolResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT CreateProjectResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
DeleteHostPoolResult();
|
CreateProjectResult();
|
||||||
explicit DeleteHostPoolResult(const std::string &payload);
|
explicit CreateProjectResult(const std::string &payload);
|
||||||
~DeleteHostPoolResult();
|
~CreateProjectResult();
|
||||||
|
std::string getCorpId()const;
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string corpId_;
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEHOSTPOOLRESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_CREATEPROJECTRESULT_H_
|
||||||
@@ -14,44 +14,44 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_GETBACKUPINFOREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICEREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_GETBACKUPINFOREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICEREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT GetBackupInfoRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT UnbindDeviceRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GetBackupInfoRequest();
|
UnbindDeviceRequest();
|
||||||
~GetBackupInfoRequest();
|
~UnbindDeviceRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
std::string getDeviceIds()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setDeviceIds(const std::string& deviceIds);
|
||||||
std::string getAccessKeyId()const;
|
std::string getCorpId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getRegionId()const;
|
std::string getAppName()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setAppName(const std::string& appName);
|
||||||
std::string getBackupId()const;
|
std::string get_NameSpace()const;
|
||||||
void setBackupId(const std::string& backupId);
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
std::string deviceIds_;
|
||||||
std::string accessKeyId_;
|
std::string corpId_;
|
||||||
std::string regionId_;
|
std::string appName_;
|
||||||
std::string backupId_;
|
std::string _nameSpace_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_GETBACKUPINFOREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICEREQUEST_H_
|
||||||
@@ -14,48 +14,49 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICERESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICERESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT QueryUserPoliciesResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT UnbindDeviceResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct PolicyDTO
|
struct Datas
|
||||||
{
|
{
|
||||||
std::string gmtCreate;
|
std::string message;
|
||||||
std::string action;
|
std::string deviceId;
|
||||||
std::string effect;
|
std::string code;
|
||||||
std::string conditions;
|
bool success;
|
||||||
std::string name;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
QueryUserPoliciesResult();
|
UnbindDeviceResult();
|
||||||
explicit QueryUserPoliciesResult(const std::string &payload);
|
explicit UnbindDeviceResult(const std::string &payload);
|
||||||
~QueryUserPoliciesResult();
|
~UnbindDeviceResult();
|
||||||
bool getPaging()const;
|
std::string getMessage()const;
|
||||||
std::vector<PolicyDTO> getData()const;
|
std::vector<Datas> getData()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
bool paging_;
|
std::string message_;
|
||||||
std::vector<PolicyDTO> data_;
|
std::vector<Datas> data_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_QUERYUSERPOLICIESRESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_UNBINDDEVICERESULT_H_
|
||||||
@@ -14,50 +14,50 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLREQUEST_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLREQUEST_H_
|
#define ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
#include <alibabacloud/emr/EmrExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Emr
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT ModifyHostPoolRequest : public RpcServiceRequest
|
class ALIBABACLOUD_CDRS_EXPORT UpdateProjectRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ModifyHostPoolRequest();
|
UpdateProjectRequest();
|
||||||
~ModifyHostPoolRequest();
|
~UpdateProjectRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
std::string getCorpId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setCorpId(const std::string& corpId);
|
||||||
std::string getRegionId()const;
|
std::string getIcon()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setIcon(const std::string& icon);
|
||||||
std::string getName()const;
|
std::string getDescription()const;
|
||||||
void setName(const std::string& name);
|
void setDescription(const std::string& description);
|
||||||
std::string getBizId()const;
|
std::string getAppName()const;
|
||||||
void setBizId(const std::string& bizId);
|
void setAppName(const std::string& appName);
|
||||||
std::string getDescription()const;
|
std::string get_NameSpace()const;
|
||||||
void setDescription(const std::string& description);
|
void set_NameSpace(const std::string& _nameSpace);
|
||||||
std::string getAccessKeyId()const;
|
std::string getName()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setName(const std::string& name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
std::string corpId_;
|
||||||
std::string regionId_;
|
std::string icon_;
|
||||||
std::string name_;
|
std::string description_;
|
||||||
std::string bizId_;
|
std::string appName_;
|
||||||
std::string description_;
|
std::string _nameSpace_;
|
||||||
std::string accessKeyId_;
|
std::string name_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYHOSTPOOLREQUEST_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTREQUEST_H_
|
||||||
@@ -14,36 +14,40 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
#ifndef ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTRESULT_H_
|
||||||
#define ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
#define ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <alibabacloud/core/ServiceResult.h>
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
#include <alibabacloud/hitsdb/HitsdbExport.h>
|
#include <alibabacloud/cdrs/CDRSExport.h>
|
||||||
|
|
||||||
namespace AlibabaCloud
|
namespace AlibabaCloud
|
||||||
{
|
{
|
||||||
namespace Hitsdb
|
namespace CDRS
|
||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_HITSDB_EXPORT RestartHiTSDBInstanceResult : public ServiceResult
|
class ALIBABACLOUD_CDRS_EXPORT UpdateProjectResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
RestartHiTSDBInstanceResult();
|
UpdateProjectResult();
|
||||||
explicit RestartHiTSDBInstanceResult(const std::string &payload);
|
explicit UpdateProjectResult(const std::string &payload);
|
||||||
~RestartHiTSDBInstanceResult();
|
~UpdateProjectResult();
|
||||||
|
std::string getMessage()const;
|
||||||
|
std::string getCode()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
|
std::string message_;
|
||||||
|
std::string code_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_HITSDB_MODEL_RESTARTHITSDBINSTANCERESULT_H_
|
#endif // !ALIBABACLOUD_CDRS_MODEL_UPDATEPROJECTRESULT_H_
|
||||||
@@ -51,6 +51,78 @@ CDRSClient::CDRSClient(const std::string & accessKeyId, const std::string & acce
|
|||||||
CDRSClient::~CDRSClient()
|
CDRSClient::~CDRSClient()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
CDRSClient::BindDeviceOutcome CDRSClient::bindDevice(const BindDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return BindDeviceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return BindDeviceOutcome(BindDeviceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return BindDeviceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CDRSClient::bindDeviceAsync(const BindDeviceRequest& request, const BindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, bindDevice(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::BindDeviceOutcomeCallable CDRSClient::bindDeviceCallable(const BindDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<BindDeviceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->bindDevice(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::CreateProjectOutcome CDRSClient::createProject(const CreateProjectRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateProjectOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateProjectOutcome(CreateProjectResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateProjectOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CDRSClient::createProjectAsync(const CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createProject(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::CreateProjectOutcomeCallable CDRSClient::createProjectCallable(const CreateProjectRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateProjectOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createProject(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CDRSClient::ListCityMapAoisOutcome CDRSClient::listCityMapAois(const ListCityMapAoisRequest &request) const
|
CDRSClient::ListCityMapAoisOutcome CDRSClient::listCityMapAois(const ListCityMapAoisRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -1059,3 +1131,75 @@ CDRSClient::SearchObjectOutcomeCallable CDRSClient::searchObjectCallable(const S
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CDRSClient::UnbindDeviceOutcome CDRSClient::unbindDevice(const UnbindDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UnbindDeviceOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UnbindDeviceOutcome(UnbindDeviceResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UnbindDeviceOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CDRSClient::unbindDeviceAsync(const UnbindDeviceRequest& request, const UnbindDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, unbindDevice(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::UnbindDeviceOutcomeCallable CDRSClient::unbindDeviceCallable(const UnbindDeviceRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UnbindDeviceOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->unbindDevice(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::UpdateProjectOutcome CDRSClient::updateProject(const UpdateProjectRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return UpdateProjectOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return UpdateProjectOutcome(UpdateProjectResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return UpdateProjectOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CDRSClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, updateProject(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CDRSClient::UpdateProjectOutcomeCallable CDRSClient::updateProjectCallable(const UpdateProjectRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<UpdateProjectOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->updateProject(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
78
cdrs/src/model/BindDeviceRequest.cc
Normal file
78
cdrs/src/model/BindDeviceRequest.cc
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/BindDeviceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::CDRS::Model::BindDeviceRequest;
|
||||||
|
|
||||||
|
BindDeviceRequest::BindDeviceRequest() :
|
||||||
|
RpcServiceRequest("cdrs", "2020-11-01", "BindDevice")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
BindDeviceRequest::~BindDeviceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string BindDeviceRequest::getCorpId()const
|
||||||
|
{
|
||||||
|
return corpId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BindDeviceRequest::setCorpId(const std::string& corpId)
|
||||||
|
{
|
||||||
|
corpId_ = corpId;
|
||||||
|
setBodyParameter("CorpId", corpId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<BindDeviceRequest::Devices> BindDeviceRequest::getDevices()const
|
||||||
|
{
|
||||||
|
return devices_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BindDeviceRequest::setDevices(const std::vector<Devices>& devices)
|
||||||
|
{
|
||||||
|
devices_ = devices;
|
||||||
|
for(int dep1 = 0; dep1!= devices.size(); dep1++) {
|
||||||
|
auto devicesObj = devices.at(dep1);
|
||||||
|
std::string devicesObjStr = "Devices." + std::to_string(dep1 + 1);
|
||||||
|
setParameter(devicesObjStr + ".CorpId", devicesObj.corpId);
|
||||||
|
setParameter(devicesObjStr + ".DeviceId", devicesObj.deviceId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string BindDeviceRequest::getAppName()const
|
||||||
|
{
|
||||||
|
return appName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BindDeviceRequest::setAppName(const std::string& appName)
|
||||||
|
{
|
||||||
|
appName_ = appName;
|
||||||
|
setBodyParameter("AppName", appName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string BindDeviceRequest::get_NameSpace()const
|
||||||
|
{
|
||||||
|
return _nameSpace_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BindDeviceRequest::set_NameSpace(const std::string& _nameSpace)
|
||||||
|
{
|
||||||
|
_nameSpace_ = _nameSpace;
|
||||||
|
setBodyParameter("_NameSpace", _nameSpace);
|
||||||
|
}
|
||||||
|
|
||||||
77
cdrs/src/model/BindDeviceResult.cc
Normal file
77
cdrs/src/model/BindDeviceResult.cc
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/BindDeviceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::CDRS;
|
||||||
|
using namespace AlibabaCloud::CDRS::Model;
|
||||||
|
|
||||||
|
BindDeviceResult::BindDeviceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
BindDeviceResult::BindDeviceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
BindDeviceResult::~BindDeviceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void BindDeviceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDataNode = value["Data"]["Datas"];
|
||||||
|
for (auto valueDataDatas : allDataNode)
|
||||||
|
{
|
||||||
|
Datas dataObject;
|
||||||
|
if(!valueDataDatas["Success"].isNull())
|
||||||
|
dataObject.success = valueDataDatas["Success"].asString() == "true";
|
||||||
|
if(!valueDataDatas["Code"].isNull())
|
||||||
|
dataObject.code = valueDataDatas["Code"].asString();
|
||||||
|
if(!valueDataDatas["Message"].isNull())
|
||||||
|
dataObject.message = valueDataDatas["Message"].asString();
|
||||||
|
if(!valueDataDatas["DeviceId"].isNull())
|
||||||
|
dataObject.deviceId = valueDataDatas["DeviceId"].asString();
|
||||||
|
data_.push_back(dataObject);
|
||||||
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string BindDeviceResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<BindDeviceResult::Datas> BindDeviceResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string BindDeviceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
95
cdrs/src/model/CreateProjectRequest.cc
Normal file
95
cdrs/src/model/CreateProjectRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/CreateProjectRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::CDRS::Model::CreateProjectRequest;
|
||||||
|
|
||||||
|
CreateProjectRequest::CreateProjectRequest() :
|
||||||
|
RpcServiceRequest("cdrs", "2020-11-01", "CreateProject")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateProjectRequest::~CreateProjectRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setBodyParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::getIcon()const
|
||||||
|
{
|
||||||
|
return icon_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::setIcon(const std::string& icon)
|
||||||
|
{
|
||||||
|
icon_ = icon;
|
||||||
|
setBodyParameter("Icon", icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::getDescription()const
|
||||||
|
{
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::setDescription(const std::string& description)
|
||||||
|
{
|
||||||
|
description_ = description;
|
||||||
|
setBodyParameter("Description", description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::getAppName()const
|
||||||
|
{
|
||||||
|
return appName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::setAppName(const std::string& appName)
|
||||||
|
{
|
||||||
|
appName_ = appName;
|
||||||
|
setBodyParameter("AppName", appName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::get_NameSpace()const
|
||||||
|
{
|
||||||
|
return _nameSpace_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::set_NameSpace(const std::string& _nameSpace)
|
||||||
|
{
|
||||||
|
_nameSpace_ = _nameSpace;
|
||||||
|
setBodyParameter("_NameSpace", _nameSpace);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectRequest::getName()const
|
||||||
|
{
|
||||||
|
return name_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProjectRequest::setName(const std::string& name)
|
||||||
|
{
|
||||||
|
name_ = name;
|
||||||
|
setBodyParameter("Name", name);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,45 +14,52 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/emr/model/DeleteResourceUserResult.h>
|
#include <alibabacloud/cdrs/model/CreateProjectResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::Emr;
|
using namespace AlibabaCloud::CDRS;
|
||||||
using namespace AlibabaCloud::Emr::Model;
|
using namespace AlibabaCloud::CDRS::Model;
|
||||||
|
|
||||||
DeleteResourceUserResult::DeleteResourceUserResult() :
|
CreateProjectResult::CreateProjectResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
DeleteResourceUserResult::DeleteResourceUserResult(const std::string &payload) :
|
CreateProjectResult::CreateProjectResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
DeleteResourceUserResult::~DeleteResourceUserResult()
|
CreateProjectResult::~CreateProjectResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void DeleteResourceUserResult::parse(const std::string &payload)
|
void CreateProjectResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
if(!value["Paging"].isNull())
|
if(!value["Code"].isNull())
|
||||||
paging_ = value["Paging"].asString() == "true";
|
code_ = value["Code"].asString();
|
||||||
if(!value["Data"].isNull())
|
if(!value["Message"].isNull())
|
||||||
data_ = value["Data"].asString() == "true";
|
message_ = value["Message"].asString();
|
||||||
|
if(!value["CorpId"].isNull())
|
||||||
|
corpId_ = value["CorpId"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DeleteResourceUserResult::getPaging()const
|
std::string CreateProjectResult::getCorpId()const
|
||||||
{
|
{
|
||||||
return paging_;
|
return corpId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DeleteResourceUserResult::getData()const
|
std::string CreateProjectResult::getMessage()const
|
||||||
{
|
{
|
||||||
return data_;
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProjectResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
}
|
}
|
||||||
|
|
||||||
73
cdrs/src/model/UnbindDeviceRequest.cc
Normal file
73
cdrs/src/model/UnbindDeviceRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/UnbindDeviceRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::CDRS::Model::UnbindDeviceRequest;
|
||||||
|
|
||||||
|
UnbindDeviceRequest::UnbindDeviceRequest() :
|
||||||
|
RpcServiceRequest("cdrs", "2020-11-01", "UnbindDevice")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnbindDeviceRequest::~UnbindDeviceRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UnbindDeviceRequest::getDeviceIds()const
|
||||||
|
{
|
||||||
|
return deviceIds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnbindDeviceRequest::setDeviceIds(const std::string& deviceIds)
|
||||||
|
{
|
||||||
|
deviceIds_ = deviceIds;
|
||||||
|
setBodyParameter("DeviceIds", deviceIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnbindDeviceRequest::getCorpId()const
|
||||||
|
{
|
||||||
|
return corpId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnbindDeviceRequest::setCorpId(const std::string& corpId)
|
||||||
|
{
|
||||||
|
corpId_ = corpId;
|
||||||
|
setBodyParameter("CorpId", corpId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnbindDeviceRequest::getAppName()const
|
||||||
|
{
|
||||||
|
return appName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnbindDeviceRequest::setAppName(const std::string& appName)
|
||||||
|
{
|
||||||
|
appName_ = appName;
|
||||||
|
setBodyParameter("AppName", appName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnbindDeviceRequest::get_NameSpace()const
|
||||||
|
{
|
||||||
|
return _nameSpace_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UnbindDeviceRequest::set_NameSpace(const std::string& _nameSpace)
|
||||||
|
{
|
||||||
|
_nameSpace_ = _nameSpace;
|
||||||
|
setBodyParameter("_NameSpace", _nameSpace);
|
||||||
|
}
|
||||||
|
|
||||||
77
cdrs/src/model/UnbindDeviceResult.cc
Normal file
77
cdrs/src/model/UnbindDeviceResult.cc
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/UnbindDeviceResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::CDRS;
|
||||||
|
using namespace AlibabaCloud::CDRS::Model;
|
||||||
|
|
||||||
|
UnbindDeviceResult::UnbindDeviceResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
UnbindDeviceResult::UnbindDeviceResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
UnbindDeviceResult::~UnbindDeviceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void UnbindDeviceResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDataNode = value["Data"]["Datas"];
|
||||||
|
for (auto valueDataDatas : allDataNode)
|
||||||
|
{
|
||||||
|
Datas dataObject;
|
||||||
|
if(!valueDataDatas["Success"].isNull())
|
||||||
|
dataObject.success = valueDataDatas["Success"].asString() == "true";
|
||||||
|
if(!valueDataDatas["Code"].isNull())
|
||||||
|
dataObject.code = valueDataDatas["Code"].asString();
|
||||||
|
if(!valueDataDatas["Message"].isNull())
|
||||||
|
dataObject.message = valueDataDatas["Message"].asString();
|
||||||
|
if(!valueDataDatas["DeviceId"].isNull())
|
||||||
|
dataObject.deviceId = valueDataDatas["DeviceId"].asString();
|
||||||
|
data_.push_back(dataObject);
|
||||||
|
}
|
||||||
|
if(!value["Code"].isNull())
|
||||||
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnbindDeviceResult::getMessage()const
|
||||||
|
{
|
||||||
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<UnbindDeviceResult::Datas> UnbindDeviceResult::getData()const
|
||||||
|
{
|
||||||
|
return data_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UnbindDeviceResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
|
}
|
||||||
|
|
||||||
95
cdrs/src/model/UpdateProjectRequest.cc
Normal file
95
cdrs/src/model/UpdateProjectRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/cdrs/model/UpdateProjectRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::CDRS::Model::UpdateProjectRequest;
|
||||||
|
|
||||||
|
UpdateProjectRequest::UpdateProjectRequest() :
|
||||||
|
RpcServiceRequest("cdrs", "2020-11-01", "UpdateProject")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateProjectRequest::~UpdateProjectRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::getCorpId()const
|
||||||
|
{
|
||||||
|
return corpId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::setCorpId(const std::string& corpId)
|
||||||
|
{
|
||||||
|
corpId_ = corpId;
|
||||||
|
setBodyParameter("CorpId", corpId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::getIcon()const
|
||||||
|
{
|
||||||
|
return icon_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::setIcon(const std::string& icon)
|
||||||
|
{
|
||||||
|
icon_ = icon;
|
||||||
|
setBodyParameter("Icon", icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::getDescription()const
|
||||||
|
{
|
||||||
|
return description_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::setDescription(const std::string& description)
|
||||||
|
{
|
||||||
|
description_ = description;
|
||||||
|
setBodyParameter("Description", description);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::getAppName()const
|
||||||
|
{
|
||||||
|
return appName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::setAppName(const std::string& appName)
|
||||||
|
{
|
||||||
|
appName_ = appName;
|
||||||
|
setBodyParameter("AppName", appName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::get_NameSpace()const
|
||||||
|
{
|
||||||
|
return _nameSpace_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::set_NameSpace(const std::string& _nameSpace)
|
||||||
|
{
|
||||||
|
_nameSpace_ = _nameSpace;
|
||||||
|
setBodyParameter("_NameSpace", _nameSpace);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectRequest::getName()const
|
||||||
|
{
|
||||||
|
return name_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void UpdateProjectRequest::setName(const std::string& name)
|
||||||
|
{
|
||||||
|
name_ = name;
|
||||||
|
setBodyParameter("Name", name);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -14,38 +14,45 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <alibabacloud/emr/model/ModifyAlertDingDingGroupResult.h>
|
#include <alibabacloud/cdrs/model/UpdateProjectResult.h>
|
||||||
#include <json/json.h>
|
#include <json/json.h>
|
||||||
|
|
||||||
using namespace AlibabaCloud::Emr;
|
using namespace AlibabaCloud::CDRS;
|
||||||
using namespace AlibabaCloud::Emr::Model;
|
using namespace AlibabaCloud::CDRS::Model;
|
||||||
|
|
||||||
ModifyAlertDingDingGroupResult::ModifyAlertDingDingGroupResult() :
|
UpdateProjectResult::UpdateProjectResult() :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
ModifyAlertDingDingGroupResult::ModifyAlertDingDingGroupResult(const std::string &payload) :
|
UpdateProjectResult::UpdateProjectResult(const std::string &payload) :
|
||||||
ServiceResult()
|
ServiceResult()
|
||||||
{
|
{
|
||||||
parse(payload);
|
parse(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
ModifyAlertDingDingGroupResult::~ModifyAlertDingDingGroupResult()
|
UpdateProjectResult::~UpdateProjectResult()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void ModifyAlertDingDingGroupResult::parse(const std::string &payload)
|
void UpdateProjectResult::parse(const std::string &payload)
|
||||||
{
|
{
|
||||||
Json::Reader reader;
|
Json::Reader reader;
|
||||||
Json::Value value;
|
Json::Value value;
|
||||||
reader.parse(payload, value);
|
reader.parse(payload, value);
|
||||||
setRequestId(value["RequestId"].asString());
|
setRequestId(value["RequestId"].asString());
|
||||||
if(!value["Done"].isNull())
|
if(!value["Code"].isNull())
|
||||||
done_ = value["Done"].asString() == "true";
|
code_ = value["Code"].asString();
|
||||||
|
if(!value["Message"].isNull())
|
||||||
|
message_ = value["Message"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ModifyAlertDingDingGroupResult::getDone()const
|
std::string UpdateProjectResult::getMessage()const
|
||||||
{
|
{
|
||||||
return done_;
|
return message_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string UpdateProjectResult::getCode()const
|
||||||
|
{
|
||||||
|
return code_;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,6 +63,8 @@ namespace AlibabaCloud
|
|||||||
void setBackupStorageType(const std::string& backupStorageType);
|
void setBackupStorageType(const std::string& backupStorageType);
|
||||||
int getDuplicationArchivePeriod()const;
|
int getDuplicationArchivePeriod()const;
|
||||||
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
void setDuplicationArchivePeriod(int duplicationArchivePeriod);
|
||||||
|
int getBackupLogIntervalSeconds()const;
|
||||||
|
void setBackupLogIntervalSeconds(int backupLogIntervalSeconds);
|
||||||
std::string getCrossAliyunId()const;
|
std::string getCrossAliyunId()const;
|
||||||
void setCrossAliyunId(const std::string& crossAliyunId);
|
void setCrossAliyunId(const std::string& crossAliyunId);
|
||||||
bool getAutoStartBackup()const;
|
bool getAutoStartBackup()const;
|
||||||
@@ -71,6 +73,8 @@ namespace AlibabaCloud
|
|||||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||||
std::string getBackupObjects()const;
|
std::string getBackupObjects()const;
|
||||||
void setBackupObjects(const std::string& backupObjects);
|
void setBackupObjects(const std::string& backupObjects);
|
||||||
|
long getBackupRateLimit()const;
|
||||||
|
void setBackupRateLimit(long backupRateLimit);
|
||||||
std::string getOwnerId()const;
|
std::string getOwnerId()const;
|
||||||
void setOwnerId(const std::string& ownerId);
|
void setOwnerId(const std::string& ownerId);
|
||||||
int getSourceEndpointPort()const;
|
int getSourceEndpointPort()const;
|
||||||
@@ -107,10 +111,12 @@ namespace AlibabaCloud
|
|||||||
bool enableBackupLog_;
|
bool enableBackupLog_;
|
||||||
std::string backupStorageType_;
|
std::string backupStorageType_;
|
||||||
int duplicationArchivePeriod_;
|
int duplicationArchivePeriod_;
|
||||||
|
int backupLogIntervalSeconds_;
|
||||||
std::string crossAliyunId_;
|
std::string crossAliyunId_;
|
||||||
bool autoStartBackup_;
|
bool autoStartBackup_;
|
||||||
std::string sourceEndpointPassword_;
|
std::string sourceEndpointPassword_;
|
||||||
std::string backupObjects_;
|
std::string backupObjects_;
|
||||||
|
long backupRateLimit_;
|
||||||
std::string ownerId_;
|
std::string ownerId_;
|
||||||
int sourceEndpointPort_;
|
int sourceEndpointPort_;
|
||||||
int backupRetentionPeriod_;
|
int backupRetentionPeriod_;
|
||||||
|
|||||||
@@ -181,6 +181,17 @@ void ConfigureBackupPlanRequest::setDuplicationArchivePeriod(int duplicationArch
|
|||||||
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
setParameter("DuplicationArchivePeriod", std::to_string(duplicationArchivePeriod));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int ConfigureBackupPlanRequest::getBackupLogIntervalSeconds()const
|
||||||
|
{
|
||||||
|
return backupLogIntervalSeconds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ConfigureBackupPlanRequest::setBackupLogIntervalSeconds(int backupLogIntervalSeconds)
|
||||||
|
{
|
||||||
|
backupLogIntervalSeconds_ = backupLogIntervalSeconds;
|
||||||
|
setParameter("BackupLogIntervalSeconds", std::to_string(backupLogIntervalSeconds));
|
||||||
|
}
|
||||||
|
|
||||||
std::string ConfigureBackupPlanRequest::getCrossAliyunId()const
|
std::string ConfigureBackupPlanRequest::getCrossAliyunId()const
|
||||||
{
|
{
|
||||||
return crossAliyunId_;
|
return crossAliyunId_;
|
||||||
@@ -225,6 +236,17 @@ void ConfigureBackupPlanRequest::setBackupObjects(const std::string& backupObjec
|
|||||||
setParameter("BackupObjects", backupObjects);
|
setParameter("BackupObjects", backupObjects);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long ConfigureBackupPlanRequest::getBackupRateLimit()const
|
||||||
|
{
|
||||||
|
return backupRateLimit_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ConfigureBackupPlanRequest::setBackupRateLimit(long backupRateLimit)
|
||||||
|
{
|
||||||
|
backupRateLimit_ = backupRateLimit;
|
||||||
|
setParameter("BackupRateLimit", std::to_string(backupRateLimit));
|
||||||
|
}
|
||||||
|
|
||||||
std::string ConfigureBackupPlanRequest::getOwnerId()const
|
std::string ConfigureBackupPlanRequest::getOwnerId()const
|
||||||
{
|
{
|
||||||
return ownerId_;
|
return ownerId_;
|
||||||
|
|||||||
@@ -53,16 +53,16 @@ void DescribeRestoreRangeInfoResult::parse(const std::string &payload)
|
|||||||
itemsObject.endTimestampForRestore = std::stol(valueItemsDBSRecoverRange["EndTimestampForRestore"].asString());
|
itemsObject.endTimestampForRestore = std::stol(valueItemsDBSRecoverRange["EndTimestampForRestore"].asString());
|
||||||
if(!valueItemsDBSRecoverRange["RangeType"].isNull())
|
if(!valueItemsDBSRecoverRange["RangeType"].isNull())
|
||||||
itemsObject.rangeType = valueItemsDBSRecoverRange["RangeType"].asString();
|
itemsObject.rangeType = valueItemsDBSRecoverRange["RangeType"].asString();
|
||||||
auto allFullBackupListNode = allItemsNode["FullBackupList"]["FullBackupDetail"];
|
auto allFullBackupListNode = valueItemsDBSRecoverRange["FullBackupList"]["FullBackupDetail"];
|
||||||
for (auto allItemsNodeFullBackupListFullBackupDetail : allFullBackupListNode)
|
for (auto valueItemsDBSRecoverRangeFullBackupListFullBackupDetail : allFullBackupListNode)
|
||||||
{
|
{
|
||||||
DBSRecoverRange::FullBackupDetail fullBackupListObject;
|
DBSRecoverRange::FullBackupDetail fullBackupListObject;
|
||||||
if(!allItemsNodeFullBackupListFullBackupDetail["BackupSetId"].isNull())
|
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].isNull())
|
||||||
fullBackupListObject.backupSetId = allItemsNodeFullBackupListFullBackupDetail["BackupSetId"].asString();
|
fullBackupListObject.backupSetId = valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["BackupSetId"].asString();
|
||||||
if(!allItemsNodeFullBackupListFullBackupDetail["StartTime"].isNull())
|
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].isNull())
|
||||||
fullBackupListObject.startTime = std::stol(allItemsNodeFullBackupListFullBackupDetail["StartTime"].asString());
|
fullBackupListObject.startTime = std::stol(valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["StartTime"].asString());
|
||||||
if(!allItemsNodeFullBackupListFullBackupDetail["EndTime"].isNull())
|
if(!valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["EndTime"].isNull())
|
||||||
fullBackupListObject.endTime = std::stol(allItemsNodeFullBackupListFullBackupDetail["EndTime"].asString());
|
fullBackupListObject.endTime = std::stol(valueItemsDBSRecoverRangeFullBackupListFullBackupDetail["EndTime"].asString());
|
||||||
itemsObject.fullBackupList.push_back(fullBackupListObject);
|
itemsObject.fullBackupList.push_back(fullBackupListObject);
|
||||||
}
|
}
|
||||||
items_.push_back(itemsObject);
|
items_.push_back(itemsObject);
|
||||||
|
|||||||
1116
emr/CMakeLists.txt
1116
emr/CMakeLists.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,77 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_ADDHPHOSTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDHPHOSTREQUEST_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 AddHpHostRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
struct HpHost
|
|
||||||
{
|
|
||||||
int cpuCore;
|
|
||||||
int memSize;
|
|
||||||
std::string rackInfo;
|
|
||||||
std::string role;
|
|
||||||
std::string serialNumber;
|
|
||||||
std::string hostType;
|
|
||||||
std::string securityGroupId;
|
|
||||||
RepeatList hpHostDisk;
|
|
||||||
std::string vswitchId;
|
|
||||||
std::string externalKey;
|
|
||||||
std::string hostName;
|
|
||||||
std::string vpcId;
|
|
||||||
std::string innerIp;
|
|
||||||
std::string externalIp;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
AddHpHostRequest();
|
|
||||||
~AddHpHostRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::vector<HpHost> getHpHost()const;
|
|
||||||
void setHpHost(const std::vector<HpHost>& hpHost);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getHpBizId()const;
|
|
||||||
void setHpBizId(const std::string& hpBizId);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::vector<HpHost> hpHost_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::string hpBizId_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDHPHOSTREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_ADDHPHOSTRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDHPHOSTRESULT_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 AddHpHostResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
AddHpHostResult();
|
|
||||||
explicit AddHpHostResult(const std::string &payload);
|
|
||||||
~AddHpHostResult();
|
|
||||||
std::string getBizId()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string bizId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDHPHOSTRESULT_H_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_ADDRESOURCETOUSERSRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSRESULT_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 AddResourceToUsersResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
AddResourceToUsersResult();
|
|
||||||
explicit AddResourceToUsersResult(const std::string &payload);
|
|
||||||
~AddResourceToUsersResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDRESOURCETOUSERSRESULT_H_
|
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,39 +28,39 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT CreateClusterHostGroupRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT AddScalingConfigItemV2Request : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CreateClusterHostGroupRequest();
|
AddScalingConfigItemV2Request();
|
||||||
~CreateClusterHostGroupRequest();
|
~AddScalingConfigItemV2Request();
|
||||||
|
|
||||||
|
std::string getConfigItemType()const;
|
||||||
|
void setConfigItemType(const std::string& configItemType);
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
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;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getScalingGroupBizId()const;
|
||||||
|
void setScalingGroupBizId(const std::string& scalingGroupBizId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::string getConfigItemInformation()const;
|
||||||
|
void setConfigItemInformation(const std::string& configItemInformation);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string configItemType_;
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string regionId_;
|
|
||||||
std::string comment_;
|
|
||||||
std::string clusterId_;
|
|
||||||
std::string hostGroupName_;
|
|
||||||
std::string hostGroupType_;
|
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string scalingGroupBizId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string configItemInformation_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERHOSTGROUPREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2REQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,23 +29,23 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT CreateVerificationCodeResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT AddScalingConfigItemV2Result : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
CreateVerificationCodeResult();
|
AddScalingConfigItemV2Result();
|
||||||
explicit CreateVerificationCodeResult(const std::string &payload);
|
explicit AddScalingConfigItemV2Result(const std::string &payload);
|
||||||
~CreateVerificationCodeResult();
|
~AddScalingConfigItemV2Result();
|
||||||
long getStatus()const;
|
std::string getData()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
long status_;
|
std::string data_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEVERIFICATIONCODERESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_ADDSCALINGCONFIGITEMV2RESULT_H_
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_ADDUSERRESOURCEROLEREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLEREQUEST_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 AddUserResourceRoleRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
AddUserResourceRoleRequest();
|
|
||||||
~AddUserResourceRoleRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getResourceId()const;
|
|
||||||
void setResourceId(const std::string& resourceId);
|
|
||||||
long getRoleId()const;
|
|
||||||
void setRoleId(long roleId);
|
|
||||||
std::string getResourceType()const;
|
|
||||||
void setResourceType(const std::string& resourceType);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getAliyunUserId()const;
|
|
||||||
void setAliyunUserId(const std::string& aliyunUserId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string resourceId_;
|
|
||||||
long roleId_;
|
|
||||||
std::string resourceType_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::string aliyunUserId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLEREQUEST_H_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_ADDUSERRESOURCEROLERESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLERESULT_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 AddUserResourceRoleResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
AddUserResourceRoleResult();
|
|
||||||
explicit AddUserResourceRoleResult(const std::string &payload);
|
|
||||||
~AddUserResourceRoleResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDUSERRESOURCEROLERESULT_H_
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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 getName()const;
|
|
||||||
void setName(const std::string& name);
|
|
||||||
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 name_;
|
|
||||||
std::string id_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CLONEDATASOURCEREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEBACKUPRULEREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULEREQUEST_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 CreateBackupRuleRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
CreateBackupRuleRequest();
|
|
||||||
~CreateBackupRuleRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getBackupMethodType()const;
|
|
||||||
void setBackupMethodType(const std::string& backupMethodType);
|
|
||||||
std::string getDescription()const;
|
|
||||||
void setDescription(const std::string& description);
|
|
||||||
std::string getBackupPlanId()const;
|
|
||||||
void setBackupPlanId(const std::string& backupPlanId);
|
|
||||||
std::string getMetadataType()const;
|
|
||||||
void setMetadataType(const std::string& metadataType);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getName()const;
|
|
||||||
void setName(const std::string& name);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string backupMethodType_;
|
|
||||||
std::string description_;
|
|
||||||
std::string backupPlanId_;
|
|
||||||
std::string metadataType_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::string name_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBACKUPRULEREQUEST_H_
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEBATCHUSERSREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSREQUEST_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 CreateBatchUsersRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
struct UserBaseParamList
|
|
||||||
{
|
|
||||||
std::string aliyunUserId;
|
|
||||||
std::string userName;
|
|
||||||
std::string userType;
|
|
||||||
std::string isSuperAdmin;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
CreateBatchUsersRequest();
|
|
||||||
~CreateBatchUsersRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::vector<UserBaseParamList> getUserBaseParamList()const;
|
|
||||||
void setUserBaseParamList(const std::vector<UserBaseParamList>& userBaseParamList);
|
|
||||||
std::vector<long> getRoleId()const;
|
|
||||||
void setRoleId(const std::vector<long>& roleId);
|
|
||||||
std::vector<long> getGroupId()const;
|
|
||||||
void setGroupId(const std::vector<long>& groupId);
|
|
||||||
std::string getDescription()const;
|
|
||||||
void setDescription(const std::string& description);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::vector<UserBaseParamList> userBaseParamList_;
|
|
||||||
std::vector<long> roleId_;
|
|
||||||
std::vector<long> groupId_;
|
|
||||||
std::string description_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSREQUEST_H_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEBATCHUSERSRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSRESULT_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 CreateBatchUsersResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
CreateBatchUsersResult();
|
|
||||||
explicit CreateBatchUsersResult(const std::string &payload);
|
|
||||||
~CreateBatchUsersResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEBATCHUSERSRESULT_H_
|
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,39 +28,43 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT StartKafkaBrokerDiskBalancerRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
struct BootstrapAction
|
||||||
|
{
|
||||||
|
std::string path;
|
||||||
|
std::string executionTarget;
|
||||||
|
std::string executionMoment;
|
||||||
|
std::string arg;
|
||||||
|
std::string name;
|
||||||
|
std::string executionFailStrategy;
|
||||||
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StartKafkaBrokerDiskBalancerRequest();
|
CreateClusterBootstrapActionRequest();
|
||||||
~StartKafkaBrokerDiskBalancerRequest();
|
~CreateClusterBootstrapActionRequest();
|
||||||
|
|
||||||
long getThrottle()const;
|
long getResourceOwnerId()const;
|
||||||
void setThrottle(long throttle);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
long getResourceOwnerId()const;
|
std::string getClusterId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setClusterId(const std::string& clusterId);
|
||||||
int getBrokerId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setBrokerId(int brokerId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
std::string getRegionId()const;
|
std::vector<BootstrapAction> getBootstrapAction()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
|
||||||
std::string getClusterId()const;
|
std::string getRegionId()const;
|
||||||
void setClusterId(const std::string& clusterId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getBalanceThreshold()const;
|
|
||||||
void setBalanceThreshold(const std::string& balanceThreshold);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long throttle_;
|
long resourceOwnerId_;
|
||||||
long resourceOwnerId_;
|
std::string clusterId_;
|
||||||
int brokerId_;
|
std::string accessKeyId_;
|
||||||
std::string regionId_;
|
std::vector<BootstrapAction> bootstrapAction_;
|
||||||
std::string clusterId_;
|
std::string regionId_;
|
||||||
std::string balanceThreshold_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_STARTKAFKABROKERDISKBALANCERREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT ModifyExecutionPlanBasicInfoResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT CreateClusterBootstrapActionResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
ModifyExecutionPlanBasicInfoResult();
|
CreateClusterBootstrapActionResult();
|
||||||
explicit ModifyExecutionPlanBasicInfoResult(const std::string &payload);
|
explicit CreateClusterBootstrapActionResult(const std::string &payload);
|
||||||
~ModifyExecutionPlanBasicInfoResult();
|
~CreateClusterBootstrapActionResult();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYEXECUTIONPLANBASICINFORESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERBOOTSTRAPACTIONRESULT_H_
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -34,8 +34,16 @@ namespace AlibabaCloud
|
|||||||
struct BootstrapAction
|
struct BootstrapAction
|
||||||
{
|
{
|
||||||
std::string path;
|
std::string path;
|
||||||
|
std::string executionTarget;
|
||||||
|
std::string executionMoment;
|
||||||
std::string arg;
|
std::string arg;
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string executionFailStrategy;
|
||||||
|
};
|
||||||
|
struct Tag
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
};
|
};
|
||||||
struct HostGroup
|
struct HostGroup
|
||||||
{
|
{
|
||||||
@@ -90,12 +98,16 @@ namespace AlibabaCloud
|
|||||||
void setSecurityGroupName(const std::string& securityGroupName);
|
void setSecurityGroupName(const std::string& securityGroupName);
|
||||||
std::string getMachineType()const;
|
std::string getMachineType()const;
|
||||||
void setMachineType(const std::string& machineType);
|
void setMachineType(const std::string& machineType);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::vector<BootstrapAction> getBootstrapAction()const;
|
std::vector<BootstrapAction> getBootstrapAction()const;
|
||||||
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
|
void setBootstrapAction(const std::vector<BootstrapAction>& bootstrapAction);
|
||||||
std::string getMetaStoreConf()const;
|
std::string getMetaStoreConf()const;
|
||||||
void setMetaStoreConf(const std::string& metaStoreConf);
|
void setMetaStoreConf(const std::string& metaStoreConf);
|
||||||
std::string getEmrVer()const;
|
std::string getEmrVer()const;
|
||||||
void setEmrVer(const std::string& emrVer);
|
void setEmrVer(const std::string& emrVer);
|
||||||
|
std::vector<Tag> getTag()const;
|
||||||
|
void setTag(const std::vector<Tag>& tag);
|
||||||
bool getIsOpenPublicIp()const;
|
bool getIsOpenPublicIp()const;
|
||||||
void setIsOpenPublicIp(bool isOpenPublicIp);
|
void setIsOpenPublicIp(bool isOpenPublicIp);
|
||||||
int getPeriod()const;
|
int getPeriod()const;
|
||||||
@@ -155,9 +167,11 @@ namespace AlibabaCloud
|
|||||||
std::string metaStoreType_;
|
std::string metaStoreType_;
|
||||||
std::string securityGroupName_;
|
std::string securityGroupName_;
|
||||||
std::string machineType_;
|
std::string machineType_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::vector<BootstrapAction> bootstrapAction_;
|
std::vector<BootstrapAction> bootstrapAction_;
|
||||||
std::string metaStoreConf_;
|
std::string metaStoreConf_;
|
||||||
std::string emrVer_;
|
std::string emrVer_;
|
||||||
|
std::vector<Tag> tag_;
|
||||||
bool isOpenPublicIp_;
|
bool isOpenPublicIp_;
|
||||||
int period_;
|
int period_;
|
||||||
std::string instanceGeneration_;
|
std::string instanceGeneration_;
|
||||||
|
|||||||
@@ -40,8 +40,11 @@ namespace AlibabaCloud
|
|||||||
struct BootstrapAction
|
struct BootstrapAction
|
||||||
{
|
{
|
||||||
std::string path;
|
std::string path;
|
||||||
|
std::string executionTarget;
|
||||||
|
std::string executionMoment;
|
||||||
std::string arg;
|
std::string arg;
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string executionFailStrategy;
|
||||||
};
|
};
|
||||||
struct Tag
|
struct Tag
|
||||||
{
|
{
|
||||||
@@ -54,6 +57,12 @@ namespace AlibabaCloud
|
|||||||
std::string userId;
|
std::string userId;
|
||||||
std::string userName;
|
std::string userName;
|
||||||
};
|
};
|
||||||
|
struct PromotionInfo
|
||||||
|
{
|
||||||
|
std::string promotionOptionCode;
|
||||||
|
std::string productCode;
|
||||||
|
std::string promotionOptionNo;
|
||||||
|
};
|
||||||
struct HostGroup
|
struct HostGroup
|
||||||
{
|
{
|
||||||
int period;
|
int period;
|
||||||
@@ -114,6 +123,8 @@ namespace AlibabaCloud
|
|||||||
void setSecurityGroupName(const std::string& securityGroupName);
|
void setSecurityGroupName(const std::string& securityGroupName);
|
||||||
std::string getMachineType()const;
|
std::string getMachineType()const;
|
||||||
void setMachineType(const std::string& machineType);
|
void setMachineType(const std::string& machineType);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::vector<HostComponentInfo> getHostComponentInfo()const;
|
std::vector<HostComponentInfo> getHostComponentInfo()const;
|
||||||
void setHostComponentInfo(const std::vector<HostComponentInfo>& hostComponentInfo);
|
void setHostComponentInfo(const std::vector<HostComponentInfo>& hostComponentInfo);
|
||||||
std::string getClickHouseConf()const;
|
std::string getClickHouseConf()const;
|
||||||
@@ -138,6 +149,8 @@ namespace AlibabaCloud
|
|||||||
void setVSwitchId(const std::string& vSwitchId);
|
void setVSwitchId(const std::string& vSwitchId);
|
||||||
std::string getClusterType()const;
|
std::string getClusterType()const;
|
||||||
void setClusterType(const std::string& clusterType);
|
void setClusterType(const std::string& clusterType);
|
||||||
|
std::string getExtraAttributes()const;
|
||||||
|
void setExtraAttributes(const std::string& extraAttributes);
|
||||||
bool getAutoRenew()const;
|
bool getAutoRenew()const;
|
||||||
void setAutoRenew(bool autoRenew);
|
void setAutoRenew(bool autoRenew);
|
||||||
std::vector<std::string> getOptionSoftWareList()const;
|
std::vector<std::string> getOptionSoftWareList()const;
|
||||||
@@ -176,6 +189,8 @@ namespace AlibabaCloud
|
|||||||
void setRelatedClusterId(const std::string& relatedClusterId);
|
void setRelatedClusterId(const std::string& relatedClusterId);
|
||||||
std::string getVpcId()const;
|
std::string getVpcId()const;
|
||||||
void setVpcId(const std::string& vpcId);
|
void setVpcId(const std::string& vpcId);
|
||||||
|
std::vector<PromotionInfo> getPromotionInfo()const;
|
||||||
|
void setPromotionInfo(const std::vector<PromotionInfo>& promotionInfo);
|
||||||
std::vector<HostGroup> getHostGroup()const;
|
std::vector<HostGroup> getHostGroup()const;
|
||||||
void setHostGroup(const std::vector<HostGroup>& hostGroup);
|
void setHostGroup(const std::vector<HostGroup>& hostGroup);
|
||||||
std::string getChargeType()const;
|
std::string getChargeType()const;
|
||||||
@@ -198,6 +213,7 @@ namespace AlibabaCloud
|
|||||||
std::string metaStoreType_;
|
std::string metaStoreType_;
|
||||||
std::string securityGroupName_;
|
std::string securityGroupName_;
|
||||||
std::string machineType_;
|
std::string machineType_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::vector<HostComponentInfo> hostComponentInfo_;
|
std::vector<HostComponentInfo> hostComponentInfo_;
|
||||||
std::string clickHouseConf_;
|
std::string clickHouseConf_;
|
||||||
std::vector<BootstrapAction> bootstrapAction_;
|
std::vector<BootstrapAction> bootstrapAction_;
|
||||||
@@ -210,6 +226,7 @@ namespace AlibabaCloud
|
|||||||
std::string instanceGeneration_;
|
std::string instanceGeneration_;
|
||||||
std::string vSwitchId_;
|
std::string vSwitchId_;
|
||||||
std::string clusterType_;
|
std::string clusterType_;
|
||||||
|
std::string extraAttributes_;
|
||||||
bool autoRenew_;
|
bool autoRenew_;
|
||||||
std::vector<std::string> optionSoftWareList_;
|
std::vector<std::string> optionSoftWareList_;
|
||||||
std::string netType_;
|
std::string netType_;
|
||||||
@@ -229,6 +246,7 @@ namespace AlibabaCloud
|
|||||||
std::string whiteListType_;
|
std::string whiteListType_;
|
||||||
std::string relatedClusterId_;
|
std::string relatedClusterId_;
|
||||||
std::string vpcId_;
|
std::string vpcId_;
|
||||||
|
std::vector<PromotionInfo> promotionInfo_;
|
||||||
std::vector<HostGroup> hostGroup_;
|
std::vector<HostGroup> hostGroup_;
|
||||||
std::string chargeType_;
|
std::string chargeType_;
|
||||||
std::vector<ServiceInfo> serviceInfo_;
|
std::vector<ServiceInfo> serviceInfo_;
|
||||||
|
|||||||
@@ -1,113 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATECLUSTERWITHHOSTPOOLREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLREQUEST_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 CreateClusterWithHostPoolRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
struct HostInfo
|
|
||||||
{
|
|
||||||
std::string hpHostBizId;
|
|
||||||
std::string hostName;
|
|
||||||
std::string role;
|
|
||||||
long groupId;
|
|
||||||
std::string privateIp;
|
|
||||||
RepeatList serviceComponentInfo;
|
|
||||||
std::string hostGroupName;
|
|
||||||
};
|
|
||||||
struct HostGroup
|
|
||||||
{
|
|
||||||
std::string groupType;
|
|
||||||
long groupId;
|
|
||||||
std::string groupName;
|
|
||||||
};
|
|
||||||
struct ServiceInfo
|
|
||||||
{
|
|
||||||
std::string serviceEcmVersion;
|
|
||||||
std::string serviceVersion;
|
|
||||||
std::string serviceName;
|
|
||||||
};
|
|
||||||
struct Config
|
|
||||||
{
|
|
||||||
std::string configKey;
|
|
||||||
std::string fileName;
|
|
||||||
std::string configValue;
|
|
||||||
std::string serviceName;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
CreateClusterWithHostPoolRequest();
|
|
||||||
~CreateClusterWithHostPoolRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getClusterName()const;
|
|
||||||
void setClusterName(const std::string& clusterName);
|
|
||||||
bool getEasEnable()const;
|
|
||||||
void setEasEnable(bool easEnable);
|
|
||||||
std::vector<HostInfo> getHostInfo()const;
|
|
||||||
void setHostInfo(const std::vector<HostInfo>& hostInfo);
|
|
||||||
std::string getRelatedClusterId()const;
|
|
||||||
void setRelatedClusterId(const std::string& relatedClusterId);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getClusterType()const;
|
|
||||||
void setClusterType(const std::string& clusterType);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::vector<HostGroup> getHostGroup()const;
|
|
||||||
void setHostGroup(const std::vector<HostGroup>& hostGroup);
|
|
||||||
std::string getStackName()const;
|
|
||||||
void setStackName(const std::string& stackName);
|
|
||||||
std::string getStackVersion()const;
|
|
||||||
void setStackVersion(const std::string& stackVersion);
|
|
||||||
std::vector<ServiceInfo> getServiceInfo()const;
|
|
||||||
void setServiceInfo(const std::vector<ServiceInfo>& serviceInfo);
|
|
||||||
std::vector<Config> getConfig()const;
|
|
||||||
void setConfig(const std::vector<Config>& config);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string clusterName_;
|
|
||||||
bool easEnable_;
|
|
||||||
std::vector<HostInfo> hostInfo_;
|
|
||||||
std::string relatedClusterId_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string clusterType_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::vector<HostGroup> hostGroup_;
|
|
||||||
std::string stackName_;
|
|
||||||
std::string stackVersion_;
|
|
||||||
std::vector<ServiceInfo> serviceInfo_;
|
|
||||||
std::vector<Config> config_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATECLUSTERWITHHOSTPOOLREQUEST_H_
|
|
||||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
|||||||
void setClusterName(const std::string& clusterName);
|
void setClusterName(const std::string& clusterName);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getTemplateBizId()const;
|
std::string getTemplateBizId()const;
|
||||||
void setTemplateBizId(const std::string& templateBizId);
|
void setTemplateBizId(const std::string& templateBizId);
|
||||||
|
|
||||||
@@ -51,6 +53,7 @@ namespace AlibabaCloud
|
|||||||
std::string uniqueTag_;
|
std::string uniqueTag_;
|
||||||
std::string clusterName_;
|
std::string clusterName_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string templateBizId_;
|
std::string templateBizId_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
|||||||
void setClusterId(const std::string& clusterId);
|
void setClusterId(const std::string& clusterId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
|||||||
std::string conf_;
|
std::string conf_;
|
||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
std::string sourceType_;
|
std::string sourceType_;
|
||||||
|
|||||||
@@ -1,72 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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 getClusterId()const;
|
|
||||||
void setClusterId(const std::string& clusterId);
|
|
||||||
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 clusterId_;
|
|
||||||
std::string type_;
|
|
||||||
std::string projectId_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEETLJOBREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -34,8 +34,11 @@ namespace AlibabaCloud
|
|||||||
struct BootstrapAction
|
struct BootstrapAction
|
||||||
{
|
{
|
||||||
std::string path;
|
std::string path;
|
||||||
|
std::string executionTarget;
|
||||||
|
std::string executionMoment;
|
||||||
std::string arg;
|
std::string arg;
|
||||||
std::string name;
|
std::string name;
|
||||||
|
std::string executionFailStrategy;
|
||||||
};
|
};
|
||||||
struct EcsOrder
|
struct EcsOrder
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
void setDescription(const std::string& description);
|
void setDescription(const std::string& description);
|
||||||
std::string getAlertUserGroupBizId()const;
|
std::string getAlertUserGroupBizId()const;
|
||||||
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
|
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
|
||||||
|
std::string getLifecycle()const;
|
||||||
|
void setLifecycle(const std::string& lifecycle);
|
||||||
std::string getHostName()const;
|
std::string getHostName()const;
|
||||||
void setHostName(const std::string& hostName);
|
void setHostName(const std::string& hostName);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
@@ -55,6 +57,8 @@ namespace AlibabaCloud
|
|||||||
void setProjectId(const std::string& projectId);
|
void setProjectId(const std::string& projectId);
|
||||||
std::string getParentFlowList()const;
|
std::string getParentFlowList()const;
|
||||||
void setParentFlowList(const std::string& parentFlowList);
|
void setParentFlowList(const std::string& parentFlowList);
|
||||||
|
std::string getLogArchiveLocation()const;
|
||||||
|
void setLogArchiveLocation(const std::string& logArchiveLocation);
|
||||||
std::string getAlertDingDingGroupBizId()const;
|
std::string getAlertDingDingGroupBizId()const;
|
||||||
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
|
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
|
||||||
long getStartSchedule()const;
|
long getStartSchedule()const;
|
||||||
@@ -65,6 +69,8 @@ namespace AlibabaCloud
|
|||||||
void setGraph(const std::string& graph);
|
void setGraph(const std::string& graph);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
void setName(const std::string& name);
|
void setName(const std::string& name);
|
||||||
|
std::string get_Namespace()const;
|
||||||
|
void set_Namespace(const std::string& _namespace);
|
||||||
std::string getParentCategory()const;
|
std::string getParentCategory()const;
|
||||||
void setParentCategory(const std::string& parentCategory);
|
void setParentCategory(const std::string& parentCategory);
|
||||||
|
|
||||||
@@ -72,6 +78,7 @@ namespace AlibabaCloud
|
|||||||
std::string cronExpr_;
|
std::string cronExpr_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string alertUserGroupBizId_;
|
std::string alertUserGroupBizId_;
|
||||||
|
std::string lifecycle_;
|
||||||
std::string hostName_;
|
std::string hostName_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
bool createCluster_;
|
bool createCluster_;
|
||||||
@@ -79,11 +86,13 @@ namespace AlibabaCloud
|
|||||||
std::string alertConf_;
|
std::string alertConf_;
|
||||||
std::string projectId_;
|
std::string projectId_;
|
||||||
std::string parentFlowList_;
|
std::string parentFlowList_;
|
||||||
|
std::string logArchiveLocation_;
|
||||||
std::string alertDingDingGroupBizId_;
|
std::string alertDingDingGroupBizId_;
|
||||||
long startSchedule_;
|
long startSchedule_;
|
||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string graph_;
|
std::string graph_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
std::string _namespace_;
|
||||||
std::string parentCategory_;
|
std::string parentCategory_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
CreateFlowJobRequest();
|
CreateFlowJobRequest();
|
||||||
~CreateFlowJobRequest();
|
~CreateFlowJobRequest();
|
||||||
|
|
||||||
|
std::string getRetryPolicy()const;
|
||||||
|
void setRetryPolicy(const std::string& retryPolicy);
|
||||||
std::string getRunConf()const;
|
std::string getRunConf()const;
|
||||||
void setRunConf(const std::string& runConf);
|
void setRunConf(const std::string& runConf);
|
||||||
std::string getDescription()const;
|
std::string getDescription()const;
|
||||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
|||||||
void setParentCategory(const std::string& parentCategory);
|
void setParentCategory(const std::string& parentCategory);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string retryPolicy_;
|
||||||
std::string runConf_;
|
std::string runConf_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string type_;
|
std::string type_;
|
||||||
|
|||||||
@@ -37,6 +37,10 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
std::string getDescription()const;
|
std::string getDescription()const;
|
||||||
void setDescription(const std::string& description);
|
void setDescription(const std::string& description);
|
||||||
|
std::string getProductType()const;
|
||||||
|
void setProductType(const std::string& productType);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
@@ -44,6 +48,8 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string description_;
|
std::string description_;
|
||||||
|
std::string productType_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
void setDescription(const std::string& description);
|
void setDescription(const std::string& description);
|
||||||
std::string getAlertUserGroupBizId()const;
|
std::string getAlertUserGroupBizId()const;
|
||||||
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
|
void setAlertUserGroupBizId(const std::string& alertUserGroupBizId);
|
||||||
|
std::string getLifecycle()const;
|
||||||
|
void setLifecycle(const std::string& lifecycle);
|
||||||
std::string getHostName()const;
|
std::string getHostName()const;
|
||||||
void setHostName(const std::string& hostName);
|
void setHostName(const std::string& hostName);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
@@ -55,6 +57,8 @@ namespace AlibabaCloud
|
|||||||
void setProjectId(const std::string& projectId);
|
void setProjectId(const std::string& projectId);
|
||||||
std::string getParentFlowList()const;
|
std::string getParentFlowList()const;
|
||||||
void setParentFlowList(const std::string& parentFlowList);
|
void setParentFlowList(const std::string& parentFlowList);
|
||||||
|
std::string getLogArchiveLocation()const;
|
||||||
|
void setLogArchiveLocation(const std::string& logArchiveLocation);
|
||||||
std::string getAlertDingDingGroupBizId()const;
|
std::string getAlertDingDingGroupBizId()const;
|
||||||
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
|
void setAlertDingDingGroupBizId(const std::string& alertDingDingGroupBizId);
|
||||||
long getStartSchedule()const;
|
long getStartSchedule()const;
|
||||||
@@ -65,6 +69,8 @@ namespace AlibabaCloud
|
|||||||
void setApplication(const std::string& application);
|
void setApplication(const std::string& application);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
void setName(const std::string& name);
|
void setName(const std::string& name);
|
||||||
|
std::string get_Namespace()const;
|
||||||
|
void set_Namespace(const std::string& _namespace);
|
||||||
std::string getParentCategory()const;
|
std::string getParentCategory()const;
|
||||||
void setParentCategory(const std::string& parentCategory);
|
void setParentCategory(const std::string& parentCategory);
|
||||||
|
|
||||||
@@ -72,6 +78,7 @@ namespace AlibabaCloud
|
|||||||
std::string cronExpr_;
|
std::string cronExpr_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string alertUserGroupBizId_;
|
std::string alertUserGroupBizId_;
|
||||||
|
std::string lifecycle_;
|
||||||
std::string hostName_;
|
std::string hostName_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
bool createCluster_;
|
bool createCluster_;
|
||||||
@@ -79,11 +86,13 @@ namespace AlibabaCloud
|
|||||||
std::string alertConf_;
|
std::string alertConf_;
|
||||||
std::string projectId_;
|
std::string projectId_;
|
||||||
std::string parentFlowList_;
|
std::string parentFlowList_;
|
||||||
|
std::string logArchiveLocation_;
|
||||||
std::string alertDingDingGroupBizId_;
|
std::string alertDingDingGroupBizId_;
|
||||||
long startSchedule_;
|
long startSchedule_;
|
||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string application_;
|
std::string application_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
std::string _namespace_;
|
||||||
std::string parentCategory_;
|
std::string parentCategory_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,73 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEHOSTPOOLREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLREQUEST_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 CreateHostPoolRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
struct KubeClusterInfo
|
|
||||||
{
|
|
||||||
std::string externalKey;
|
|
||||||
std::string internalConfig;
|
|
||||||
std::string publicConfig;
|
|
||||||
std::string sshConfig;
|
|
||||||
};
|
|
||||||
|
|
||||||
public:
|
|
||||||
CreateHostPoolRequest();
|
|
||||||
~CreateHostPoolRequest();
|
|
||||||
|
|
||||||
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::vector<KubeClusterInfo> getKubeClusterInfo()const;
|
|
||||||
void setKubeClusterInfo(const std::vector<KubeClusterInfo>& kubeClusterInfo);
|
|
||||||
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 description_;
|
|
||||||
std::vector<KubeClusterInfo> kubeClusterInfo_;
|
|
||||||
std::string type_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEHOSTPOOLRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLRESULT_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 CreateHostPoolResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
CreateHostPoolResult();
|
|
||||||
explicit CreateHostPoolResult(const std::string &payload);
|
|
||||||
~CreateHostPoolResult();
|
|
||||||
std::string getBizId()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
std::string bizId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEHOSTPOOLRESULT_H_
|
|
||||||
@@ -47,6 +47,8 @@ namespace AlibabaCloud
|
|||||||
void setRunParameter(const std::string& runParameter);
|
void setRunParameter(const std::string& runParameter);
|
||||||
int getRetryInterval()const;
|
int getRetryInterval()const;
|
||||||
void setRetryInterval(int retryInterval);
|
void setRetryInterval(int retryInterval);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
|||||||
std::string failAct_;
|
std::string failAct_;
|
||||||
std::string runParameter_;
|
std::string runParameter_;
|
||||||
int retryInterval_;
|
int retryInterval_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
int maxRetry_;
|
int maxRetry_;
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,45 +28,48 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT CreateNavNodeRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT CreateLibraryRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CreateNavNodeRequest();
|
CreateLibraryRequest();
|
||||||
~CreateNavNodeRequest();
|
~CreateLibraryRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getRegionId()const;
|
std::string getLibraryVersion()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setLibraryVersion(const std::string& libraryVersion);
|
||||||
std::string getName()const;
|
|
||||||
void setName(const std::string& name);
|
|
||||||
std::string getType()const;
|
std::string getType()const;
|
||||||
void setType(const std::string& type);
|
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;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::string getScope()const;
|
||||||
|
void setScope(const std::string& scope);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
std::string getSourceType()const;
|
||||||
|
void setSourceType(const std::string& sourceType);
|
||||||
|
std::string getProperties()const;
|
||||||
|
void setProperties(const std::string& properties);
|
||||||
|
std::string getSourceLocation()const;
|
||||||
|
void setSourceLocation(const std::string& sourceLocation);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string regionId_;
|
std::string libraryVersion_;
|
||||||
std::string name_;
|
|
||||||
std::string type_;
|
std::string type_;
|
||||||
std::string projectId_;
|
|
||||||
std::string categoryType_;
|
|
||||||
std::string objectId_;
|
|
||||||
std::string parentId_;
|
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string scope_;
|
||||||
|
std::string name_;
|
||||||
|
std::string sourceType_;
|
||||||
|
std::string properties_;
|
||||||
|
std::string sourceLocation_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATENAVNODEREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT ListNavSubTreeResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT CreateLibraryResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
ListNavSubTreeResult();
|
CreateLibraryResult();
|
||||||
explicit ListNavSubTreeResult(const std::string &payload);
|
explicit CreateLibraryResult(const std::string &payload);
|
||||||
~ListNavSubTreeResult();
|
~CreateLibraryResult();
|
||||||
std::string getData()const;
|
std::string getData()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_LISTNAVSUBTREERESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATELIBRARYRESULT_H_
|
||||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
|||||||
void setClusterId(const std::string& clusterId);
|
void setClusterId(const std::string& clusterId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getPassword()const;
|
std::string getPassword()const;
|
||||||
void setPassword(const std::string& password);
|
void setPassword(const std::string& password);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
@@ -56,6 +58,7 @@ namespace AlibabaCloud
|
|||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string password_;
|
std::string password_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string tableId_;
|
std::string tableId_;
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
|||||||
void setType(const std::string& type);
|
void setType(const std::string& type);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
@@ -53,6 +55,7 @@ namespace AlibabaCloud
|
|||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string type_;
|
std::string type_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,39 +28,39 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT ModifyAlertUserGroupRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT CreateScalingGroupV2Request : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ModifyAlertUserGroupRequest();
|
CreateScalingGroupV2Request();
|
||||||
~ModifyAlertUserGroupRequest();
|
~CreateScalingGroupV2Request();
|
||||||
|
|
||||||
std::string getUserList()const;
|
|
||||||
void setUserList(const std::string& userList);
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getDescription()const;
|
std::string getDescription()const;
|
||||||
void setDescription(const std::string& description);
|
void setDescription(const std::string& description);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getBizId()const;
|
std::string getHostGroupId()const;
|
||||||
void setBizId(const std::string& bizId);
|
void setHostGroupId(const std::string& hostGroupId);
|
||||||
std::string getName()const;
|
std::string getName()const;
|
||||||
void setName(const std::string& name);
|
void setName(const std::string& name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string userList_;
|
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string description_;
|
std::string description_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string bizId_;
|
std::string hostGroupId_;
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_MODIFYALERTUSERGROUPREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2REQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,23 +29,23 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT CreateAlertUserGroupResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT CreateScalingGroupV2Result : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
CreateAlertUserGroupResult();
|
CreateScalingGroupV2Result();
|
||||||
explicit CreateAlertUserGroupResult(const std::string &payload);
|
explicit CreateScalingGroupV2Result(const std::string &payload);
|
||||||
~CreateAlertUserGroupResult();
|
~CreateScalingGroupV2Result();
|
||||||
long getId()const;
|
std::string getData()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
private:
|
private:
|
||||||
long id_;
|
std::string data_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEALERTUSERGROUPRESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_CREATESCALINGGROUPV2RESULT_H_
|
||||||
@@ -63,12 +63,16 @@ namespace AlibabaCloud
|
|||||||
void setCloudWatchTrigger(const std::vector<CloudWatchTrigger>& cloudWatchTrigger);
|
void setCloudWatchTrigger(const std::vector<CloudWatchTrigger>& cloudWatchTrigger);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
long getTimeoutWithGrace()const;
|
||||||
|
void setTimeoutWithGrace(long timeoutWithGrace);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
int getCooldown()const;
|
int getCooldown()const;
|
||||||
void setCooldown(int cooldown);
|
void setCooldown(int cooldown);
|
||||||
std::string getLaunchTime()const;
|
std::string getLaunchTime()const;
|
||||||
void setLaunchTime(const std::string& launchTime);
|
void setLaunchTime(const std::string& launchTime);
|
||||||
|
bool getWithGrace()const;
|
||||||
|
void setWithGrace(bool withGrace);
|
||||||
std::string getRuleCategory()const;
|
std::string getRuleCategory()const;
|
||||||
void setRuleCategory(const std::string& ruleCategory);
|
void setRuleCategory(const std::string& ruleCategory);
|
||||||
int getAdjustmentValue()const;
|
int getAdjustmentValue()const;
|
||||||
@@ -94,9 +98,11 @@ namespace AlibabaCloud
|
|||||||
std::string recurrenceEndTime_;
|
std::string recurrenceEndTime_;
|
||||||
std::vector<CloudWatchTrigger> cloudWatchTrigger_;
|
std::vector<CloudWatchTrigger> cloudWatchTrigger_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
long timeoutWithGrace_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
int cooldown_;
|
int cooldown_;
|
||||||
std::string launchTime_;
|
std::string launchTime_;
|
||||||
|
bool withGrace_;
|
||||||
std::string ruleCategory_;
|
std::string ruleCategory_;
|
||||||
int adjustmentValue_;
|
int adjustmentValue_;
|
||||||
std::string adjustmentType_;
|
std::string adjustmentType_;
|
||||||
|
|||||||
@@ -1,113 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_CREATEUSERGROUPREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPREQUEST_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 CreateUserGroupRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
CreateUserGroupRequest();
|
|
||||||
~CreateUserGroupRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getDescription()const;
|
|
||||||
void setDescription(const std::string& description);
|
|
||||||
std::string getType()const;
|
|
||||||
void setType(const std::string& type);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getName()const;
|
|
||||||
void setName(const std::string& name);
|
|
||||||
std::vector<long> getRoleIdList()const;
|
|
||||||
void setRoleIdList(const std::vector<long>& roleIdList);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string description_;
|
|
||||||
std::string type_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::string name_;
|
|
||||||
std::vector<long> roleIdList_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_CREATEUSERGROUPREQUEST_H_
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,36 +28,42 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT ListSlsLogstoreInfoRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ListSlsLogstoreInfoRequest();
|
DecommissionHostComponentRequest();
|
||||||
~ListSlsLogstoreInfoRequest();
|
~DecommissionHostComponentRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getRegionId()const;
|
std::string getHostInstanceId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setHostInstanceId(const std::string& hostInstanceId);
|
||||||
std::string getComponentName()const;
|
std::string getComponentName()const;
|
||||||
void setComponentName(const std::string& componentName);
|
void setComponentName(const std::string& componentName);
|
||||||
std::string getServiceName()const;
|
|
||||||
void setServiceName(const std::string& serviceName);
|
|
||||||
std::string getClusterId()const;
|
std::string getClusterId()const;
|
||||||
void setClusterId(const std::string& clusterId);
|
void setClusterId(const std::string& clusterId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
long getTimeoutSeconds()const;
|
||||||
|
void setTimeoutSeconds(long timeoutSeconds);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::string getServiceName()const;
|
||||||
|
void setServiceName(const std::string& serviceName);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string regionId_;
|
std::string hostInstanceId_;
|
||||||
std::string componentName_;
|
std::string componentName_;
|
||||||
std::string serviceName_;
|
|
||||||
std::string clusterId_;
|
std::string clusterId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
long timeoutSeconds_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string serviceName_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_LISTSLSLOGSTOREINFOREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT AddClusterServiceForAdminResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT DecommissionHostComponentResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
AddClusterServiceForAdminResult();
|
DecommissionHostComponentResult();
|
||||||
explicit AddClusterServiceForAdminResult(const std::string &payload);
|
explicit DecommissionHostComponentResult(const std::string &payload);
|
||||||
~AddClusterServiceForAdminResult();
|
~DecommissionHostComponentResult();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_ADDCLUSTERSERVICEFORADMINRESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_DECOMMISSIONHOSTCOMPONENTRESULT_H_
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEBATCHRESOURCEUSERSRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSRESULT_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 DeleteBatchResourceUsersResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteBatchResourceUsersResult();
|
|
||||||
explicit DeleteBatchResourceUsersResult(const std::string &payload);
|
|
||||||
~DeleteBatchResourceUsersResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEBATCHRESOURCEUSERSRESULT_H_
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETECLUSTERSCRIPTREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETECLUSTERSCRIPTREQUEST_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 DeleteClusterScriptRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteClusterScriptRequest();
|
|
||||||
~DeleteClusterScriptRequest();
|
|
||||||
|
|
||||||
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_DELETECLUSTERSCRIPTREQUEST_H_
|
|
||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getBizId()const;
|
std::string getBizId()const;
|
||||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string bizId_;
|
std::string bizId_;
|
||||||
|
|
||||||
|
|||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEETLJOBREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEETLJOBREQUEST_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 DeleteETLJobRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteETLJobRequest();
|
|
||||||
~DeleteETLJobRequest();
|
|
||||||
|
|
||||||
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_DELETEETLJOBREQUEST_H_
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEETLJOBRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEETLJOBRESULT_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 DeleteETLJobResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteETLJobResult();
|
|
||||||
explicit DeleteETLJobResult(const std::string &payload);
|
|
||||||
~DeleteETLJobResult();
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEETLJOBRESULT_H_
|
|
||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getId()const;
|
std::string getId()const;
|
||||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string id_;
|
std::string id_;
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_
|
#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT QueryAlarmRulesRequest : public RpcServiceRequest
|
class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesRequest : public RpcServiceRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QueryAlarmRulesRequest();
|
DeleteLibrariesRequest();
|
||||||
~QueryAlarmRulesRequest();
|
~DeleteLibrariesRequest();
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
long getResourceOwnerId()const;
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
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;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getRegionId()const;
|
||||||
|
void setRegionId(const std::string& regionId);
|
||||||
|
std::vector<std::string> getLibraryBizIdList()const;
|
||||||
|
void setLibraryBizIdList(const std::vector<std::string>& libraryBizIdList);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string regionId_;
|
|
||||||
std::string clusterId_;
|
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::vector<std::string> libraryBizIdList_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_QUERYALARMRULESREQUEST_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESREQUEST_H_
|
||||||
@@ -14,8 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_
|
#ifndef ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_
|
||||||
#define ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_
|
#define ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
|||||||
{
|
{
|
||||||
namespace Model
|
namespace Model
|
||||||
{
|
{
|
||||||
class ALIBABACLOUD_EMR_EXPORT KillFlowResult : public ServiceResult
|
class ALIBABACLOUD_EMR_EXPORT DeleteLibrariesResult : public ServiceResult
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
KillFlowResult();
|
DeleteLibrariesResult();
|
||||||
explicit KillFlowResult(const std::string &payload);
|
explicit DeleteLibrariesResult(const std::string &payload);
|
||||||
~KillFlowResult();
|
~DeleteLibrariesResult();
|
||||||
bool getData()const;
|
bool getData()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_KILLFLOWRESULT_H_
|
#endif // !ALIBABACLOUD_EMR_MODEL_DELETELIBRARIESRESULT_H_
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETENAVNODEREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETENAVNODEREQUEST_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 DeleteNavNodeRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteNavNodeRequest();
|
|
||||||
~DeleteNavNodeRequest();
|
|
||||||
|
|
||||||
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 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 id_;
|
|
||||||
std::string projectId_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETENAVNODEREQUEST_H_
|
|
||||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
|||||||
void setResourceOwnerId(long resourceOwnerId);
|
void setResourceOwnerId(long resourceOwnerId);
|
||||||
std::string getAccessKeyId()const;
|
std::string getAccessKeyId()const;
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
void setAccessKeyId(const std::string& accessKeyId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
std::string getRegionId()const;
|
std::string getRegionId()const;
|
||||||
void setRegionId(const std::string& regionId);
|
void setRegionId(const std::string& regionId);
|
||||||
std::string getId()const;
|
std::string getId()const;
|
||||||
@@ -47,6 +49,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
long resourceOwnerId_;
|
long resourceOwnerId_;
|
||||||
std::string accessKeyId_;
|
std::string accessKeyId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
std::string id_;
|
std::string id_;
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEPARAGRAPHREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHREQUEST_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 DeleteParagraphRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteParagraphRequest();
|
|
||||||
~DeleteParagraphRequest();
|
|
||||||
|
|
||||||
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 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 noteId_;
|
|
||||||
std::string id_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEPARAGRAPHREQUEST_H_
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETERESOURCEUSERREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERREQUEST_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 DeleteResourceUserRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteResourceUserRequest();
|
|
||||||
~DeleteResourceUserRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getResourceId()const;
|
|
||||||
void setResourceId(const std::string& resourceId);
|
|
||||||
std::string getResourceType()const;
|
|
||||||
void setResourceType(const std::string& resourceType);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
std::string getAliyunUserId()const;
|
|
||||||
void setAliyunUserId(const std::string& aliyunUserId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string resourceId_;
|
|
||||||
std::string resourceType_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
std::string aliyunUserId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERREQUEST_H_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETERESOURCEUSERRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERRESULT_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 DeleteResourceUserResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteResourceUserResult();
|
|
||||||
explicit DeleteResourceUserResult(const std::string &payload);
|
|
||||||
~DeleteResourceUserResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETERESOURCEUSERRESULT_H_
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETESCALINGTASKGROUPREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPREQUEST_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 DeleteScalingTaskGroupRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteScalingTaskGroupRequest();
|
|
||||||
~DeleteScalingTaskGroupRequest();
|
|
||||||
|
|
||||||
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_DELETESCALINGTASKGROUPREQUEST_H_
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETESCALINGTASKGROUPRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPRESULT_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 DeleteScalingTaskGroupResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteScalingTaskGroupResult();
|
|
||||||
explicit DeleteScalingTaskGroupResult(const std::string &payload);
|
|
||||||
~DeleteScalingTaskGroupResult();
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETESCALINGTASKGROUPRESULT_H_
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEUSERGROUPREQUEST_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPREQUEST_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 DeleteUserGroupRequest : public RpcServiceRequest
|
|
||||||
{
|
|
||||||
|
|
||||||
public:
|
|
||||||
DeleteUserGroupRequest();
|
|
||||||
~DeleteUserGroupRequest();
|
|
||||||
|
|
||||||
long getResourceOwnerId()const;
|
|
||||||
void setResourceOwnerId(long resourceOwnerId);
|
|
||||||
std::string getAccessKeyId()const;
|
|
||||||
void setAccessKeyId(const std::string& accessKeyId);
|
|
||||||
std::string getRegionId()const;
|
|
||||||
void setRegionId(const std::string& regionId);
|
|
||||||
long getGroupId()const;
|
|
||||||
void setGroupId(long groupId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
long resourceOwnerId_;
|
|
||||||
std::string accessKeyId_;
|
|
||||||
std::string regionId_;
|
|
||||||
long groupId_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPREQUEST_H_
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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_DELETEUSERGROUPRESULT_H_
|
|
||||||
#define ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPRESULT_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 DeleteUserGroupResult : public ServiceResult
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
|
|
||||||
DeleteUserGroupResult();
|
|
||||||
explicit DeleteUserGroupResult(const std::string &payload);
|
|
||||||
~DeleteUserGroupResult();
|
|
||||||
bool getPaging()const;
|
|
||||||
bool getData()const;
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void parse(const std::string &payload);
|
|
||||||
private:
|
|
||||||
bool paging_;
|
|
||||||
bool data_;
|
|
||||||
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif // !ALIBABACLOUD_EMR_MODEL_DELETEUSERGROUPRESULT_H_
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user