Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd6bc60245 | ||
|
|
9e40693b46 | ||
|
|
9a1d8f666c | ||
|
|
fc583688b3 | ||
|
|
9df24cf9eb | ||
|
|
3e7b519b35 | ||
|
|
31b25aab35 | ||
|
|
09607080ce | ||
|
|
b353656f13 | ||
|
|
fe25215982 | ||
|
|
08a90e1cca | ||
|
|
b14fa4b715 | ||
|
|
4c2ebf13d5 | ||
|
|
b4e95dcd5a | ||
|
|
38dab66f9d |
31
CHANGELOG
31
CHANGELOG
@@ -1,3 +1,34 @@
|
||||
2020-02-12 Version 1.36.255
|
||||
- Support mau.
|
||||
|
||||
2020-02-11 Version 1.36.254
|
||||
- Return `VpcInstanceId ` for DescribeDBClusterEndpoints.
|
||||
- Add DescribeBackupLogs.
|
||||
|
||||
2020-02-11 Version 1.36.253
|
||||
- Support ModifyInstanceAttributes for SecurityGroupIds.
|
||||
|
||||
2020-02-11 Version 1.36.252
|
||||
- Update default endpoints.
|
||||
|
||||
2020-02-10 Version 1.36.251
|
||||
- Supported address for GetMediaMeta.
|
||||
|
||||
2020-02-07 Version 1.36.250
|
||||
- Fix bug for DescribeZoneInfo, delete return result of reionId.
|
||||
- Fix bug for DeleteZone, parameter zoneId change to compulsory.
|
||||
- Fix bug for SetProxyPattern, parameter zoneId change to compulsory.
|
||||
|
||||
2020-02-05 Version 1.36.249
|
||||
- Supported GetOfficePreviewURL.
|
||||
- Supported RefreshOfficePreviewToken.
|
||||
|
||||
2020-02-04 Version 1.36.248
|
||||
- Update default endpoints.
|
||||
|
||||
2020-01-20 Version 1.36.247
|
||||
- Release on full language support.
|
||||
|
||||
2020-01-17 Version 1.36.246
|
||||
- Supported Add the history event signature function.
|
||||
|
||||
|
||||
@@ -41,6 +41,10 @@ Alibaba Cloud SDK for C++ 让您不用复杂编程即可访问云服务器、负
|
||||
* 例如:在基于 Redhat / Fedora 的系统上安装这些软件包
|
||||
|
||||
```bash
|
||||
# use yum
|
||||
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
|
||||
|
||||
# use dnf
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
|
||||
@@ -42,6 +42,10 @@ If you have any problem while using Alibaba Cloud SDK for C++, please submit an
|
||||
- Run the following commands on the `Redhat/Fedora` system
|
||||
|
||||
```bash
|
||||
# use yum
|
||||
yum install jsoncpp-devel openssl-devel uuid-devel libcurl-devel
|
||||
|
||||
# use dnf
|
||||
sudo dnf install libcurl-devel openssl-devel libuuid-devel libjsoncpp-devel
|
||||
```
|
||||
|
||||
|
||||
@@ -75,6 +75,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstanceResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDnsProductInstancesResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainGroupsRequest.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainGroupsResult.h
|
||||
include/alibabacloud/alidns/model/DescribeDomainInfoRequest.h
|
||||
@@ -155,6 +157,8 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetDomainDnssecStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDomainDnssecStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetDomainRecordStatusRequest.h
|
||||
include/alibabacloud/alidns/model/SetDomainRecordStatusResult.h
|
||||
include/alibabacloud/alidns/model/SetGtmAccessModeRequest.h
|
||||
@@ -244,6 +248,8 @@ set(alidns_src
|
||||
src/model/DescribeDnsProductInstanceResult.cc
|
||||
src/model/DescribeDnsProductInstancesRequest.cc
|
||||
src/model/DescribeDnsProductInstancesResult.cc
|
||||
src/model/DescribeDomainDnssecInfoRequest.cc
|
||||
src/model/DescribeDomainDnssecInfoResult.cc
|
||||
src/model/DescribeDomainGroupsRequest.cc
|
||||
src/model/DescribeDomainGroupsResult.cc
|
||||
src/model/DescribeDomainInfoRequest.cc
|
||||
@@ -324,6 +330,8 @@ set(alidns_src
|
||||
src/model/RollbackGtmRecoveryPlanResult.cc
|
||||
src/model/SetDNSSLBStatusRequest.cc
|
||||
src/model/SetDNSSLBStatusResult.cc
|
||||
src/model/SetDomainDnssecStatusRequest.cc
|
||||
src/model/SetDomainDnssecStatusResult.cc
|
||||
src/model/SetDomainRecordStatusRequest.cc
|
||||
src/model/SetDomainRecordStatusResult.cc
|
||||
src/model/SetGtmAccessModeRequest.cc
|
||||
|
||||
@@ -76,6 +76,8 @@
|
||||
#include "model/DescribeDnsProductInstanceResult.h"
|
||||
#include "model/DescribeDnsProductInstancesRequest.h"
|
||||
#include "model/DescribeDnsProductInstancesResult.h"
|
||||
#include "model/DescribeDomainDnssecInfoRequest.h"
|
||||
#include "model/DescribeDomainDnssecInfoResult.h"
|
||||
#include "model/DescribeDomainGroupsRequest.h"
|
||||
#include "model/DescribeDomainGroupsResult.h"
|
||||
#include "model/DescribeDomainInfoRequest.h"
|
||||
@@ -156,6 +158,8 @@
|
||||
#include "model/RollbackGtmRecoveryPlanResult.h"
|
||||
#include "model/SetDNSSLBStatusRequest.h"
|
||||
#include "model/SetDNSSLBStatusResult.h"
|
||||
#include "model/SetDomainDnssecStatusRequest.h"
|
||||
#include "model/SetDomainDnssecStatusResult.h"
|
||||
#include "model/SetDomainRecordStatusRequest.h"
|
||||
#include "model/SetDomainRecordStatusResult.h"
|
||||
#include "model/SetGtmAccessModeRequest.h"
|
||||
@@ -278,6 +282,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDnsProductInstancesResult> DescribeDnsProductInstancesOutcome;
|
||||
typedef std::future<DescribeDnsProductInstancesOutcome> DescribeDnsProductInstancesOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDnsProductInstancesRequest&, const DescribeDnsProductInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDnsProductInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainDnssecInfoResult> DescribeDomainDnssecInfoOutcome;
|
||||
typedef std::future<DescribeDomainDnssecInfoOutcome> DescribeDomainDnssecInfoOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainDnssecInfoRequest&, const DescribeDomainDnssecInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDnssecInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainGroupsResult> DescribeDomainGroupsOutcome;
|
||||
typedef std::future<DescribeDomainGroupsOutcome> DescribeDomainGroupsOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DescribeDomainGroupsRequest&, const DescribeDomainGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainGroupsAsyncHandler;
|
||||
@@ -398,6 +405,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetDNSSLBStatusResult> SetDNSSLBStatusOutcome;
|
||||
typedef std::future<SetDNSSLBStatusOutcome> SetDNSSLBStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDNSSLBStatusRequest&, const SetDNSSLBStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDNSSLBStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDomainDnssecStatusResult> SetDomainDnssecStatusOutcome;
|
||||
typedef std::future<SetDomainDnssecStatusOutcome> SetDomainDnssecStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDomainDnssecStatusRequest&, const SetDomainDnssecStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainDnssecStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDomainRecordStatusResult> SetDomainRecordStatusOutcome;
|
||||
typedef std::future<SetDomainRecordStatusOutcome> SetDomainRecordStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::SetDomainRecordStatusRequest&, const SetDomainRecordStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainRecordStatusAsyncHandler;
|
||||
@@ -532,6 +542,9 @@ namespace AlibabaCloud
|
||||
DescribeDnsProductInstancesOutcome describeDnsProductInstances(const Model::DescribeDnsProductInstancesRequest &request)const;
|
||||
void describeDnsProductInstancesAsync(const Model::DescribeDnsProductInstancesRequest& request, const DescribeDnsProductInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDnsProductInstancesOutcomeCallable describeDnsProductInstancesCallable(const Model::DescribeDnsProductInstancesRequest& request) const;
|
||||
DescribeDomainDnssecInfoOutcome describeDomainDnssecInfo(const Model::DescribeDomainDnssecInfoRequest &request)const;
|
||||
void describeDomainDnssecInfoAsync(const Model::DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainDnssecInfoOutcomeCallable describeDomainDnssecInfoCallable(const Model::DescribeDomainDnssecInfoRequest& request) const;
|
||||
DescribeDomainGroupsOutcome describeDomainGroups(const Model::DescribeDomainGroupsRequest &request)const;
|
||||
void describeDomainGroupsAsync(const Model::DescribeDomainGroupsRequest& request, const DescribeDomainGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainGroupsOutcomeCallable describeDomainGroupsCallable(const Model::DescribeDomainGroupsRequest& request) const;
|
||||
@@ -652,6 +665,9 @@ namespace AlibabaCloud
|
||||
SetDNSSLBStatusOutcome setDNSSLBStatus(const Model::SetDNSSLBStatusRequest &request)const;
|
||||
void setDNSSLBStatusAsync(const Model::SetDNSSLBStatusRequest& request, const SetDNSSLBStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDNSSLBStatusOutcomeCallable setDNSSLBStatusCallable(const Model::SetDNSSLBStatusRequest& request) const;
|
||||
SetDomainDnssecStatusOutcome setDomainDnssecStatus(const Model::SetDomainDnssecStatusRequest &request)const;
|
||||
void setDomainDnssecStatusAsync(const Model::SetDomainDnssecStatusRequest& request, const SetDomainDnssecStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDomainDnssecStatusOutcomeCallable setDomainDnssecStatusCallable(const Model::SetDomainDnssecStatusRequest& request) const;
|
||||
SetDomainRecordStatusOutcome setDomainRecordStatus(const Model::SetDomainRecordStatusRequest &request)const;
|
||||
void setDomainRecordStatusAsync(const Model::SetDomainRecordStatusRequest& request, const SetDomainRecordStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDomainRecordStatusOutcomeCallable setDomainRecordStatusCallable(const Model::SetDomainRecordStatusRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainDnssecInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainDnssecInfoRequest();
|
||||
~DescribeDomainDnssecInfoRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFOREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFORESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT DescribeDomainDnssecInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDomainDnssecInfoResult();
|
||||
explicit DescribeDomainDnssecInfoResult(const std::string &payload);
|
||||
~DescribeDomainDnssecInfoResult();
|
||||
std::string getStatus()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDigest()const;
|
||||
std::string getPublicKey()const;
|
||||
std::string getDsRecord()const;
|
||||
std::string getDigestType()const;
|
||||
std::string getKeyTag()const;
|
||||
std::string getFlags()const;
|
||||
std::string getAlgorithm()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string status_;
|
||||
std::string domainName_;
|
||||
std::string digest_;
|
||||
std::string publicKey_;
|
||||
std::string dsRecord_;
|
||||
std::string digestType_;
|
||||
std::string keyTag_;
|
||||
std::string flags_;
|
||||
std::string algorithm_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_DESCRIBEDOMAINDNSSECINFORESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeDomainsRequest();
|
||||
~DescribeDomainsRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getResourceGroupId()const;
|
||||
@@ -53,12 +55,15 @@ namespace AlibabaCloud
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
void setSearchMode(const std::string& searchMode);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
long pageNumber_;
|
||||
std::string resourceGroupId_;
|
||||
long pageSize_;
|
||||
@@ -68,6 +73,7 @@ namespace AlibabaCloud
|
||||
bool starmark_;
|
||||
std::string groupId_;
|
||||
std::string orderBy_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
bool aliDomain;
|
||||
std::string domainName;
|
||||
std::string instanceId;
|
||||
std::string createTime;
|
||||
std::string punyCode;
|
||||
std::vector<std::string> dnsServers;
|
||||
bool starmark;
|
||||
@@ -50,6 +51,7 @@ namespace AlibabaCloud
|
||||
std::string instanceEndTime;
|
||||
bool instanceExpired;
|
||||
long recordCount;
|
||||
long createTimestamp;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT SetDomainDnssecStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetDomainDnssecStatusRequest();
|
||||
~SetDomainDnssecStatusRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT SetDomainDnssecStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetDomainDnssecStatusResult();
|
||||
explicit SetDomainDnssecStatusResult(const std::string &payload);
|
||||
~SetDomainDnssecStatusResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_SETDOMAINDNSSECSTATUSRESULT_H_
|
||||
@@ -1023,6 +1023,42 @@ AlidnsClient::DescribeDnsProductInstancesOutcomeCallable AlidnsClient::describeD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainDnssecInfoOutcome AlidnsClient::describeDomainDnssecInfo(const DescribeDomainDnssecInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainDnssecInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainDnssecInfoOutcome(DescribeDomainDnssecInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainDnssecInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::describeDomainDnssecInfoAsync(const DescribeDomainDnssecInfoRequest& request, const DescribeDomainDnssecInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainDnssecInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainDnssecInfoOutcomeCallable AlidnsClient::describeDomainDnssecInfoCallable(const DescribeDomainDnssecInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainDnssecInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainDnssecInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DescribeDomainGroupsOutcome AlidnsClient::describeDomainGroups(const DescribeDomainGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2463,6 +2499,42 @@ AlidnsClient::SetDNSSLBStatusOutcomeCallable AlidnsClient::setDNSSLBStatusCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::SetDomainDnssecStatusOutcome AlidnsClient::setDomainDnssecStatus(const SetDomainDnssecStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetDomainDnssecStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetDomainDnssecStatusOutcome(SetDomainDnssecStatusResult(outcome.result()));
|
||||
else
|
||||
return SetDomainDnssecStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::setDomainDnssecStatusAsync(const SetDomainDnssecStatusRequest& request, const SetDomainDnssecStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setDomainDnssecStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::SetDomainDnssecStatusOutcomeCallable AlidnsClient::setDomainDnssecStatusCallable(const SetDomainDnssecStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetDomainDnssecStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setDomainDnssecStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::SetDomainRecordStatusOutcome AlidnsClient::setDomainRecordStatus(const SetDomainRecordStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
62
alidns/src/model/DescribeDomainDnssecInfoRequest.cc
Normal file
62
alidns/src/model/DescribeDomainDnssecInfoRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainDnssecInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::DescribeDomainDnssecInfoRequest;
|
||||
|
||||
DescribeDomainDnssecInfoRequest::DescribeDomainDnssecInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainDnssecInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainDnssecInfoRequest::~DescribeDomainDnssecInfoRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainDnssecInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
107
alidns/src/model/DescribeDomainDnssecInfoResult.cc
Normal file
107
alidns/src/model/DescribeDomainDnssecInfoResult.cc
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/DescribeDomainDnssecInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
DescribeDomainDnssecInfoResult::DescribeDomainDnssecInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainDnssecInfoResult::DescribeDomainDnssecInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainDnssecInfoResult::~DescribeDomainDnssecInfoResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainDnssecInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DsRecord"].isNull())
|
||||
dsRecord_ = value["DsRecord"].asString();
|
||||
if(!value["Digest"].isNull())
|
||||
digest_ = value["Digest"].asString();
|
||||
if(!value["DigestType"].isNull())
|
||||
digestType_ = value["DigestType"].asString();
|
||||
if(!value["Algorithm"].isNull())
|
||||
algorithm_ = value["Algorithm"].asString();
|
||||
if(!value["PublicKey"].isNull())
|
||||
publicKey_ = value["PublicKey"].asString();
|
||||
if(!value["KeyTag"].isNull())
|
||||
keyTag_ = value["KeyTag"].asString();
|
||||
if(!value["Flags"].isNull())
|
||||
flags_ = value["Flags"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDigest()const
|
||||
{
|
||||
return digest_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getPublicKey()const
|
||||
{
|
||||
return publicKey_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDsRecord()const
|
||||
{
|
||||
return dsRecord_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getDigestType()const
|
||||
{
|
||||
return digestType_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getKeyTag()const
|
||||
{
|
||||
return keyTag_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getFlags()const
|
||||
{
|
||||
return flags_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainDnssecInfoResult::getAlgorithm()const
|
||||
{
|
||||
return algorithm_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDomainsRequest::DescribeDomainsRequest() :
|
||||
DescribeDomainsRequest::~DescribeDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
long DescribeDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
@@ -126,6 +137,17 @@ void DescribeDomainsRequest::setOrderBy(const std::string& orderBy)
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
|
||||
@@ -73,6 +73,10 @@ void DescribeDomainsResult::parse(const std::string &payload)
|
||||
domainsObject.instanceExpired = valueDomainsDomain["InstanceExpired"].asString() == "true";
|
||||
if(!valueDomainsDomain["Starmark"].isNull())
|
||||
domainsObject.starmark = valueDomainsDomain["Starmark"].asString() == "true";
|
||||
if(!valueDomainsDomain["CreateTime"].isNull())
|
||||
domainsObject.createTime = valueDomainsDomain["CreateTime"].asString();
|
||||
if(!valueDomainsDomain["CreateTimestamp"].isNull())
|
||||
domainsObject.createTimestamp = std::stol(valueDomainsDomain["CreateTimestamp"].asString());
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (auto value : allDnsServers)
|
||||
domainsObject.dnsServers.push_back(value.asString());
|
||||
|
||||
73
alidns/src/model/SetDomainDnssecStatusRequest.cc
Normal file
73
alidns/src/model/SetDomainDnssecStatusRequest.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/alidns/model/SetDomainDnssecStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::SetDomainDnssecStatusRequest;
|
||||
|
||||
SetDomainDnssecStatusRequest::SetDomainDnssecStatusRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "SetDomainDnssecStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetDomainDnssecStatusRequest::~SetDomainDnssecStatusRequest()
|
||||
{}
|
||||
|
||||
std::string SetDomainDnssecStatusRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetDomainDnssecStatusRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string SetDomainDnssecStatusRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void SetDomainDnssecStatusRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string SetDomainDnssecStatusRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void SetDomainDnssecStatusRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string SetDomainDnssecStatusRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void SetDomainDnssecStatusRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
44
alidns/src/model/SetDomainDnssecStatusResult.cc
Normal file
44
alidns/src/model/SetDomainDnssecStatusResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/alidns/model/SetDomainDnssecStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alidns;
|
||||
using namespace AlibabaCloud::Alidns::Model;
|
||||
|
||||
SetDomainDnssecStatusResult::SetDomainDnssecStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetDomainDnssecStatusResult::SetDomainDnssecStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetDomainDnssecStatusResult::~SetDomainDnssecStatusResult()
|
||||
{}
|
||||
|
||||
void SetDomainDnssecStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ public:
|
||||
size_t contentSize() const;
|
||||
bool hasContent() const;
|
||||
ParameterCollection parameters() const;
|
||||
ParameterCollection bodyParameters() const;
|
||||
std::string product() const;
|
||||
std::string resourcePath() const;
|
||||
std::string version() const;
|
||||
@@ -50,6 +51,7 @@ public:
|
||||
ParameterValueType getHeader(const ParameterNameType &name);
|
||||
void removeHeader(const ParameterNameType &name);
|
||||
ParameterCollection headers() const;
|
||||
void setBodyParameter(const ParameterNameType &name, const ParameterValueType &value);
|
||||
|
||||
protected:
|
||||
ServiceRequest(const std::string &product, const std::string &version);
|
||||
@@ -81,6 +83,7 @@ private:
|
||||
char *content_;
|
||||
size_t contentSize_;
|
||||
ParameterCollection params_;
|
||||
ParameterCollection body_params_;
|
||||
ParameterCollection headers_;
|
||||
std::string product_;
|
||||
std::string resourcePath_;
|
||||
|
||||
@@ -63,28 +63,33 @@ HttpRequest RpcServiceClient::buildHttpRequest(const std::string & endpoint,
|
||||
const Credentials credentials = credentialsProvider_->getCredentials();
|
||||
|
||||
Url url;
|
||||
if (msg.scheme().empty()) {
|
||||
if (msg.scheme().empty())
|
||||
{
|
||||
url.setScheme("https");
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
url.setScheme(msg.scheme());
|
||||
}
|
||||
url.setHost(endpoint);
|
||||
url.setPath(msg.resourcePath());
|
||||
|
||||
std::map<std::string, std::string> signParams;
|
||||
|
||||
auto params = msg.parameters();
|
||||
std::map <std::string, std::string> queryParams;
|
||||
for (const auto &p : params) {
|
||||
for (const auto &p : params)
|
||||
{
|
||||
if (!p.second.empty())
|
||||
queryParams[p.first] = p.second;
|
||||
signParams[p.first] = p.second;
|
||||
}
|
||||
|
||||
queryParams["AccessKeyId"] = credentials.accessKeyId();
|
||||
queryParams["Format"] = "JSON";
|
||||
queryParams["RegionId"] = configuration().regionId();
|
||||
queryParams["SecurityToken"] = credentials.sessionToken();
|
||||
queryParams["SignatureMethod"] = signer_->name();
|
||||
queryParams["SignatureNonce"] = GenerateUuid();
|
||||
queryParams["SignatureVersion"] = signer_->version();
|
||||
signParams["AccessKeyId"] = credentials.accessKeyId();
|
||||
signParams["Format"] = "JSON";
|
||||
signParams["RegionId"] = configuration().regionId();
|
||||
signParams["SecurityToken"] = credentials.sessionToken();
|
||||
signParams["SignatureMethod"] = signer_->name();
|
||||
signParams["SignatureNonce"] = GenerateUuid();
|
||||
signParams["SignatureVersion"] = signer_->version();
|
||||
std::time_t t = std::time(nullptr);
|
||||
std::stringstream ss;
|
||||
#if defined(__GNUG__) && __GNUC__ < 5
|
||||
@@ -94,28 +99,42 @@ HttpRequest RpcServiceClient::buildHttpRequest(const std::string & endpoint,
|
||||
#else
|
||||
ss << std::put_time(std::gmtime(&t), "%FT%TZ");
|
||||
#endif
|
||||
queryParams["Timestamp"] = ss.str();
|
||||
queryParams["Version"] = msg.version();
|
||||
signParams["Timestamp"] = ss.str();
|
||||
signParams["Version"] = msg.version();
|
||||
|
||||
std::map<std::string, std::string> query;
|
||||
for (const auto &p : signParams)
|
||||
{
|
||||
query[p.first] = p.second;
|
||||
}
|
||||
|
||||
auto body_params = msg.bodyParameters();
|
||||
for (const auto &p : body_params)
|
||||
{
|
||||
signParams[p.first] = p.second;
|
||||
}
|
||||
|
||||
std::stringstream plaintext;
|
||||
plaintext << HttpMethodToString(method)
|
||||
<< "&"
|
||||
<< UrlEncode(url.path())
|
||||
<< "&"
|
||||
<< UrlEncode(canonicalizedQuery(queryParams));
|
||||
|
||||
queryParams["Signature"] = signer_->generate(plaintext.str(),
|
||||
credentials.accessKeySecret() + "&");
|
||||
<< "&"
|
||||
<< UrlEncode(url.path())
|
||||
<< "&"
|
||||
<< UrlEncode(canonicalizedQuery(signParams));
|
||||
query["Signature"] = signer_->generate(plaintext.str(),
|
||||
credentials.accessKeySecret() + "&");
|
||||
|
||||
std::stringstream queryString;
|
||||
for (const auto &p : queryParams)
|
||||
for (const auto &p : query)
|
||||
queryString << "&" << p.first << "=" << UrlEncode(p.second);
|
||||
url.setQuery(queryString.str().substr(1));
|
||||
|
||||
HttpRequest request(url);
|
||||
if (msg.connectTimeout() != kInvalidTimeout) {
|
||||
if (msg.connectTimeout() != kInvalidTimeout)
|
||||
{
|
||||
request.setConnectTimeout(msg.connectTimeout());
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
request.setConnectTimeout(configuration().connectTimeout());
|
||||
}
|
||||
|
||||
@@ -127,16 +146,26 @@ HttpRequest RpcServiceClient::buildHttpRequest(const std::string & endpoint,
|
||||
}
|
||||
}
|
||||
|
||||
if (msg.readTimeout() != kInvalidTimeout) {
|
||||
if (msg.readTimeout() != kInvalidTimeout)
|
||||
{
|
||||
request.setReadTimeout(msg.readTimeout());
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
request.setReadTimeout(configuration().readTimeout());
|
||||
}
|
||||
|
||||
request.setMethod(method);
|
||||
request.setHeader("Host", url.host());
|
||||
request.setHeader("x-sdk-client",
|
||||
std::string("CPP/").append(ALIBABACLOUD_VERSION_STR));
|
||||
std::string("CPP/").append(ALIBABACLOUD_VERSION_STR));
|
||||
std::stringstream tmp;
|
||||
for (const auto &p : body_params)
|
||||
tmp << "&" << p.first << "=" << UrlEncode(p.second);
|
||||
if(tmp.str().length() > 0){
|
||||
std::string body = tmp.str().substr(1);
|
||||
request.setBody(body.c_str(), body.length());
|
||||
}
|
||||
return request;
|
||||
}
|
||||
|
||||
|
||||
@@ -137,6 +137,12 @@ ServiceRequest::ParameterCollection ServiceRequest::parameters() const
|
||||
return params_;
|
||||
}
|
||||
|
||||
|
||||
ServiceRequest::ParameterCollection ServiceRequest::bodyParameters() const
|
||||
{
|
||||
return body_params_;
|
||||
}
|
||||
|
||||
void ServiceRequest::removeParameter(const ParameterNameType &name)
|
||||
{
|
||||
params_.erase(name);
|
||||
@@ -153,6 +159,11 @@ void ServiceRequest::setCoreParameter(const ParameterNameType &name, const Param
|
||||
setParameter(name, value);
|
||||
}
|
||||
|
||||
void ServiceRequest::setBodyParameter(const ParameterNameType &name, const ParameterValueType &value)
|
||||
{
|
||||
body_params_[name] = value;
|
||||
}
|
||||
|
||||
void ServiceRequest::setParameters(const ParameterCollection ¶ms)
|
||||
{
|
||||
params_ = params;
|
||||
@@ -162,7 +173,7 @@ void ServiceRequest::setJsonParameters(const ParameterNameType &name, const Para
|
||||
{
|
||||
params_ = params;
|
||||
params_ = params;
|
||||
setCoreParameter(name, AlibabaCloud::MapToJson(params));
|
||||
setParameter(name, AlibabaCloud::MapToJson(params));
|
||||
}
|
||||
|
||||
std::string ServiceRequest::version() const
|
||||
|
||||
@@ -235,11 +235,13 @@ std::string AlibabaCloud::GetEnv(const std::string env)
|
||||
std::string AlibabaCloud::MapToJson(const std::map<std::string, std::string> &maps)
|
||||
{
|
||||
Json::Value jsonObject;
|
||||
Json::FastWriter writer;
|
||||
for (std::map<std::string, std::string>::const_iterator iter = maps.begin(); iter != maps.end(); ++iter)
|
||||
{
|
||||
jsonObject[iter->first] = iter->second;
|
||||
}
|
||||
return jsonObject.toStyledString();
|
||||
std::string unformat_str = writer.write(jsonObject);
|
||||
return unformat_str.substr(0, unformat_str.length() - 1);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> AlibabaCloud::JsonToMap(const std::string &json)
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT AddTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT AllocateDedicatedHostsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CopyImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateAutoProvisioningGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct LaunchTemplateConfig
|
||||
{
|
||||
std::string instanceType;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateDiskRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string snapshotId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateKeyPairRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateLaunchTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TemplateTag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateLaunchTemplateVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateNatGatewayRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct BandwidthPackage
|
||||
{
|
||||
int bandwidth;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateNetworkInterfaceRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateRouteEntryRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
@@ -60,6 +61,8 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
int getRetentionDays()const;
|
||||
void setRetentionDays(int retentionDays);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -72,6 +75,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
int retentionDays_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DeleteRouteEntryRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAccessPointsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDedicatedHostsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDemandsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeDisksRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeHaVipsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImageSupportInstanceTypesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeImagesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeKeyPairsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeLaunchTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct TemplateTag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeNetworkInterfacesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribePhysicalConnectionsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace AlibabaCloud
|
||||
void setReservedInstanceName(const std::string& reservedInstanceName);
|
||||
std::vector<std::string> getStatus()const;
|
||||
void setStatus(const std::vector<std::string>& status);
|
||||
std::string getAllocationType()const;
|
||||
void setAllocationType(const std::string& allocationType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
||||
std::string zoneId_;
|
||||
std::string reservedInstanceName_;
|
||||
std::vector<std::string> status_;
|
||||
std::string allocationType_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string status;
|
||||
std::string description;
|
||||
std::string allocationStatus;
|
||||
std::string zoneId;
|
||||
std::string platform;
|
||||
std::string resourceGroupId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeResourceByTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeRouterInterfacesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSecurityGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string instanceName;
|
||||
int totalCount;
|
||||
std::string category;
|
||||
int sourceDiskSize;
|
||||
std::string instanceId;
|
||||
std::string snapshotLinkId;
|
||||
|
||||
@@ -51,6 +51,8 @@ namespace AlibabaCloud
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCategory()const;
|
||||
void setCategory(const std::string& category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -61,6 +63,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeSnapshotsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace AlibabaCloud
|
||||
std::string usage;
|
||||
std::string description;
|
||||
std::string kMSKeyId;
|
||||
std::string category;
|
||||
std::string resourceGroupId;
|
||||
std::string productCode;
|
||||
bool encrypted;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeVirtualBorderRoutersForPhysicalConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeVirtualBorderRoutersRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Filter
|
||||
{
|
||||
std::vector<std::string> value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ImportImageRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
std::string oSSBucket;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -57,6 +57,8 @@ namespace AlibabaCloud
|
||||
void setCreditSpecification(const std::string& creditSpecification);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getSecurityGroupIds()const;
|
||||
void setSecurityGroupIds(const std::vector<std::string>& securityGroupIds);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getInstanceName()const;
|
||||
@@ -74,6 +76,7 @@ namespace AlibabaCloud
|
||||
std::string ownerAccount_;
|
||||
std::string creditSpecification_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> securityGroupIds_;
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyInstanceMaintenanceAttributesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct MaintenanceWindow
|
||||
{
|
||||
std::string startTime;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT ModifyReservedInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Configuration
|
||||
{
|
||||
std::string zoneId;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT RemoveTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT RunInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -30,6 +30,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AcceptInquiredSystemEventRequest::getEventId()const
|
||||
void AcceptInquiredSystemEventRequest::setEventId(const std::string& eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setCoreParameter("EventId", eventId);
|
||||
setParameter("EventId", eventId);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AcceptInquiredSystemEventRequest::getResourceOwnerId()const
|
||||
void AcceptInquiredSystemEventRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AcceptInquiredSystemEventRequest::getRegionId()const
|
||||
void AcceptInquiredSystemEventRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AcceptInquiredSystemEventRequest::getResourceOwnerAccount()const
|
||||
void AcceptInquiredSystemEventRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AcceptInquiredSystemEventRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AcceptInquiredSystemEventRequest::getOwnerAccount()const
|
||||
void AcceptInquiredSystemEventRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AcceptInquiredSystemEventRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long AcceptInquiredSystemEventRequest::getOwnerId()const
|
||||
void AcceptInquiredSystemEventRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ActivateRouterInterfaceRequest::getResourceOwnerId()const
|
||||
void ActivateRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string ActivateRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
void ActivateRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ActivateRouterInterfaceRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long ActivateRouterInterfaceRequest::getOwnerId()const
|
||||
void ActivateRouterInterfaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
@@ -68,7 +68,7 @@ std::string ActivateRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
void ActivateRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
|
||||
{
|
||||
routerInterfaceId_ = routerInterfaceId;
|
||||
setCoreParameter("RouterInterfaceId", routerInterfaceId);
|
||||
setParameter("RouterInterfaceId", routerInterfaceId);
|
||||
}
|
||||
|
||||
std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
@@ -79,6 +79,6 @@ std::string ActivateRouterInterfaceRequest::getRegionId()const
|
||||
void ActivateRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AddBandwidthPackageIpsRequest::getResourceOwnerId()const
|
||||
void AddBandwidthPackageIpsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AddBandwidthPackageIpsRequest::getClientToken()const
|
||||
void AddBandwidthPackageIpsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AddBandwidthPackageIpsRequest::getRegionId()const
|
||||
void AddBandwidthPackageIpsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
|
||||
@@ -68,7 +68,7 @@ std::string AddBandwidthPackageIpsRequest::getBandwidthPackageId()const
|
||||
void AddBandwidthPackageIpsRequest::setBandwidthPackageId(const std::string& bandwidthPackageId)
|
||||
{
|
||||
bandwidthPackageId_ = bandwidthPackageId;
|
||||
setCoreParameter("BandwidthPackageId", bandwidthPackageId);
|
||||
setParameter("BandwidthPackageId", bandwidthPackageId);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AddBandwidthPackageIpsRequest::getResourceOwnerAccount()const
|
||||
void AddBandwidthPackageIpsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AddBandwidthPackageIpsRequest::getOwnerAccount()const
|
||||
void AddBandwidthPackageIpsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AddBandwidthPackageIpsRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AddBandwidthPackageIpsRequest::getOwnerId()const
|
||||
void AddBandwidthPackageIpsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddBandwidthPackageIpsRequest::getIpCount()const
|
||||
@@ -112,6 +112,6 @@ std::string AddBandwidthPackageIpsRequest::getIpCount()const
|
||||
void AddBandwidthPackageIpsRequest::setIpCount(const std::string& ipCount)
|
||||
{
|
||||
ipCount_ = ipCount;
|
||||
setCoreParameter("IpCount", ipCount);
|
||||
setParameter("IpCount", ipCount);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AddTagsRequest::getResourceOwnerId()const
|
||||
void AddTagsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AddTagsRequest::getRegionId()const
|
||||
void AddTagsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<AddTagsRequest::Tag> AddTagsRequest::getTag()const
|
||||
@@ -59,9 +59,9 @@ void AddTagsRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ std::string AddTagsRequest::getResourceId()const
|
||||
void AddTagsRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setCoreParameter("ResourceId", resourceId);
|
||||
setParameter("ResourceId", resourceId);
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
@@ -84,7 +84,7 @@ std::string AddTagsRequest::getResourceOwnerAccount()const
|
||||
void AddTagsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AddTagsRequest::getOwnerId()const
|
||||
@@ -95,7 +95,7 @@ long AddTagsRequest::getOwnerId()const
|
||||
void AddTagsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AddTagsRequest::getResourceType()const
|
||||
@@ -106,6 +106,6 @@ std::string AddTagsRequest::getResourceType()const
|
||||
void AddTagsRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
setParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AllocateDedicatedHostsRequest::getResourceOwnerId()const
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AllocateDedicatedHostsRequest::getClientToken()const
|
||||
void AllocateDedicatedHostsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocateDedicatedHostsRequest::getDescription()const
|
||||
void AllocateDedicatedHostsRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocateDedicatedHostsRequest::getResourceGroupId()const
|
||||
void AllocateDedicatedHostsRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocateDedicatedHostsRequest::getRegionId()const
|
||||
void AllocateDedicatedHostsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
@@ -90,7 +90,7 @@ std::string AllocateDedicatedHostsRequest::getActionOnMaintenance()const
|
||||
void AllocateDedicatedHostsRequest::setActionOnMaintenance(const std::string& actionOnMaintenance)
|
||||
{
|
||||
actionOnMaintenance_ = actionOnMaintenance;
|
||||
setCoreParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
setParameter("ActionOnMaintenance", actionOnMaintenance);
|
||||
}
|
||||
|
||||
std::vector<AllocateDedicatedHostsRequest::Tag> AllocateDedicatedHostsRequest::getTag()const
|
||||
@@ -103,9 +103,9 @@ void AllocateDedicatedHostsRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ std::string AllocateDedicatedHostsRequest::getDedicatedHostType()const
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostType(const std::string& dedicatedHostType)
|
||||
{
|
||||
dedicatedHostType_ = dedicatedHostType;
|
||||
setCoreParameter("DedicatedHostType", dedicatedHostType);
|
||||
setParameter("DedicatedHostType", dedicatedHostType);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
@@ -128,7 +128,7 @@ int AllocateDedicatedHostsRequest::getAutoRenewPeriod()const
|
||||
void AllocateDedicatedHostsRequest::setAutoRenewPeriod(int autoRenewPeriod)
|
||||
{
|
||||
autoRenewPeriod_ = autoRenewPeriod;
|
||||
setCoreParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
setParameter("AutoRenewPeriod", std::to_string(autoRenewPeriod));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getPeriod()const
|
||||
@@ -139,7 +139,7 @@ int AllocateDedicatedHostsRequest::getPeriod()const
|
||||
void AllocateDedicatedHostsRequest::setPeriod(int period)
|
||||
{
|
||||
period_ = period;
|
||||
setCoreParameter("Period", std::to_string(period));
|
||||
setParameter("Period", std::to_string(period));
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getQuantity()const
|
||||
@@ -150,7 +150,7 @@ int AllocateDedicatedHostsRequest::getQuantity()const
|
||||
void AllocateDedicatedHostsRequest::setQuantity(int quantity)
|
||||
{
|
||||
quantity_ = quantity;
|
||||
setCoreParameter("Quantity", std::to_string(quantity));
|
||||
setParameter("Quantity", std::to_string(quantity));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getDedicatedHostName()const
|
||||
@@ -161,7 +161,7 @@ std::string AllocateDedicatedHostsRequest::getDedicatedHostName()const
|
||||
void AllocateDedicatedHostsRequest::setDedicatedHostName(const std::string& dedicatedHostName)
|
||||
{
|
||||
dedicatedHostName_ = dedicatedHostName;
|
||||
setCoreParameter("DedicatedHostName", dedicatedHostName);
|
||||
setParameter("DedicatedHostName", dedicatedHostName);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getResourceOwnerAccount()const
|
||||
@@ -172,7 +172,7 @@ std::string AllocateDedicatedHostsRequest::getResourceOwnerAccount()const
|
||||
void AllocateDedicatedHostsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getOwnerAccount()const
|
||||
@@ -183,7 +183,7 @@ std::string AllocateDedicatedHostsRequest::getOwnerAccount()const
|
||||
void AllocateDedicatedHostsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAutoReleaseTime()const
|
||||
@@ -194,7 +194,7 @@ std::string AllocateDedicatedHostsRequest::getAutoReleaseTime()const
|
||||
void AllocateDedicatedHostsRequest::setAutoReleaseTime(const std::string& autoReleaseTime)
|
||||
{
|
||||
autoReleaseTime_ = autoReleaseTime;
|
||||
setCoreParameter("AutoReleaseTime", autoReleaseTime);
|
||||
setParameter("AutoReleaseTime", autoReleaseTime);
|
||||
}
|
||||
|
||||
long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
@@ -205,7 +205,7 @@ long AllocateDedicatedHostsRequest::getOwnerId()const
|
||||
void AllocateDedicatedHostsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
@@ -216,7 +216,7 @@ std::string AllocateDedicatedHostsRequest::getPeriodUnit()const
|
||||
void AllocateDedicatedHostsRequest::setPeriodUnit(const std::string& periodUnit)
|
||||
{
|
||||
periodUnit_ = periodUnit;
|
||||
setCoreParameter("PeriodUnit", periodUnit);
|
||||
setParameter("PeriodUnit", periodUnit);
|
||||
}
|
||||
|
||||
bool AllocateDedicatedHostsRequest::getAutoRenew()const
|
||||
@@ -227,7 +227,7 @@ bool AllocateDedicatedHostsRequest::getAutoRenew()const
|
||||
void AllocateDedicatedHostsRequest::setAutoRenew(bool autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setCoreParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
setParameter("AutoRenew", autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
@@ -238,7 +238,7 @@ int AllocateDedicatedHostsRequest::getNetworkAttributesSlbUdpTimeout()const
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout)
|
||||
{
|
||||
networkAttributesSlbUdpTimeout_ = networkAttributesSlbUdpTimeout;
|
||||
setCoreParameter("NetworkAttributesSlbUdpTimeout", std::to_string(networkAttributesSlbUdpTimeout));
|
||||
setParameter("NetworkAttributesSlbUdpTimeout", std::to_string(networkAttributesSlbUdpTimeout));
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getZoneId()const
|
||||
@@ -249,7 +249,7 @@ std::string AllocateDedicatedHostsRequest::getZoneId()const
|
||||
void AllocateDedicatedHostsRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setCoreParameter("ZoneId", zoneId);
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getAutoPlacement()const
|
||||
@@ -260,7 +260,7 @@ std::string AllocateDedicatedHostsRequest::getAutoPlacement()const
|
||||
void AllocateDedicatedHostsRequest::setAutoPlacement(const std::string& autoPlacement)
|
||||
{
|
||||
autoPlacement_ = autoPlacement;
|
||||
setCoreParameter("AutoPlacement", autoPlacement);
|
||||
setParameter("AutoPlacement", autoPlacement);
|
||||
}
|
||||
|
||||
std::string AllocateDedicatedHostsRequest::getChargeType()const
|
||||
@@ -271,7 +271,7 @@ std::string AllocateDedicatedHostsRequest::getChargeType()const
|
||||
void AllocateDedicatedHostsRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setCoreParameter("ChargeType", chargeType);
|
||||
setParameter("ChargeType", chargeType);
|
||||
}
|
||||
|
||||
int AllocateDedicatedHostsRequest::getNetworkAttributesUdpTimeout()const
|
||||
@@ -282,6 +282,6 @@ int AllocateDedicatedHostsRequest::getNetworkAttributesUdpTimeout()const
|
||||
void AllocateDedicatedHostsRequest::setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout)
|
||||
{
|
||||
networkAttributesUdpTimeout_ = networkAttributesUdpTimeout;
|
||||
setCoreParameter("NetworkAttributesUdpTimeout", std::to_string(networkAttributesUdpTimeout));
|
||||
setParameter("NetworkAttributesUdpTimeout", std::to_string(networkAttributesUdpTimeout));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AllocateEipAddressRequest::getResourceOwnerId()const
|
||||
void AllocateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AllocateEipAddressRequest::getClientToken()const
|
||||
void AllocateEipAddressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getISP()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocateEipAddressRequest::getISP()const
|
||||
void AllocateEipAddressRequest::setISP(const std::string& iSP)
|
||||
{
|
||||
iSP_ = iSP;
|
||||
setCoreParameter("ISP", iSP);
|
||||
setParameter("ISP", iSP);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getRegionId()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocateEipAddressRequest::getRegionId()const
|
||||
void AllocateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocateEipAddressRequest::getResourceOwnerAccount()const
|
||||
void AllocateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
@@ -90,7 +90,7 @@ std::string AllocateEipAddressRequest::getBandwidth()const
|
||||
void AllocateEipAddressRequest::setBandwidth(const std::string& bandwidth)
|
||||
{
|
||||
bandwidth_ = bandwidth;
|
||||
setCoreParameter("Bandwidth", bandwidth);
|
||||
setParameter("Bandwidth", bandwidth);
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string AllocateEipAddressRequest::getOwnerAccount()const
|
||||
void AllocateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getOwnerId()const
|
||||
@@ -112,7 +112,7 @@ long AllocateEipAddressRequest::getOwnerId()const
|
||||
void AllocateEipAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long AllocateEipAddressRequest::getActivityId()const
|
||||
@@ -123,7 +123,7 @@ long AllocateEipAddressRequest::getActivityId()const
|
||||
void AllocateEipAddressRequest::setActivityId(long activityId)
|
||||
{
|
||||
activityId_ = activityId;
|
||||
setCoreParameter("ActivityId", std::to_string(activityId));
|
||||
setParameter("ActivityId", std::to_string(activityId));
|
||||
}
|
||||
|
||||
std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
@@ -134,6 +134,6 @@ std::string AllocateEipAddressRequest::getInternetChargeType()const
|
||||
void AllocateEipAddressRequest::setInternetChargeType(const std::string& internetChargeType)
|
||||
{
|
||||
internetChargeType_ = internetChargeType;
|
||||
setCoreParameter("InternetChargeType", internetChargeType);
|
||||
setParameter("InternetChargeType", internetChargeType);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AllocatePublicIpAddressRequest::getIpAddress()const
|
||||
void AllocatePublicIpAddressRequest::setIpAddress(const std::string& ipAddress)
|
||||
{
|
||||
ipAddress_ = ipAddress;
|
||||
setCoreParameter("IpAddress", ipAddress);
|
||||
setParameter("IpAddress", ipAddress);
|
||||
}
|
||||
|
||||
long AllocatePublicIpAddressRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AllocatePublicIpAddressRequest::getResourceOwnerId()const
|
||||
void AllocatePublicIpAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
@@ -57,7 +57,7 @@ std::string AllocatePublicIpAddressRequest::getVlanId()const
|
||||
void AllocatePublicIpAddressRequest::setVlanId(const std::string& vlanId)
|
||||
{
|
||||
vlanId_ = vlanId;
|
||||
setCoreParameter("VlanId", vlanId);
|
||||
setParameter("VlanId", vlanId);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AllocatePublicIpAddressRequest::getResourceOwnerAccount()const
|
||||
void AllocatePublicIpAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AllocatePublicIpAddressRequest::getOwnerAccount()const
|
||||
void AllocatePublicIpAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AllocatePublicIpAddressRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AllocatePublicIpAddressRequest::getOwnerId()const
|
||||
void AllocatePublicIpAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
@@ -101,6 +101,6 @@ std::string AllocatePublicIpAddressRequest::getInstanceId()const
|
||||
void AllocatePublicIpAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ApplyAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getAutoSnapshotPolicyId()const
|
||||
@@ -46,7 +46,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getAutoSnapshotPolicyId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setAutoSnapshotPolicyId(const std::string& autoSnapshotPolicyId)
|
||||
{
|
||||
autoSnapshotPolicyId_ = autoSnapshotPolicyId;
|
||||
setCoreParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
setParameter("AutoSnapshotPolicyId", autoSnapshotPolicyId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getRegionId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
@@ -68,7 +68,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setDiskIds(const std::string& diskIds)
|
||||
{
|
||||
diskIds_ = diskIds;
|
||||
setCoreParameter("DiskIds", diskIds);
|
||||
setParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string ApplyAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ApplyAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long ApplyAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
void ApplyAutoSnapshotPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssignIpv6AddressesRequest::getResourceOwnerId()const
|
||||
void AssignIpv6AddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AssignIpv6AddressesRequest::getRegionId()const
|
||||
void AssignIpv6AddressesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string AssignIpv6AddressesRequest::getResourceOwnerAccount()const
|
||||
void AssignIpv6AddressesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int AssignIpv6AddressesRequest::getIpv6AddressCount()const
|
||||
@@ -68,7 +68,7 @@ int AssignIpv6AddressesRequest::getIpv6AddressCount()const
|
||||
void AssignIpv6AddressesRequest::setIpv6AddressCount(int ipv6AddressCount)
|
||||
{
|
||||
ipv6AddressCount_ = ipv6AddressCount;
|
||||
setCoreParameter("Ipv6AddressCount", std::to_string(ipv6AddressCount));
|
||||
setParameter("Ipv6AddressCount", std::to_string(ipv6AddressCount));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssignIpv6AddressesRequest::getOwnerAccount()const
|
||||
void AssignIpv6AddressesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssignIpv6AddressesRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AssignIpv6AddressesRequest::getOwnerId()const
|
||||
void AssignIpv6AddressesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssignIpv6AddressesRequest::getNetworkInterfaceId()const
|
||||
@@ -101,7 +101,7 @@ std::string AssignIpv6AddressesRequest::getNetworkInterfaceId()const
|
||||
void AssignIpv6AddressesRequest::setNetworkInterfaceId(const std::string& networkInterfaceId)
|
||||
{
|
||||
networkInterfaceId_ = networkInterfaceId;
|
||||
setCoreParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
setParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
}
|
||||
|
||||
std::vector<std::string> AssignIpv6AddressesRequest::getIpv6Address()const
|
||||
@@ -113,7 +113,7 @@ void AssignIpv6AddressesRequest::setIpv6Address(const std::vector<std::string>&
|
||||
{
|
||||
ipv6Address_ = ipv6Address;
|
||||
for(int dep1 = 0; dep1!= ipv6Address.size(); dep1++) {
|
||||
setCoreParameter("Ipv6Address."+ std::to_string(dep1), ipv6Address.at(dep1));
|
||||
setParameter("Ipv6Address."+ std::to_string(dep1), ipv6Address.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssignPrivateIpAddressesRequest::getResourceOwnerId()const
|
||||
void AssignPrivateIpAddressesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int AssignPrivateIpAddressesRequest::getSecondaryPrivateIpAddressCount()const
|
||||
@@ -46,7 +46,7 @@ int AssignPrivateIpAddressesRequest::getSecondaryPrivateIpAddressCount()const
|
||||
void AssignPrivateIpAddressesRequest::setSecondaryPrivateIpAddressCount(int secondaryPrivateIpAddressCount)
|
||||
{
|
||||
secondaryPrivateIpAddressCount_ = secondaryPrivateIpAddressCount;
|
||||
setCoreParameter("SecondaryPrivateIpAddressCount", std::to_string(secondaryPrivateIpAddressCount));
|
||||
setParameter("SecondaryPrivateIpAddressCount", std::to_string(secondaryPrivateIpAddressCount));
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AssignPrivateIpAddressesRequest::getRegionId()const
|
||||
void AssignPrivateIpAddressesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AssignPrivateIpAddressesRequest::getResourceOwnerAccount()const
|
||||
void AssignPrivateIpAddressesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssignPrivateIpAddressesRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssignPrivateIpAddressesRequest::getOwnerAccount()const
|
||||
void AssignPrivateIpAddressesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssignPrivateIpAddressesRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long AssignPrivateIpAddressesRequest::getOwnerId()const
|
||||
void AssignPrivateIpAddressesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::vector<std::string> AssignPrivateIpAddressesRequest::getPrivateIpAddress()const
|
||||
@@ -102,7 +102,7 @@ void AssignPrivateIpAddressesRequest::setPrivateIpAddress(const std::vector<std:
|
||||
{
|
||||
privateIpAddress_ = privateIpAddress;
|
||||
for(int dep1 = 0; dep1!= privateIpAddress.size(); dep1++) {
|
||||
setCoreParameter("PrivateIpAddress."+ std::to_string(dep1), privateIpAddress.at(dep1));
|
||||
setParameter("PrivateIpAddress."+ std::to_string(dep1), privateIpAddress.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,6 @@ std::string AssignPrivateIpAddressesRequest::getNetworkInterfaceId()const
|
||||
void AssignPrivateIpAddressesRequest::setNetworkInterfaceId(const std::string& networkInterfaceId)
|
||||
{
|
||||
networkInterfaceId_ = networkInterfaceId;
|
||||
setCoreParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
setParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssociateEipAddressRequest::getResourceOwnerId()const
|
||||
void AssociateEipAddressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
@@ -46,7 +46,7 @@ std::string AssociateEipAddressRequest::getAllocationId()const
|
||||
void AssociateEipAddressRequest::setAllocationId(const std::string& allocationId)
|
||||
{
|
||||
allocationId_ = allocationId;
|
||||
setCoreParameter("AllocationId", allocationId);
|
||||
setParameter("AllocationId", allocationId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AssociateEipAddressRequest::getRegionId()const
|
||||
void AssociateEipAddressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceType()const
|
||||
@@ -68,7 +68,7 @@ std::string AssociateEipAddressRequest::getInstanceType()const
|
||||
void AssociateEipAddressRequest::setInstanceType(const std::string& instanceType)
|
||||
{
|
||||
instanceType_ = instanceType;
|
||||
setCoreParameter("InstanceType", instanceType);
|
||||
setParameter("InstanceType", instanceType);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssociateEipAddressRequest::getResourceOwnerAccount()const
|
||||
void AssociateEipAddressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AssociateEipAddressRequest::getOwnerAccount()const
|
||||
void AssociateEipAddressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssociateEipAddressRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AssociateEipAddressRequest::getOwnerId()const
|
||||
void AssociateEipAddressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
@@ -112,6 +112,6 @@ std::string AssociateEipAddressRequest::getInstanceId()const
|
||||
void AssociateEipAddressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AssociateHaVipRequest::getResourceOwnerId()const
|
||||
void AssociateHaVipRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string AssociateHaVipRequest::getClientToken()const
|
||||
void AssociateHaVipRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AssociateHaVipRequest::getRegionId()const
|
||||
void AssociateHaVipRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getHaVipId()const
|
||||
@@ -68,7 +68,7 @@ std::string AssociateHaVipRequest::getHaVipId()const
|
||||
void AssociateHaVipRequest::setHaVipId(const std::string& haVipId)
|
||||
{
|
||||
haVipId_ = haVipId;
|
||||
setCoreParameter("HaVipId", haVipId);
|
||||
setParameter("HaVipId", haVipId);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string AssociateHaVipRequest::getResourceOwnerAccount()const
|
||||
void AssociateHaVipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string AssociateHaVipRequest::getOwnerAccount()const
|
||||
void AssociateHaVipRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AssociateHaVipRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AssociateHaVipRequest::getOwnerId()const
|
||||
void AssociateHaVipRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AssociateHaVipRequest::getInstanceId()const
|
||||
@@ -112,6 +112,6 @@ std::string AssociateHaVipRequest::getInstanceId()const
|
||||
void AssociateHaVipRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AttachClassicLinkVpcRequest::getResourceOwnerId()const
|
||||
void AttachClassicLinkVpcRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AttachClassicLinkVpcRequest::getRegionId()const
|
||||
void AttachClassicLinkVpcRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string AttachClassicLinkVpcRequest::getResourceOwnerAccount()const
|
||||
void AttachClassicLinkVpcRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AttachClassicLinkVpcRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long AttachClassicLinkVpcRequest::getOwnerId()const
|
||||
void AttachClassicLinkVpcRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getInstanceId()const
|
||||
@@ -79,7 +79,7 @@ std::string AttachClassicLinkVpcRequest::getInstanceId()const
|
||||
void AttachClassicLinkVpcRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachClassicLinkVpcRequest::getVpcId()const
|
||||
@@ -90,6 +90,6 @@ std::string AttachClassicLinkVpcRequest::getVpcId()const
|
||||
void AttachClassicLinkVpcRequest::setVpcId(const std::string& vpcId)
|
||||
{
|
||||
vpcId_ = vpcId;
|
||||
setCoreParameter("VpcId", vpcId);
|
||||
setParameter("VpcId", vpcId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AttachDiskRequest::getResourceOwnerId()const
|
||||
void AttachDiskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getKeyPairName()const
|
||||
@@ -46,7 +46,7 @@ std::string AttachDiskRequest::getKeyPairName()const
|
||||
void AttachDiskRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
bool AttachDiskRequest::getBootable()const
|
||||
@@ -57,7 +57,7 @@ bool AttachDiskRequest::getBootable()const
|
||||
void AttachDiskRequest::setBootable(bool bootable)
|
||||
{
|
||||
bootable_ = bootable;
|
||||
setCoreParameter("Bootable", bootable ? "true" : "false");
|
||||
setParameter("Bootable", bootable ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getPassword()const
|
||||
@@ -68,7 +68,7 @@ std::string AttachDiskRequest::getPassword()const
|
||||
void AttachDiskRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setCoreParameter("Password", password);
|
||||
setParameter("Password", password);
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getDiskId()const
|
||||
@@ -79,7 +79,7 @@ std::string AttachDiskRequest::getDiskId()const
|
||||
void AttachDiskRequest::setDiskId(const std::string& diskId)
|
||||
{
|
||||
diskId_ = diskId;
|
||||
setCoreParameter("DiskId", diskId);
|
||||
setParameter("DiskId", diskId);
|
||||
}
|
||||
|
||||
bool AttachDiskRequest::getDeleteWithInstance()const
|
||||
@@ -90,7 +90,7 @@ bool AttachDiskRequest::getDeleteWithInstance()const
|
||||
void AttachDiskRequest::setDeleteWithInstance(bool deleteWithInstance)
|
||||
{
|
||||
deleteWithInstance_ = deleteWithInstance;
|
||||
setCoreParameter("DeleteWithInstance", deleteWithInstance ? "true" : "false");
|
||||
setParameter("DeleteWithInstance", deleteWithInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getResourceOwnerAccount()const
|
||||
@@ -101,7 +101,7 @@ std::string AttachDiskRequest::getResourceOwnerAccount()const
|
||||
void AttachDiskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string AttachDiskRequest::getOwnerAccount()const
|
||||
void AttachDiskRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AttachDiskRequest::getOwnerId()const
|
||||
@@ -123,7 +123,7 @@ long AttachDiskRequest::getOwnerId()const
|
||||
void AttachDiskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getInstanceId()const
|
||||
@@ -134,7 +134,7 @@ std::string AttachDiskRequest::getInstanceId()const
|
||||
void AttachDiskRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachDiskRequest::getDevice()const
|
||||
@@ -145,6 +145,6 @@ std::string AttachDiskRequest::getDevice()const
|
||||
void AttachDiskRequest::setDevice(const std::string& device)
|
||||
{
|
||||
device_ = device;
|
||||
setCoreParameter("Device", device);
|
||||
setParameter("Device", device);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AttachInstanceRamRoleRequest::getResourceOwnerId()const
|
||||
void AttachInstanceRamRoleRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AttachInstanceRamRoleRequest::getRegionId()const
|
||||
void AttachInstanceRamRoleRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string AttachInstanceRamRoleRequest::getResourceOwnerAccount()const
|
||||
void AttachInstanceRamRoleRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getRamRoleName()const
|
||||
@@ -68,7 +68,7 @@ std::string AttachInstanceRamRoleRequest::getRamRoleName()const
|
||||
void AttachInstanceRamRoleRequest::setRamRoleName(const std::string& ramRoleName)
|
||||
{
|
||||
ramRoleName_ = ramRoleName;
|
||||
setCoreParameter("RamRoleName", ramRoleName);
|
||||
setParameter("RamRoleName", ramRoleName);
|
||||
}
|
||||
|
||||
long AttachInstanceRamRoleRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long AttachInstanceRamRoleRequest::getOwnerId()const
|
||||
void AttachInstanceRamRoleRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachInstanceRamRoleRequest::getInstanceIds()const
|
||||
@@ -90,6 +90,6 @@ std::string AttachInstanceRamRoleRequest::getInstanceIds()const
|
||||
void AttachInstanceRamRoleRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
setParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AttachKeyPairRequest::getResourceOwnerId()const
|
||||
void AttachKeyPairRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getKeyPairName()const
|
||||
@@ -46,7 +46,7 @@ std::string AttachKeyPairRequest::getKeyPairName()const
|
||||
void AttachKeyPairRequest::setKeyPairName(const std::string& keyPairName)
|
||||
{
|
||||
keyPairName_ = keyPairName;
|
||||
setCoreParameter("KeyPairName", keyPairName);
|
||||
setParameter("KeyPairName", keyPairName);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string AttachKeyPairRequest::getRegionId()const
|
||||
void AttachKeyPairRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AttachKeyPairRequest::getResourceOwnerAccount()const
|
||||
void AttachKeyPairRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long AttachKeyPairRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long AttachKeyPairRequest::getOwnerId()const
|
||||
void AttachKeyPairRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachKeyPairRequest::getInstanceIds()const
|
||||
@@ -90,6 +90,6 @@ std::string AttachKeyPairRequest::getInstanceIds()const
|
||||
void AttachKeyPairRequest::setInstanceIds(const std::string& instanceIds)
|
||||
{
|
||||
instanceIds_ = instanceIds;
|
||||
setCoreParameter("InstanceIds", instanceIds);
|
||||
setParameter("InstanceIds", instanceIds);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long AttachNetworkInterfaceRequest::getResourceOwnerId()const
|
||||
void AttachNetworkInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string AttachNetworkInterfaceRequest::getRegionId()const
|
||||
void AttachNetworkInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string AttachNetworkInterfaceRequest::getResourceOwnerAccount()const
|
||||
void AttachNetworkInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string AttachNetworkInterfaceRequest::getOwnerAccount()const
|
||||
void AttachNetworkInterfaceRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long AttachNetworkInterfaceRequest::getOwnerId()const
|
||||
@@ -79,7 +79,7 @@ long AttachNetworkInterfaceRequest::getOwnerId()const
|
||||
void AttachNetworkInterfaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getInstanceId()const
|
||||
@@ -90,7 +90,7 @@ std::string AttachNetworkInterfaceRequest::getInstanceId()const
|
||||
void AttachNetworkInterfaceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AttachNetworkInterfaceRequest::getNetworkInterfaceId()const
|
||||
@@ -101,6 +101,6 @@ std::string AttachNetworkInterfaceRequest::getNetworkInterfaceId()const
|
||||
void AttachNetworkInterfaceRequest::setNetworkInterfaceId(const std::string& networkInterfaceId)
|
||||
{
|
||||
networkInterfaceId_ = networkInterfaceId;
|
||||
setCoreParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
setParameter("NetworkInterfaceId", networkInterfaceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getNicType()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setNicType(const std::string& nicType)
|
||||
{
|
||||
nicType_ = nicType;
|
||||
setCoreParameter("NicType", nicType);
|
||||
setParameter("NicType", nicType);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AuthorizeSecurityGroupEgressRequest::getResourceOwnerId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSourcePortRange()const
|
||||
@@ -57,7 +57,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getSourcePortRange()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setSourcePortRange(const std::string& sourcePortRange)
|
||||
{
|
||||
sourcePortRange_ = sourcePortRange;
|
||||
setCoreParameter("SourcePortRange", sourcePortRange);
|
||||
setParameter("SourcePortRange", sourcePortRange);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getClientToken()const
|
||||
@@ -68,7 +68,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getClientToken()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSecurityGroupId()const
|
||||
@@ -79,7 +79,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getSecurityGroupId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDescription()const
|
||||
@@ -90,7 +90,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getDescription()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getRegionId()const
|
||||
@@ -101,7 +101,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getRegionId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getIpv6DestCidrIp()const
|
||||
@@ -112,7 +112,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getIpv6DestCidrIp()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setIpv6DestCidrIp(const std::string& ipv6DestCidrIp)
|
||||
{
|
||||
ipv6DestCidrIp_ = ipv6DestCidrIp;
|
||||
setCoreParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
|
||||
setParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getIpv6SourceCidrIp()const
|
||||
@@ -123,7 +123,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getIpv6SourceCidrIp()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setIpv6SourceCidrIp(const std::string& ipv6SourceCidrIp)
|
||||
{
|
||||
ipv6SourceCidrIp_ = ipv6SourceCidrIp;
|
||||
setCoreParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
|
||||
setParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getPolicy()const
|
||||
@@ -134,7 +134,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getPolicy()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setPolicy(const std::string& policy)
|
||||
{
|
||||
policy_ = policy;
|
||||
setCoreParameter("Policy", policy);
|
||||
setParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getPortRange()const
|
||||
@@ -145,7 +145,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getPortRange()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setPortRange(const std::string& portRange)
|
||||
{
|
||||
portRange_ = portRange;
|
||||
setCoreParameter("PortRange", portRange);
|
||||
setParameter("PortRange", portRange);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getResourceOwnerAccount()const
|
||||
@@ -156,7 +156,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getResourceOwnerAccount()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getIpProtocol()const
|
||||
@@ -167,7 +167,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getIpProtocol()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setIpProtocol(const std::string& ipProtocol)
|
||||
{
|
||||
ipProtocol_ = ipProtocol;
|
||||
setCoreParameter("IpProtocol", ipProtocol);
|
||||
setParameter("IpProtocol", ipProtocol);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getOwnerAccount()const
|
||||
@@ -178,7 +178,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getOwnerAccount()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getSourceCidrIp()const
|
||||
@@ -189,7 +189,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getSourceCidrIp()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setSourceCidrIp(const std::string& sourceCidrIp)
|
||||
{
|
||||
sourceCidrIp_ = sourceCidrIp;
|
||||
setCoreParameter("SourceCidrIp", sourceCidrIp);
|
||||
setParameter("SourceCidrIp", sourceCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDestGroupId()const
|
||||
@@ -200,7 +200,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getDestGroupId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setDestGroupId(const std::string& destGroupId)
|
||||
{
|
||||
destGroupId_ = destGroupId;
|
||||
setCoreParameter("DestGroupId", destGroupId);
|
||||
setParameter("DestGroupId", destGroupId);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getOwnerId()const
|
||||
@@ -211,7 +211,7 @@ long AuthorizeSecurityGroupEgressRequest::getOwnerId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDestGroupOwnerAccount()const
|
||||
@@ -222,7 +222,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getDestGroupOwnerAccount()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setDestGroupOwnerAccount(const std::string& destGroupOwnerAccount)
|
||||
{
|
||||
destGroupOwnerAccount_ = destGroupOwnerAccount;
|
||||
setCoreParameter("DestGroupOwnerAccount", destGroupOwnerAccount);
|
||||
setParameter("DestGroupOwnerAccount", destGroupOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getPriority()const
|
||||
@@ -233,7 +233,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getPriority()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setPriority(const std::string& priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setCoreParameter("Priority", priority);
|
||||
setParameter("Priority", priority);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupEgressRequest::getDestCidrIp()const
|
||||
@@ -244,7 +244,7 @@ std::string AuthorizeSecurityGroupEgressRequest::getDestCidrIp()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setDestCidrIp(const std::string& destCidrIp)
|
||||
{
|
||||
destCidrIp_ = destCidrIp;
|
||||
setCoreParameter("DestCidrIp", destCidrIp);
|
||||
setParameter("DestCidrIp", destCidrIp);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupEgressRequest::getDestGroupOwnerId()const
|
||||
@@ -255,6 +255,6 @@ long AuthorizeSecurityGroupEgressRequest::getDestGroupOwnerId()const
|
||||
void AuthorizeSecurityGroupEgressRequest::setDestGroupOwnerId(long destGroupOwnerId)
|
||||
{
|
||||
destGroupOwnerId_ = destGroupOwnerId;
|
||||
setCoreParameter("DestGroupOwnerId", std::to_string(destGroupOwnerId));
|
||||
setParameter("DestGroupOwnerId", std::to_string(destGroupOwnerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string AuthorizeSecurityGroupRequest::getNicType()const
|
||||
void AuthorizeSecurityGroupRequest::setNicType(const std::string& nicType)
|
||||
{
|
||||
nicType_ = nicType;
|
||||
setCoreParameter("NicType", nicType);
|
||||
setParameter("NicType", nicType);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getResourceOwnerId()const
|
||||
@@ -46,7 +46,7 @@ long AuthorizeSecurityGroupRequest::getResourceOwnerId()const
|
||||
void AuthorizeSecurityGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourcePortRange()const
|
||||
@@ -57,7 +57,7 @@ std::string AuthorizeSecurityGroupRequest::getSourcePortRange()const
|
||||
void AuthorizeSecurityGroupRequest::setSourcePortRange(const std::string& sourcePortRange)
|
||||
{
|
||||
sourcePortRange_ = sourcePortRange;
|
||||
setCoreParameter("SourcePortRange", sourcePortRange);
|
||||
setParameter("SourcePortRange", sourcePortRange);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getClientToken()const
|
||||
@@ -68,7 +68,7 @@ std::string AuthorizeSecurityGroupRequest::getClientToken()const
|
||||
void AuthorizeSecurityGroupRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSecurityGroupId()const
|
||||
@@ -79,7 +79,7 @@ std::string AuthorizeSecurityGroupRequest::getSecurityGroupId()const
|
||||
void AuthorizeSecurityGroupRequest::setSecurityGroupId(const std::string& securityGroupId)
|
||||
{
|
||||
securityGroupId_ = securityGroupId;
|
||||
setCoreParameter("SecurityGroupId", securityGroupId);
|
||||
setParameter("SecurityGroupId", securityGroupId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getDescription()const
|
||||
@@ -90,7 +90,7 @@ std::string AuthorizeSecurityGroupRequest::getDescription()const
|
||||
void AuthorizeSecurityGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getSourceGroupOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long AuthorizeSecurityGroupRequest::getSourceGroupOwnerId()const
|
||||
void AuthorizeSecurityGroupRequest::setSourceGroupOwnerId(long sourceGroupOwnerId)
|
||||
{
|
||||
sourceGroupOwnerId_ = sourceGroupOwnerId;
|
||||
setCoreParameter("SourceGroupOwnerId", std::to_string(sourceGroupOwnerId));
|
||||
setParameter("SourceGroupOwnerId", std::to_string(sourceGroupOwnerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourceGroupOwnerAccount()const
|
||||
@@ -112,7 +112,7 @@ std::string AuthorizeSecurityGroupRequest::getSourceGroupOwnerAccount()const
|
||||
void AuthorizeSecurityGroupRequest::setSourceGroupOwnerAccount(const std::string& sourceGroupOwnerAccount)
|
||||
{
|
||||
sourceGroupOwnerAccount_ = sourceGroupOwnerAccount;
|
||||
setCoreParameter("SourceGroupOwnerAccount", sourceGroupOwnerAccount);
|
||||
setParameter("SourceGroupOwnerAccount", sourceGroupOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getRegionId()const
|
||||
@@ -123,7 +123,7 @@ std::string AuthorizeSecurityGroupRequest::getRegionId()const
|
||||
void AuthorizeSecurityGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getIpv6SourceCidrIp()const
|
||||
@@ -134,7 +134,7 @@ std::string AuthorizeSecurityGroupRequest::getIpv6SourceCidrIp()const
|
||||
void AuthorizeSecurityGroupRequest::setIpv6SourceCidrIp(const std::string& ipv6SourceCidrIp)
|
||||
{
|
||||
ipv6SourceCidrIp_ = ipv6SourceCidrIp;
|
||||
setCoreParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
|
||||
setParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getIpv6DestCidrIp()const
|
||||
@@ -145,7 +145,7 @@ std::string AuthorizeSecurityGroupRequest::getIpv6DestCidrIp()const
|
||||
void AuthorizeSecurityGroupRequest::setIpv6DestCidrIp(const std::string& ipv6DestCidrIp)
|
||||
{
|
||||
ipv6DestCidrIp_ = ipv6DestCidrIp;
|
||||
setCoreParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
|
||||
setParameter("Ipv6DestCidrIp", ipv6DestCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getPolicy()const
|
||||
@@ -156,7 +156,7 @@ std::string AuthorizeSecurityGroupRequest::getPolicy()const
|
||||
void AuthorizeSecurityGroupRequest::setPolicy(const std::string& policy)
|
||||
{
|
||||
policy_ = policy;
|
||||
setCoreParameter("Policy", policy);
|
||||
setParameter("Policy", policy);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getPortRange()const
|
||||
@@ -167,7 +167,7 @@ std::string AuthorizeSecurityGroupRequest::getPortRange()const
|
||||
void AuthorizeSecurityGroupRequest::setPortRange(const std::string& portRange)
|
||||
{
|
||||
portRange_ = portRange;
|
||||
setCoreParameter("PortRange", portRange);
|
||||
setParameter("PortRange", portRange);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -178,7 +178,7 @@ std::string AuthorizeSecurityGroupRequest::getResourceOwnerAccount()const
|
||||
void AuthorizeSecurityGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getIpProtocol()const
|
||||
@@ -189,7 +189,7 @@ std::string AuthorizeSecurityGroupRequest::getIpProtocol()const
|
||||
void AuthorizeSecurityGroupRequest::setIpProtocol(const std::string& ipProtocol)
|
||||
{
|
||||
ipProtocol_ = ipProtocol;
|
||||
setCoreParameter("IpProtocol", ipProtocol);
|
||||
setParameter("IpProtocol", ipProtocol);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getOwnerAccount()const
|
||||
@@ -200,7 +200,7 @@ std::string AuthorizeSecurityGroupRequest::getOwnerAccount()const
|
||||
void AuthorizeSecurityGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourceCidrIp()const
|
||||
@@ -211,7 +211,7 @@ std::string AuthorizeSecurityGroupRequest::getSourceCidrIp()const
|
||||
void AuthorizeSecurityGroupRequest::setSourceCidrIp(const std::string& sourceCidrIp)
|
||||
{
|
||||
sourceCidrIp_ = sourceCidrIp;
|
||||
setCoreParameter("SourceCidrIp", sourceCidrIp);
|
||||
setParameter("SourceCidrIp", sourceCidrIp);
|
||||
}
|
||||
|
||||
long AuthorizeSecurityGroupRequest::getOwnerId()const
|
||||
@@ -222,7 +222,7 @@ long AuthorizeSecurityGroupRequest::getOwnerId()const
|
||||
void AuthorizeSecurityGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getPriority()const
|
||||
@@ -233,7 +233,7 @@ std::string AuthorizeSecurityGroupRequest::getPriority()const
|
||||
void AuthorizeSecurityGroupRequest::setPriority(const std::string& priority)
|
||||
{
|
||||
priority_ = priority;
|
||||
setCoreParameter("Priority", priority);
|
||||
setParameter("Priority", priority);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getDestCidrIp()const
|
||||
@@ -244,7 +244,7 @@ std::string AuthorizeSecurityGroupRequest::getDestCidrIp()const
|
||||
void AuthorizeSecurityGroupRequest::setDestCidrIp(const std::string& destCidrIp)
|
||||
{
|
||||
destCidrIp_ = destCidrIp;
|
||||
setCoreParameter("DestCidrIp", destCidrIp);
|
||||
setParameter("DestCidrIp", destCidrIp);
|
||||
}
|
||||
|
||||
std::string AuthorizeSecurityGroupRequest::getSourceGroupId()const
|
||||
@@ -255,6 +255,6 @@ std::string AuthorizeSecurityGroupRequest::getSourceGroupId()const
|
||||
void AuthorizeSecurityGroupRequest::setSourceGroupId(const std::string& sourceGroupId)
|
||||
{
|
||||
sourceGroupId_ = sourceGroupId;
|
||||
setCoreParameter("SourceGroupId", sourceGroupId);
|
||||
setParameter("SourceGroupId", sourceGroupId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
void CancelAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelAutoSnapshotPolicyRequest::getRegionId()const
|
||||
void CancelAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
@@ -57,7 +57,7 @@ std::string CancelAutoSnapshotPolicyRequest::getDiskIds()const
|
||||
void CancelAutoSnapshotPolicyRequest::setDiskIds(const std::string& diskIds)
|
||||
{
|
||||
diskIds_ = diskIds;
|
||||
setCoreParameter("DiskIds", diskIds);
|
||||
setParameter("DiskIds", diskIds);
|
||||
}
|
||||
|
||||
std::string CancelAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
void CancelAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
@@ -79,6 +79,6 @@ long CancelAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
void CancelAutoSnapshotPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelCopyImageRequest::getResourceOwnerId()const
|
||||
void CancelCopyImageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getImageId()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelCopyImageRequest::getImageId()const
|
||||
void CancelCopyImageRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setCoreParameter("ImageId", imageId);
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string CancelCopyImageRequest::getRegionId()const
|
||||
void CancelCopyImageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelCopyImageRequest::getResourceOwnerAccount()const
|
||||
void CancelCopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelCopyImageRequest::getOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string CancelCopyImageRequest::getOwnerAccount()const
|
||||
void CancelCopyImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CancelCopyImageRequest::getOwnerId()const
|
||||
@@ -90,6 +90,6 @@ long CancelCopyImageRequest::getOwnerId()const
|
||||
void CancelCopyImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelPhysicalConnectionRequest::getResourceOwnerId()const
|
||||
void CancelPhysicalConnectionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getClientToken()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelPhysicalConnectionRequest::getClientToken()const
|
||||
void CancelPhysicalConnectionRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string CancelPhysicalConnectionRequest::getRegionId()const
|
||||
void CancelPhysicalConnectionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getUserCidr()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelPhysicalConnectionRequest::getUserCidr()const
|
||||
void CancelPhysicalConnectionRequest::setUserCidr(const std::string& userCidr)
|
||||
{
|
||||
userCidr_ = userCidr;
|
||||
setCoreParameter("UserCidr", userCidr);
|
||||
setParameter("UserCidr", userCidr);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string CancelPhysicalConnectionRequest::getResourceOwnerAccount()const
|
||||
void CancelPhysicalConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
|
||||
@@ -90,7 +90,7 @@ std::string CancelPhysicalConnectionRequest::getOwnerAccount()const
|
||||
void CancelPhysicalConnectionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CancelPhysicalConnectionRequest::getOwnerId()const
|
||||
@@ -101,7 +101,7 @@ long CancelPhysicalConnectionRequest::getOwnerId()const
|
||||
void CancelPhysicalConnectionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
|
||||
@@ -112,6 +112,6 @@ std::string CancelPhysicalConnectionRequest::getPhysicalConnectionId()const
|
||||
void CancelPhysicalConnectionRequest::setPhysicalConnectionId(const std::string& physicalConnectionId)
|
||||
{
|
||||
physicalConnectionId_ = physicalConnectionId;
|
||||
setCoreParameter("PhysicalConnectionId", physicalConnectionId);
|
||||
setParameter("PhysicalConnectionId", physicalConnectionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ void CancelSimulatedSystemEventsRequest::setEventId(const std::vector<std::strin
|
||||
{
|
||||
eventId_ = eventId;
|
||||
for(int dep1 = 0; dep1!= eventId.size(); dep1++) {
|
||||
setCoreParameter("EventId."+ std::to_string(dep1), eventId.at(dep1));
|
||||
setParameter("EventId."+ std::to_string(dep1), eventId.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ long CancelSimulatedSystemEventsRequest::getResourceOwnerId()const
|
||||
void CancelSimulatedSystemEventsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getRegionId()const
|
||||
@@ -59,7 +59,7 @@ std::string CancelSimulatedSystemEventsRequest::getRegionId()const
|
||||
void CancelSimulatedSystemEventsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getResourceOwnerAccount()const
|
||||
@@ -70,7 +70,7 @@ std::string CancelSimulatedSystemEventsRequest::getResourceOwnerAccount()const
|
||||
void CancelSimulatedSystemEventsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelSimulatedSystemEventsRequest::getOwnerAccount()const
|
||||
@@ -81,7 +81,7 @@ std::string CancelSimulatedSystemEventsRequest::getOwnerAccount()const
|
||||
void CancelSimulatedSystemEventsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CancelSimulatedSystemEventsRequest::getOwnerId()const
|
||||
@@ -92,6 +92,6 @@ long CancelSimulatedSystemEventsRequest::getOwnerId()const
|
||||
void CancelSimulatedSystemEventsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CancelTaskRequest::getResourceOwnerId()const
|
||||
void CancelTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string CancelTaskRequest::getRegionId()const
|
||||
void CancelTaskRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getTaskId()const
|
||||
@@ -57,7 +57,7 @@ std::string CancelTaskRequest::getTaskId()const
|
||||
void CancelTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
setParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string CancelTaskRequest::getResourceOwnerAccount()const
|
||||
@@ -68,7 +68,7 @@ std::string CancelTaskRequest::getResourceOwnerAccount()const
|
||||
void CancelTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CancelTaskRequest::getOwnerId()const
|
||||
@@ -79,6 +79,6 @@ long CancelTaskRequest::getOwnerId()const
|
||||
void CancelTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ConnectRouterInterfaceRequest::getResourceOwnerId()const
|
||||
void ConnectRouterInterfaceRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ConnectRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
@@ -46,7 +46,7 @@ std::string ConnectRouterInterfaceRequest::getResourceOwnerAccount()const
|
||||
void ConnectRouterInterfaceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ConnectRouterInterfaceRequest::getOwnerId()const
|
||||
@@ -57,7 +57,7 @@ long ConnectRouterInterfaceRequest::getOwnerId()const
|
||||
void ConnectRouterInterfaceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ConnectRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
@@ -68,7 +68,7 @@ std::string ConnectRouterInterfaceRequest::getRouterInterfaceId()const
|
||||
void ConnectRouterInterfaceRequest::setRouterInterfaceId(const std::string& routerInterfaceId)
|
||||
{
|
||||
routerInterfaceId_ = routerInterfaceId;
|
||||
setCoreParameter("RouterInterfaceId", routerInterfaceId);
|
||||
setParameter("RouterInterfaceId", routerInterfaceId);
|
||||
}
|
||||
|
||||
std::string ConnectRouterInterfaceRequest::getRegionId()const
|
||||
@@ -79,6 +79,6 @@ std::string ConnectRouterInterfaceRequest::getRegionId()const
|
||||
void ConnectRouterInterfaceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ConvertNatPublicIpToEipRequest::getResourceOwnerId()const
|
||||
void ConvertNatPublicIpToEipRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getRegionId()const
|
||||
@@ -46,7 +46,7 @@ std::string ConvertNatPublicIpToEipRequest::getRegionId()const
|
||||
void ConvertNatPublicIpToEipRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getResourceOwnerAccount()const
|
||||
@@ -57,7 +57,7 @@ std::string ConvertNatPublicIpToEipRequest::getResourceOwnerAccount()const
|
||||
void ConvertNatPublicIpToEipRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ConvertNatPublicIpToEipRequest::getOwnerId()const
|
||||
@@ -68,7 +68,7 @@ long ConvertNatPublicIpToEipRequest::getOwnerId()const
|
||||
void ConvertNatPublicIpToEipRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ConvertNatPublicIpToEipRequest::getInstanceId()const
|
||||
@@ -79,6 +79,6 @@ std::string ConvertNatPublicIpToEipRequest::getInstanceId()const
|
||||
void ConvertNatPublicIpToEipRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CopyImageRequest::getResourceOwnerId()const
|
||||
void CopyImageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getImageId()const
|
||||
@@ -46,7 +46,7 @@ std::string CopyImageRequest::getImageId()const
|
||||
void CopyImageRequest::setImageId(const std::string& imageId)
|
||||
{
|
||||
imageId_ = imageId;
|
||||
setCoreParameter("ImageId", imageId);
|
||||
setParameter("ImageId", imageId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationRegionId()const
|
||||
@@ -57,7 +57,7 @@ std::string CopyImageRequest::getDestinationRegionId()const
|
||||
void CopyImageRequest::setDestinationRegionId(const std::string& destinationRegionId)
|
||||
{
|
||||
destinationRegionId_ = destinationRegionId;
|
||||
setCoreParameter("DestinationRegionId", destinationRegionId);
|
||||
setParameter("DestinationRegionId", destinationRegionId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getRegionId()const
|
||||
@@ -68,7 +68,7 @@ std::string CopyImageRequest::getRegionId()const
|
||||
void CopyImageRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<CopyImageRequest::Tag> CopyImageRequest::getTag()const
|
||||
@@ -81,9 +81,9 @@ void CopyImageRequest::setTag(const std::vector<Tag>& tag)
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1);
|
||||
setCoreParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setCoreParameter(tagObjStr + ".Key", tagObj.key);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ std::string CopyImageRequest::getResourceOwnerAccount()const
|
||||
void CopyImageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationImageName()const
|
||||
@@ -106,7 +106,7 @@ std::string CopyImageRequest::getDestinationImageName()const
|
||||
void CopyImageRequest::setDestinationImageName(const std::string& destinationImageName)
|
||||
{
|
||||
destinationImageName_ = destinationImageName;
|
||||
setCoreParameter("DestinationImageName", destinationImageName);
|
||||
setParameter("DestinationImageName", destinationImageName);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getOwnerAccount()const
|
||||
@@ -117,7 +117,7 @@ std::string CopyImageRequest::getOwnerAccount()const
|
||||
void CopyImageRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long CopyImageRequest::getOwnerId()const
|
||||
@@ -128,7 +128,7 @@ long CopyImageRequest::getOwnerId()const
|
||||
void CopyImageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
bool CopyImageRequest::getEncrypted()const
|
||||
@@ -139,7 +139,7 @@ bool CopyImageRequest::getEncrypted()const
|
||||
void CopyImageRequest::setEncrypted(bool encrypted)
|
||||
{
|
||||
encrypted_ = encrypted;
|
||||
setCoreParameter("Encrypted", encrypted ? "true" : "false");
|
||||
setParameter("Encrypted", encrypted ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getKMSKeyId()const
|
||||
@@ -150,7 +150,7 @@ std::string CopyImageRequest::getKMSKeyId()const
|
||||
void CopyImageRequest::setKMSKeyId(const std::string& kMSKeyId)
|
||||
{
|
||||
kMSKeyId_ = kMSKeyId;
|
||||
setCoreParameter("KMSKeyId", kMSKeyId);
|
||||
setParameter("KMSKeyId", kMSKeyId);
|
||||
}
|
||||
|
||||
std::string CopyImageRequest::getDestinationDescription()const
|
||||
@@ -161,6 +161,6 @@ std::string CopyImageRequest::getDestinationDescription()const
|
||||
void CopyImageRequest::setDestinationDescription(const std::string& destinationDescription)
|
||||
{
|
||||
destinationDescription_ = destinationDescription;
|
||||
setCoreParameter("DestinationDescription", destinationDescription);
|
||||
setParameter("DestinationDescription", destinationDescription);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateAutoProvisioningGroupRequest::getResourceOwnerId()const
|
||||
void CreateAutoProvisioningGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getAutoProvisioningGroupType()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateAutoProvisioningGroupRequest::getAutoProvisioningGroupType()co
|
||||
void CreateAutoProvisioningGroupRequest::setAutoProvisioningGroupType(const std::string& autoProvisioningGroupType)
|
||||
{
|
||||
autoProvisioningGroupType_ = autoProvisioningGroupType;
|
||||
setCoreParameter("AutoProvisioningGroupType", autoProvisioningGroupType);
|
||||
setParameter("AutoProvisioningGroupType", autoProvisioningGroupType);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getDescription()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateAutoProvisioningGroupRequest::getDescription()const
|
||||
void CreateAutoProvisioningGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getTerminateInstancesWithExpiration()const
|
||||
@@ -68,7 +68,7 @@ bool CreateAutoProvisioningGroupRequest::getTerminateInstancesWithExpiration()co
|
||||
void CreateAutoProvisioningGroupRequest::setTerminateInstancesWithExpiration(bool terminateInstancesWithExpiration)
|
||||
{
|
||||
terminateInstancesWithExpiration_ = terminateInstancesWithExpiration;
|
||||
setCoreParameter("TerminateInstancesWithExpiration", terminateInstancesWithExpiration ? "true" : "false");
|
||||
setParameter("TerminateInstancesWithExpiration", terminateInstancesWithExpiration ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getResourceGroupId()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateAutoProvisioningGroupRequest::getResourceGroupId()const
|
||||
void CreateAutoProvisioningGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setCoreParameter("ResourceGroupId", resourceGroupId);
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getSpotAllocationStrategy()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateAutoProvisioningGroupRequest::getSpotAllocationStrategy()const
|
||||
void CreateAutoProvisioningGroupRequest::setSpotAllocationStrategy(const std::string& spotAllocationStrategy)
|
||||
{
|
||||
spotAllocationStrategy_ = spotAllocationStrategy;
|
||||
setCoreParameter("SpotAllocationStrategy", spotAllocationStrategy);
|
||||
setParameter("SpotAllocationStrategy", spotAllocationStrategy);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getRegionId()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateAutoProvisioningGroupRequest::getRegionId()const
|
||||
void CreateAutoProvisioningGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool CreateAutoProvisioningGroupRequest::getTerminateInstances()const
|
||||
@@ -112,7 +112,7 @@ bool CreateAutoProvisioningGroupRequest::getTerminateInstances()const
|
||||
void CreateAutoProvisioningGroupRequest::setTerminateInstances(bool terminateInstances)
|
||||
{
|
||||
terminateInstances_ = terminateInstances;
|
||||
setCoreParameter("TerminateInstances", terminateInstances ? "true" : "false");
|
||||
setParameter("TerminateInstances", terminateInstances ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoAllocationStrategy()const
|
||||
@@ -123,7 +123,7 @@ std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoAllocationStrategy(
|
||||
void CreateAutoProvisioningGroupRequest::setPayAsYouGoAllocationStrategy(const std::string& payAsYouGoAllocationStrategy)
|
||||
{
|
||||
payAsYouGoAllocationStrategy_ = payAsYouGoAllocationStrategy;
|
||||
setCoreParameter("PayAsYouGoAllocationStrategy", payAsYouGoAllocationStrategy);
|
||||
setParameter("PayAsYouGoAllocationStrategy", payAsYouGoAllocationStrategy);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getDefaultTargetCapacityType()const
|
||||
@@ -134,7 +134,7 @@ std::string CreateAutoProvisioningGroupRequest::getDefaultTargetCapacityType()co
|
||||
void CreateAutoProvisioningGroupRequest::setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType)
|
||||
{
|
||||
defaultTargetCapacityType_ = defaultTargetCapacityType;
|
||||
setCoreParameter("DefaultTargetCapacityType", defaultTargetCapacityType);
|
||||
setParameter("DefaultTargetCapacityType", defaultTargetCapacityType);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getExcessCapacityTerminationPolicy()const
|
||||
@@ -145,7 +145,7 @@ std::string CreateAutoProvisioningGroupRequest::getExcessCapacityTerminationPoli
|
||||
void CreateAutoProvisioningGroupRequest::setExcessCapacityTerminationPolicy(const std::string& excessCapacityTerminationPolicy)
|
||||
{
|
||||
excessCapacityTerminationPolicy_ = excessCapacityTerminationPolicy;
|
||||
setCoreParameter("ExcessCapacityTerminationPolicy", excessCapacityTerminationPolicy);
|
||||
setParameter("ExcessCapacityTerminationPolicy", excessCapacityTerminationPolicy);
|
||||
}
|
||||
|
||||
std::vector<CreateAutoProvisioningGroupRequest::LaunchTemplateConfig> CreateAutoProvisioningGroupRequest::getLaunchTemplateConfig()const
|
||||
@@ -158,12 +158,12 @@ void CreateAutoProvisioningGroupRequest::setLaunchTemplateConfig(const std::vect
|
||||
launchTemplateConfig_ = launchTemplateConfig;
|
||||
for(int dep1 = 0; dep1!= launchTemplateConfig.size(); dep1++) {
|
||||
auto launchTemplateConfigObj = launchTemplateConfig.at(dep1);
|
||||
std::string launchTemplateConfigObjStr = "LaunchTemplateConfig." + std::to_string(dep1);
|
||||
setCoreParameter(launchTemplateConfigObjStr + ".InstanceType", launchTemplateConfigObj.instanceType);
|
||||
setCoreParameter(launchTemplateConfigObjStr + ".MaxPrice", std::to_string(launchTemplateConfigObj.maxPrice));
|
||||
setCoreParameter(launchTemplateConfigObjStr + ".VSwitchId", launchTemplateConfigObj.vSwitchId);
|
||||
setCoreParameter(launchTemplateConfigObjStr + ".WeightedCapacity", std::to_string(launchTemplateConfigObj.weightedCapacity));
|
||||
setCoreParameter(launchTemplateConfigObjStr + ".Priority", std::to_string(launchTemplateConfigObj.priority));
|
||||
std::string launchTemplateConfigObjStr = "LaunchTemplateConfig." + std::to_string(dep1 + 1);
|
||||
setParameter(launchTemplateConfigObjStr + ".InstanceType", launchTemplateConfigObj.instanceType);
|
||||
setParameter(launchTemplateConfigObjStr + ".MaxPrice", std::to_string(launchTemplateConfigObj.maxPrice));
|
||||
setParameter(launchTemplateConfigObjStr + ".VSwitchId", launchTemplateConfigObj.vSwitchId);
|
||||
setParameter(launchTemplateConfigObjStr + ".WeightedCapacity", std::to_string(launchTemplateConfigObj.weightedCapacity));
|
||||
setParameter(launchTemplateConfigObjStr + ".Priority", std::to_string(launchTemplateConfigObj.priority));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ std::string CreateAutoProvisioningGroupRequest::getValidUntil()const
|
||||
void CreateAutoProvisioningGroupRequest::setValidUntil(const std::string& validUntil)
|
||||
{
|
||||
validUntil_ = validUntil;
|
||||
setCoreParameter("ValidUntil", validUntil);
|
||||
setParameter("ValidUntil", validUntil);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getSpotInstanceInterruptionBehavior()const
|
||||
@@ -186,7 +186,7 @@ std::string CreateAutoProvisioningGroupRequest::getSpotInstanceInterruptionBehav
|
||||
void CreateAutoProvisioningGroupRequest::setSpotInstanceInterruptionBehavior(const std::string& spotInstanceInterruptionBehavior)
|
||||
{
|
||||
spotInstanceInterruptionBehavior_ = spotInstanceInterruptionBehavior;
|
||||
setCoreParameter("SpotInstanceInterruptionBehavior", spotInstanceInterruptionBehavior);
|
||||
setParameter("SpotInstanceInterruptionBehavior", spotInstanceInterruptionBehavior);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getLaunchTemplateId()const
|
||||
@@ -197,7 +197,7 @@ std::string CreateAutoProvisioningGroupRequest::getLaunchTemplateId()const
|
||||
void CreateAutoProvisioningGroupRequest::setLaunchTemplateId(const std::string& launchTemplateId)
|
||||
{
|
||||
launchTemplateId_ = launchTemplateId;
|
||||
setCoreParameter("LaunchTemplateId", launchTemplateId);
|
||||
setParameter("LaunchTemplateId", launchTemplateId);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getResourceOwnerAccount()const
|
||||
@@ -208,7 +208,7 @@ std::string CreateAutoProvisioningGroupRequest::getResourceOwnerAccount()const
|
||||
void CreateAutoProvisioningGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getOwnerAccount()const
|
||||
@@ -219,7 +219,7 @@ std::string CreateAutoProvisioningGroupRequest::getOwnerAccount()const
|
||||
void CreateAutoProvisioningGroupRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int CreateAutoProvisioningGroupRequest::getSpotInstancePoolsToUseCount()const
|
||||
@@ -230,7 +230,7 @@ int CreateAutoProvisioningGroupRequest::getSpotInstancePoolsToUseCount()const
|
||||
void CreateAutoProvisioningGroupRequest::setSpotInstancePoolsToUseCount(int spotInstancePoolsToUseCount)
|
||||
{
|
||||
spotInstancePoolsToUseCount_ = spotInstancePoolsToUseCount;
|
||||
setCoreParameter("SpotInstancePoolsToUseCount", std::to_string(spotInstancePoolsToUseCount));
|
||||
setParameter("SpotInstancePoolsToUseCount", std::to_string(spotInstancePoolsToUseCount));
|
||||
}
|
||||
|
||||
long CreateAutoProvisioningGroupRequest::getOwnerId()const
|
||||
@@ -241,7 +241,7 @@ long CreateAutoProvisioningGroupRequest::getOwnerId()const
|
||||
void CreateAutoProvisioningGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getLaunchTemplateVersion()const
|
||||
@@ -252,7 +252,7 @@ std::string CreateAutoProvisioningGroupRequest::getLaunchTemplateVersion()const
|
||||
void CreateAutoProvisioningGroupRequest::setLaunchTemplateVersion(const std::string& launchTemplateVersion)
|
||||
{
|
||||
launchTemplateVersion_ = launchTemplateVersion;
|
||||
setCoreParameter("LaunchTemplateVersion", launchTemplateVersion);
|
||||
setParameter("LaunchTemplateVersion", launchTemplateVersion);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoTargetCapacity()const
|
||||
@@ -263,7 +263,7 @@ std::string CreateAutoProvisioningGroupRequest::getPayAsYouGoTargetCapacity()con
|
||||
void CreateAutoProvisioningGroupRequest::setPayAsYouGoTargetCapacity(const std::string& payAsYouGoTargetCapacity)
|
||||
{
|
||||
payAsYouGoTargetCapacity_ = payAsYouGoTargetCapacity;
|
||||
setCoreParameter("PayAsYouGoTargetCapacity", payAsYouGoTargetCapacity);
|
||||
setParameter("PayAsYouGoTargetCapacity", payAsYouGoTargetCapacity);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getTotalTargetCapacity()const
|
||||
@@ -274,7 +274,7 @@ std::string CreateAutoProvisioningGroupRequest::getTotalTargetCapacity()const
|
||||
void CreateAutoProvisioningGroupRequest::setTotalTargetCapacity(const std::string& totalTargetCapacity)
|
||||
{
|
||||
totalTargetCapacity_ = totalTargetCapacity;
|
||||
setCoreParameter("TotalTargetCapacity", totalTargetCapacity);
|
||||
setParameter("TotalTargetCapacity", totalTargetCapacity);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getSpotTargetCapacity()const
|
||||
@@ -285,7 +285,7 @@ std::string CreateAutoProvisioningGroupRequest::getSpotTargetCapacity()const
|
||||
void CreateAutoProvisioningGroupRequest::setSpotTargetCapacity(const std::string& spotTargetCapacity)
|
||||
{
|
||||
spotTargetCapacity_ = spotTargetCapacity;
|
||||
setCoreParameter("SpotTargetCapacity", spotTargetCapacity);
|
||||
setParameter("SpotTargetCapacity", spotTargetCapacity);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getValidFrom()const
|
||||
@@ -296,7 +296,7 @@ std::string CreateAutoProvisioningGroupRequest::getValidFrom()const
|
||||
void CreateAutoProvisioningGroupRequest::setValidFrom(const std::string& validFrom)
|
||||
{
|
||||
validFrom_ = validFrom;
|
||||
setCoreParameter("ValidFrom", validFrom);
|
||||
setParameter("ValidFrom", validFrom);
|
||||
}
|
||||
|
||||
std::string CreateAutoProvisioningGroupRequest::getAutoProvisioningGroupName()const
|
||||
@@ -307,7 +307,7 @@ std::string CreateAutoProvisioningGroupRequest::getAutoProvisioningGroupName()co
|
||||
void CreateAutoProvisioningGroupRequest::setAutoProvisioningGroupName(const std::string& autoProvisioningGroupName)
|
||||
{
|
||||
autoProvisioningGroupName_ = autoProvisioningGroupName;
|
||||
setCoreParameter("AutoProvisioningGroupName", autoProvisioningGroupName);
|
||||
setParameter("AutoProvisioningGroupName", autoProvisioningGroupName);
|
||||
}
|
||||
|
||||
float CreateAutoProvisioningGroupRequest::getMaxSpotPrice()const
|
||||
@@ -318,6 +318,6 @@ float CreateAutoProvisioningGroupRequest::getMaxSpotPrice()const
|
||||
void CreateAutoProvisioningGroupRequest::setMaxSpotPrice(float maxSpotPrice)
|
||||
{
|
||||
maxSpotPrice_ = maxSpotPrice;
|
||||
setCoreParameter("MaxSpotPrice", std::to_string(maxSpotPrice));
|
||||
setParameter("MaxSpotPrice", std::to_string(maxSpotPrice));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateAutoSnapshotPolicyRequest::getResourceOwnerId()const
|
||||
void CreateAutoSnapshotPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getTimePoints()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateAutoSnapshotPolicyRequest::getTimePoints()const
|
||||
void CreateAutoSnapshotPolicyRequest::setTimePoints(const std::string& timePoints)
|
||||
{
|
||||
timePoints_ = timePoints;
|
||||
setCoreParameter("TimePoints", timePoints);
|
||||
setParameter("TimePoints", timePoints);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRepeatWeekdays()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateAutoSnapshotPolicyRequest::getRepeatWeekdays()const
|
||||
void CreateAutoSnapshotPolicyRequest::setRepeatWeekdays(const std::string& repeatWeekdays)
|
||||
{
|
||||
repeatWeekdays_ = repeatWeekdays;
|
||||
setCoreParameter("RepeatWeekdays", repeatWeekdays);
|
||||
setParameter("RepeatWeekdays", repeatWeekdays);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getRegionId()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateAutoSnapshotPolicyRequest::getRegionId()const
|
||||
void CreateAutoSnapshotPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateAutoSnapshotPolicyRequest::getResourceOwnerAccount()const
|
||||
void CreateAutoSnapshotPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
@@ -90,7 +90,7 @@ long CreateAutoSnapshotPolicyRequest::getOwnerId()const
|
||||
void CreateAutoSnapshotPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateAutoSnapshotPolicyRequest::getAutoSnapshotPolicyName()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateAutoSnapshotPolicyRequest::getAutoSnapshotPolicyName()const
|
||||
void CreateAutoSnapshotPolicyRequest::setAutoSnapshotPolicyName(const std::string& autoSnapshotPolicyName)
|
||||
{
|
||||
autoSnapshotPolicyName_ = autoSnapshotPolicyName;
|
||||
setCoreParameter("AutoSnapshotPolicyName", autoSnapshotPolicyName);
|
||||
setParameter("AutoSnapshotPolicyName", autoSnapshotPolicyName);
|
||||
}
|
||||
|
||||
int CreateAutoSnapshotPolicyRequest::getRetentionDays()const
|
||||
@@ -112,6 +112,6 @@ int CreateAutoSnapshotPolicyRequest::getRetentionDays()const
|
||||
void CreateAutoSnapshotPolicyRequest::setRetentionDays(int retentionDays)
|
||||
{
|
||||
retentionDays_ = retentionDays;
|
||||
setCoreParameter("RetentionDays", std::to_string(retentionDays));
|
||||
setParameter("RetentionDays", std::to_string(retentionDays));
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user