Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c1391eb82 | ||
|
|
60a0077509 | ||
|
|
ee5b4ca599 | ||
|
|
e96ffc6afe | ||
|
|
19a082eb56 | ||
|
|
002d5fb06f | ||
|
|
c960a34373 | ||
|
|
84adbb2cb8 | ||
|
|
db4f78e6de | ||
|
|
0ef5cd3c63 | ||
|
|
0625a8a681 | ||
|
|
aa84ad7f2e | ||
|
|
94a811bc97 | ||
|
|
dd85f78d9d | ||
|
|
aa1d797d41 | ||
|
|
42253f9e7a | ||
|
|
1c29ae37e8 | ||
|
|
e5d87b63dc | ||
|
|
317456660d | ||
|
|
a9f9414abb | ||
|
|
5aaae25e49 | ||
|
|
9a2a29f308 | ||
|
|
127c992829 | ||
|
|
e16ab91844 |
93
CHANGELOG
93
CHANGELOG
@@ -1,3 +1,96 @@
|
||||
2018-09-13 Version: 1.25.3
|
||||
1, Add CreateChannelToken.
|
||||
|
||||
|
||||
2018-09-06 Version: 1.25.2
|
||||
1, AutoScaling support launchTemplate.
|
||||
|
||||
2018-09-06 Version: 1.25.1
|
||||
1, Add API deleteProduct.
|
||||
2, Move all API to version 20180120.
|
||||
|
||||
2018-09-05 Version: 1.25.0
|
||||
1, Add new APIs with control policy for querying price
|
||||
|
||||
2018-09-03 Version: 1.24.2
|
||||
1, voice identify interface
|
||||
2, client upload credentials interface
|
||||
|
||||
2018-09-03 Version: 1.24.1
|
||||
1, Add new service API:FindServiceStatisticalData, which can support query service statistical data.
|
||||
|
||||
2018-08-28 Version: 1.24.0
|
||||
1, Add new APIs for profiling application performance: GetCloudMetricProfiling, etc.
|
||||
2, Add new APIs to support Shifter container applications: AddContainerApp, etc.
|
||||
|
||||
2018-08-28 Version: 1.23.4
|
||||
1, Add param for DescribeRegions,support AcceptLanguage,RegionEndpoint.
|
||||
|
||||
2018-08-27 Version: 1.23.3
|
||||
1, add Ess alarm task api, CreateAlarm, DeleteAlarm, DescribeAlarms, DeleteAlarm, EnableAlarm, DisableAlarm
|
||||
|
||||
|
||||
2018-08-27 Version: 1.23.2
|
||||
1, Add api GetGatewayBySubDevice.
|
||||
2, Modified the time related response parameters.
|
||||
3, Add messageId in response with InvokeThingService,SetDeviceProperty and NotifyAddThingTopo.
|
||||
|
||||
2018-08-23 Version: 1.23.1
|
||||
1, RunInstance add privateIpAddress.
|
||||
|
||||
2018-08-22 Version: 1.23.0
|
||||
1, Add api CreateSimulatedSystemEvents, support creating one or more simulated system events.
|
||||
2, Add api CancelSimulatedSystemEvents, support cancelling one or more simulated system events.
|
||||
|
||||
2018-08-21 Version: 1.22.9
|
||||
1, Repair describeLaunchTemplateVersions securityEnhancementStrategy type
|
||||
|
||||
2018-08-21 Version: 1.22.8
|
||||
1, Add api: MoPenQueryCanvas, MoPenDoRecognize, MoPenSendMqttMessage, MoPenFindGroup
|
||||
|
||||
2018-08-17 Version: 1.22.7
|
||||
1, Add a new api called DeleteImage to clear the image resource.
|
||||
2, Add the field called AdditionType and OutputType to GetMezzanineInfo api request.
|
||||
3, Add the field called OutputType to GetMezzanineInfo api response.
|
||||
4, Add the field called CreationTime and ModificationTime to GetPlayInfo api response.
|
||||
|
||||
2018-08-17 Version: 1.22.6
|
||||
1, New apkpubkey fields for queryauthentication output parameter.
|
||||
2, New packagename fields for queryauthentication output parameter.
|
||||
3, New clientId fields for queryauthentication output parameter.
|
||||
|
||||
2018-08-16 Version: 1.22.5
|
||||
1, ModifyScalingConfiguration add imageName.
|
||||
2, CreateScalingConfiguration add imageName.
|
||||
|
||||
2018-08-15 Version: 1.22.4
|
||||
1, Fix bug in GetMaterials API.
|
||||
2, GetVerifyToken added a new param VerifyConfigs
|
||||
|
||||
2018-08-15 Version: 1.22.3
|
||||
1, Add domain operation api AddLiveDomain,DeleteLiveDomain,DescribeLiveDomainDetail,StartLiveDomain,StopLiveDomain.
|
||||
2, Add certificate operation api DescribeLiveCertificateDetail,DescribeLiveCertificateList,SetLiveDomainCertificate.
|
||||
3, Add domain config api BatchSetLiveDomainConfigs,BatchDeleteLiveDomainConfigs,DeleteLiveSpecificConfig,DescribeLiveDomainConfigs.
|
||||
|
||||
2018-08-15 Version: 1.22.2
|
||||
1, Update ecs tag to 20 maximum
|
||||
|
||||
|
||||
2018-08-14 Version: 1.22.1
|
||||
1, Change parameter name of Dialogue
|
||||
|
||||
2018-08-13 Version: 1.22.0
|
||||
1, New userinfo fields for registerface input parameter.
|
||||
2, New userinfo fields for updateface input parameter.
|
||||
3, New userinfo fields for queryface output parameter.
|
||||
|
||||
2018-08-13 Version: 1.21.6
|
||||
1, Add cross domain support.
|
||||
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
|
||||
|
||||
2018-08-08 Version: 1.21.5
|
||||
1, The official release 4.0.0
|
||||
|
||||
2018-08-08 Version: 1.21.4
|
||||
1, Update FC apis.
|
||||
|
||||
|
||||
@@ -84,4 +84,7 @@ add_subdirectory(teslastream)
|
||||
add_subdirectory(mopen)
|
||||
add_subdirectory(mts)
|
||||
add_subdirectory(iot)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(linkface)
|
||||
add_subdirectory(ots)
|
||||
add_subdirectory(smartag)
|
||||
add_subdirectory(vod)
|
||||
@@ -141,6 +141,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListRolesResult.h
|
||||
include/alibabacloud/ccc/model/ListConfigRequest.h
|
||||
include/alibabacloud/ccc/model/ListConfigResult.h
|
||||
include/alibabacloud/ccc/model/LaunchShortMessageAppraiseRequest.h
|
||||
include/alibabacloud/ccc/model/LaunchShortMessageAppraiseResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ListScenariosRequest.h
|
||||
@@ -300,6 +302,8 @@ set(ccc_src
|
||||
src/model/ListRolesResult.cc
|
||||
src/model/ListConfigRequest.cc
|
||||
src/model/ListConfigResult.cc
|
||||
src/model/LaunchShortMessageAppraiseRequest.cc
|
||||
src/model/LaunchShortMessageAppraiseResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/ListScenariosRequest.cc
|
||||
|
||||
@@ -142,6 +142,8 @@
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/ListConfigRequest.h"
|
||||
#include "model/ListConfigResult.h"
|
||||
#include "model/LaunchShortMessageAppraiseRequest.h"
|
||||
#include "model/LaunchShortMessageAppraiseResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ListScenariosRequest.h"
|
||||
@@ -367,6 +369,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConfigResult> ListConfigOutcome;
|
||||
typedef std::future<ListConfigOutcome> ListConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListConfigRequest&, const ListConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::LaunchShortMessageAppraiseResult> LaunchShortMessageAppraiseOutcome;
|
||||
typedef std::future<LaunchShortMessageAppraiseOutcome> LaunchShortMessageAppraiseOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::LaunchShortMessageAppraiseRequest&, const LaunchShortMessageAppraiseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LaunchShortMessageAppraiseAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
|
||||
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
|
||||
@@ -606,6 +611,9 @@ namespace AlibabaCloud
|
||||
ListConfigOutcome listConfig(const Model::ListConfigRequest &request)const;
|
||||
void listConfigAsync(const Model::ListConfigRequest& request, const ListConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConfigOutcomeCallable listConfigCallable(const Model::ListConfigRequest& request) const;
|
||||
LaunchShortMessageAppraiseOutcome launchShortMessageAppraise(const Model::LaunchShortMessageAppraiseRequest &request)const;
|
||||
void launchShortMessageAppraiseAsync(const Model::LaunchShortMessageAppraiseRequest& request, const LaunchShortMessageAppraiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LaunchShortMessageAppraiseOutcomeCallable launchShortMessageAppraiseCallable(const Model::LaunchShortMessageAppraiseRequest& request) const;
|
||||
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
|
||||
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
|
||||
|
||||
@@ -43,6 +43,8 @@ namespace AlibabaCloud
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getActionKey()const;
|
||||
void setActionKey(const std::string& actionKey);
|
||||
std::string getActionParams()const;
|
||||
void setActionParams(const std::string& actionParams);
|
||||
std::string getCallType()const;
|
||||
@@ -59,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string calledNumber_;
|
||||
std::string actionKey_;
|
||||
std::string actionParams_;
|
||||
std::string callType_;
|
||||
std::string scenarioId_;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT LaunchShortMessageAppraiseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
LaunchShortMessageAppraiseRequest();
|
||||
~LaunchShortMessageAppraiseRequest();
|
||||
|
||||
std::string getAcid()const;
|
||||
void setAcid(const std::string& acid);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getContactType()const;
|
||||
void setContactType(int contactType);
|
||||
std::string getPhoneNumbers()const;
|
||||
void setPhoneNumbers(const std::string& phoneNumbers);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string acid_;
|
||||
std::string instanceId_;
|
||||
int contactType_;
|
||||
std::string phoneNumbers_;
|
||||
std::string skillGroupId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISEREQUEST_H_
|
||||
@@ -14,50 +14,44 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IOT_MODEL_REGISTDEVICERESULT_H_
|
||||
#define ALIBABACLOUD_IOT_MODEL_REGISTDEVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/iot/IotExport.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Iot
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IOT_EXPORT RegistDeviceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CCC_EXPORT LaunchShortMessageAppraiseResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RegistDeviceResult();
|
||||
explicit RegistDeviceResult(const std::string &payload);
|
||||
~RegistDeviceResult();
|
||||
std::string getDeviceId()const;
|
||||
std::string getDeviceSecret()const;
|
||||
std::string getDeviceStatus()const;
|
||||
std::string getErrorMessage()const;
|
||||
LaunchShortMessageAppraiseResult();
|
||||
explicit LaunchShortMessageAppraiseResult(const std::string &payload);
|
||||
~LaunchShortMessageAppraiseResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getDeviceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string deviceSecret_;
|
||||
std::string deviceStatus_;
|
||||
std::string errorMessage_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string deviceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IOT_MODEL_REGISTDEVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSHORTMESSAGEAPPRAISERESULT_H_
|
||||
@@ -2211,6 +2211,42 @@ CCCClient::ListConfigOutcomeCallable CCCClient::listConfigCallable(const ListCon
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::LaunchShortMessageAppraiseOutcome CCCClient::launchShortMessageAppraise(const LaunchShortMessageAppraiseRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LaunchShortMessageAppraiseOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LaunchShortMessageAppraiseOutcome(LaunchShortMessageAppraiseResult(outcome.result()));
|
||||
else
|
||||
return LaunchShortMessageAppraiseOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::launchShortMessageAppraiseAsync(const LaunchShortMessageAppraiseRequest& request, const LaunchShortMessageAppraiseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, launchShortMessageAppraise(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::LaunchShortMessageAppraiseOutcomeCallable CCCClient::launchShortMessageAppraiseCallable(const LaunchShortMessageAppraiseRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LaunchShortMessageAppraiseOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->launchShortMessageAppraise(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ModifyPhoneNumberOutcome CCCClient::modifyPhoneNumber(const ModifyPhoneNumberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -69,6 +69,17 @@ void DialogueRequest::setCalledNumber(const std::string& calledNumber)
|
||||
setParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string DialogueRequest::getActionKey()const
|
||||
{
|
||||
return actionKey_;
|
||||
}
|
||||
|
||||
void DialogueRequest::setActionKey(const std::string& actionKey)
|
||||
{
|
||||
actionKey_ = actionKey;
|
||||
setParameter("ActionKey", actionKey);
|
||||
}
|
||||
|
||||
std::string DialogueRequest::getActionParams()const
|
||||
{
|
||||
return actionParams_;
|
||||
|
||||
93
ccc/src/model/LaunchShortMessageAppraiseRequest.cc
Normal file
93
ccc/src/model/LaunchShortMessageAppraiseRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/LaunchShortMessageAppraiseRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::LaunchShortMessageAppraiseRequest;
|
||||
|
||||
LaunchShortMessageAppraiseRequest::LaunchShortMessageAppraiseRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "LaunchShortMessageAppraise")
|
||||
{}
|
||||
|
||||
LaunchShortMessageAppraiseRequest::~LaunchShortMessageAppraiseRequest()
|
||||
{}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getAcid()const
|
||||
{
|
||||
return acid_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setAcid(const std::string& acid)
|
||||
{
|
||||
acid_ = acid;
|
||||
setParameter("Acid", acid);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
int LaunchShortMessageAppraiseRequest::getContactType()const
|
||||
{
|
||||
return contactType_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setContactType(int contactType)
|
||||
{
|
||||
contactType_ = contactType;
|
||||
setParameter("ContactType", std::to_string(contactType));
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getPhoneNumbers()const
|
||||
{
|
||||
return phoneNumbers_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setPhoneNumbers(const std::string& phoneNumbers)
|
||||
{
|
||||
phoneNumbers_ = phoneNumbers;
|
||||
setParameter("PhoneNumbers", phoneNumbers);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string LaunchShortMessageAppraiseRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void LaunchShortMessageAppraiseRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/iot/model/ApplyDeviceWithNamesResult.h>
|
||||
#include <alibabacloud/ccc/model/LaunchShortMessageAppraiseResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Iot;
|
||||
using namespace AlibabaCloud::Iot::Model;
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ApplyDeviceWithNamesResult::ApplyDeviceWithNamesResult() :
|
||||
LaunchShortMessageAppraiseResult::LaunchShortMessageAppraiseResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ApplyDeviceWithNamesResult::ApplyDeviceWithNamesResult(const std::string &payload) :
|
||||
LaunchShortMessageAppraiseResult::LaunchShortMessageAppraiseResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ApplyDeviceWithNamesResult::~ApplyDeviceWithNamesResult()
|
||||
LaunchShortMessageAppraiseResult::~LaunchShortMessageAppraiseResult()
|
||||
{}
|
||||
|
||||
void ApplyDeviceWithNamesResult::parse(const std::string &payload)
|
||||
void LaunchShortMessageAppraiseResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -44,29 +44,29 @@ void ApplyDeviceWithNamesResult::parse(const std::string &payload)
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["ErrorMessage"].isNull())
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["ApplyId"].isNull())
|
||||
applyId_ = std::stol(value["ApplyId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ApplyDeviceWithNamesResult::getApplyId()const
|
||||
std::string LaunchShortMessageAppraiseResult::getMessage()const
|
||||
{
|
||||
return applyId_;
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ApplyDeviceWithNamesResult::getErrorMessage()const
|
||||
int LaunchShortMessageAppraiseResult::getHttpStatusCode()const
|
||||
{
|
||||
return errorMessage_;
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ApplyDeviceWithNamesResult::getCode()const
|
||||
std::string LaunchShortMessageAppraiseResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ApplyDeviceWithNamesResult::getSuccess()const
|
||||
bool LaunchShortMessageAppraiseResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -36,8 +36,10 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string facePic;
|
||||
std::string identificationNumber;
|
||||
std::string idCardStartDate;
|
||||
std::string address;
|
||||
std::string idCardFrontPic;
|
||||
std::string ethnicGroup;
|
||||
std::string sex;
|
||||
std::string idCardExpiry;
|
||||
std::string idCardType;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getBinding()const;
|
||||
void setBinding(const std::string& binding);
|
||||
std::string getVerifyConfigs()const;
|
||||
void setVerifyConfigs(const std::string& verifyConfigs);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string biz_;
|
||||
std::string sourceIp_;
|
||||
std::string binding_;
|
||||
std::string verifyConfigs_;
|
||||
std::string ticketId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::CompareFacesRequest;
|
||||
|
||||
CompareFacesRequest::CompareFacesRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "CompareFaces")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "CompareFaces")
|
||||
{}
|
||||
|
||||
CompareFacesRequest::~CompareFacesRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::DetectFaceAttributesRequest;
|
||||
|
||||
DetectFaceAttributesRequest::DetectFaceAttributesRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "DetectFaceAttributes")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "DetectFaceAttributes")
|
||||
{}
|
||||
|
||||
DetectFaceAttributesRequest::~DetectFaceAttributesRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetMaterialsRequest;
|
||||
|
||||
GetMaterialsRequest::GetMaterialsRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetMaterials")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetMaterials")
|
||||
{}
|
||||
|
||||
GetMaterialsRequest::~GetMaterialsRequest()
|
||||
|
||||
@@ -47,6 +47,8 @@ void GetMaterialsResult::parse(const std::string &payload)
|
||||
data_.identificationNumber = dataNode["IdentificationNumber"].asString();
|
||||
if(!dataNode["IdCardType"].isNull())
|
||||
data_.idCardType = dataNode["IdCardType"].asString();
|
||||
if(!dataNode["IdCardStartDate"].isNull())
|
||||
data_.idCardStartDate = dataNode["IdCardStartDate"].asString();
|
||||
if(!dataNode["IdCardExpiry"].isNull())
|
||||
data_.idCardExpiry = dataNode["IdCardExpiry"].asString();
|
||||
if(!dataNode["Address"].isNull())
|
||||
@@ -59,6 +61,8 @@ void GetMaterialsResult::parse(const std::string &payload)
|
||||
data_.idCardBackPic = dataNode["IdCardBackPic"].asString();
|
||||
if(!dataNode["FacePic"].isNull())
|
||||
data_.facePic = dataNode["FacePic"].asString();
|
||||
if(!dataNode["EthnicGroup"].isNull())
|
||||
data_.ethnicGroup = dataNode["EthnicGroup"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetStatusRequest;
|
||||
|
||||
GetStatusRequest::GetStatusRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetStatus")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetStatus")
|
||||
{}
|
||||
|
||||
GetStatusRequest::~GetStatusRequest()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::GetVerifyTokenRequest;
|
||||
|
||||
GetVerifyTokenRequest::GetVerifyTokenRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "GetVerifyToken")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "GetVerifyToken")
|
||||
{}
|
||||
|
||||
GetVerifyTokenRequest::~GetVerifyTokenRequest()
|
||||
@@ -80,6 +80,17 @@ void GetVerifyTokenRequest::setBinding(const std::string& binding)
|
||||
setParameter("Binding", binding);
|
||||
}
|
||||
|
||||
std::string GetVerifyTokenRequest::getVerifyConfigs()const
|
||||
{
|
||||
return verifyConfigs_;
|
||||
}
|
||||
|
||||
void GetVerifyTokenRequest::setVerifyConfigs(const std::string& verifyConfigs)
|
||||
{
|
||||
verifyConfigs_ = verifyConfigs;
|
||||
setParameter("VerifyConfigs", verifyConfigs);
|
||||
}
|
||||
|
||||
std::string GetVerifyTokenRequest::getTicketId()const
|
||||
{
|
||||
return ticketId_;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
using AlibabaCloud::Cloudauth::Model::SubmitMaterialsRequest;
|
||||
|
||||
SubmitMaterialsRequest::SubmitMaterialsRequest() :
|
||||
RpcServiceRequest("cloudauth", "2018-07-03", "SubmitMaterials")
|
||||
RpcServiceRequest("cloudauth", "2018-08-07", "SubmitMaterials")
|
||||
{}
|
||||
|
||||
SubmitMaterialsRequest::~SubmitMaterialsRequest()
|
||||
|
||||
@@ -73,6 +73,8 @@ set(csb_public_header_model
|
||||
include/alibabacloud/csb/model/UpdateOrderListResult.h
|
||||
include/alibabacloud/csb/model/DeleteCredentialsListRequest.h
|
||||
include/alibabacloud/csb/model/DeleteCredentialsListResult.h
|
||||
include/alibabacloud/csb/model/FindServiceStatisticalDataRequest.h
|
||||
include/alibabacloud/csb/model/FindServiceStatisticalDataResult.h
|
||||
include/alibabacloud/csb/model/CreateServiceRequest.h
|
||||
include/alibabacloud/csb/model/CreateServiceResult.h
|
||||
include/alibabacloud/csb/model/FindCredentialsListRequest.h
|
||||
@@ -154,6 +156,8 @@ set(csb_src
|
||||
src/model/UpdateOrderListResult.cc
|
||||
src/model/DeleteCredentialsListRequest.cc
|
||||
src/model/DeleteCredentialsListResult.cc
|
||||
src/model/FindServiceStatisticalDataRequest.cc
|
||||
src/model/FindServiceStatisticalDataResult.cc
|
||||
src/model/CreateServiceRequest.cc
|
||||
src/model/CreateServiceResult.cc
|
||||
src/model/FindCredentialsListRequest.cc
|
||||
|
||||
@@ -74,6 +74,8 @@
|
||||
#include "model/UpdateOrderListResult.h"
|
||||
#include "model/DeleteCredentialsListRequest.h"
|
||||
#include "model/DeleteCredentialsListResult.h"
|
||||
#include "model/FindServiceStatisticalDataRequest.h"
|
||||
#include "model/FindServiceStatisticalDataResult.h"
|
||||
#include "model/CreateServiceRequest.h"
|
||||
#include "model/CreateServiceResult.h"
|
||||
#include "model/FindCredentialsListRequest.h"
|
||||
@@ -187,6 +189,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteCredentialsListResult> DeleteCredentialsListOutcome;
|
||||
typedef std::future<DeleteCredentialsListOutcome> DeleteCredentialsListOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::DeleteCredentialsListRequest&, const DeleteCredentialsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCredentialsListAsyncHandler;
|
||||
typedef Outcome<Error, Model::FindServiceStatisticalDataResult> FindServiceStatisticalDataOutcome;
|
||||
typedef std::future<FindServiceStatisticalDataOutcome> FindServiceStatisticalDataOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::FindServiceStatisticalDataRequest&, const FindServiceStatisticalDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FindServiceStatisticalDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceResult> CreateServiceOutcome;
|
||||
typedef std::future<CreateServiceOutcome> CreateServiceOutcomeCallable;
|
||||
typedef std::function<void(const CSBClient*, const Model::CreateServiceRequest&, const CreateServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceAsyncHandler;
|
||||
@@ -309,6 +314,9 @@ namespace AlibabaCloud
|
||||
DeleteCredentialsListOutcome deleteCredentialsList(const Model::DeleteCredentialsListRequest &request)const;
|
||||
void deleteCredentialsListAsync(const Model::DeleteCredentialsListRequest& request, const DeleteCredentialsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCredentialsListOutcomeCallable deleteCredentialsListCallable(const Model::DeleteCredentialsListRequest& request) const;
|
||||
FindServiceStatisticalDataOutcome findServiceStatisticalData(const Model::FindServiceStatisticalDataRequest &request)const;
|
||||
void findServiceStatisticalDataAsync(const Model::FindServiceStatisticalDataRequest& request, const FindServiceStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FindServiceStatisticalDataOutcomeCallable findServiceStatisticalDataCallable(const Model::FindServiceStatisticalDataRequest& request) const;
|
||||
CreateServiceOutcome createService(const Model::CreateServiceRequest &request)const;
|
||||
void createServiceAsync(const Model::CreateServiceRequest& request, const CreateServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceOutcomeCallable createServiceCallable(const Model::CreateServiceRequest& request) const;
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
CheckServiceExistRequest();
|
||||
~CheckServiceExistRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
DeleteProjectRequest();
|
||||
~DeleteProjectRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
long getProjectId()const;
|
||||
void setProjectId(long projectId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
long projectId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -43,10 +43,10 @@ namespace AlibabaCloud
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
bool getOnlyPending()const;
|
||||
void setOnlyPending(bool onlyPending);
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
long serviceId_;
|
||||
int pageNum_;
|
||||
long serviceId_;
|
||||
bool onlyPending_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace AlibabaCloud
|
||||
FindApproveServiceListRequest();
|
||||
~FindApproveServiceListRequest();
|
||||
|
||||
std::string getApproveLevel()const;
|
||||
void setApproveLevel(const std::string& approveLevel);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getApproveLevel()const;
|
||||
void setApproveLevel(const std::string& approveLevel);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
long getCsbId()const;
|
||||
@@ -51,8 +51,8 @@ namespace AlibabaCloud
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
std::string approveLevel_;
|
||||
std::string projectName_;
|
||||
std::string approveLevel_;
|
||||
bool showDelService_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -35,18 +35,18 @@ namespace AlibabaCloud
|
||||
FindCredentialsListRequest();
|
||||
~FindCredentialsListRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getGroupName()const;
|
||||
void setGroupName(const std::string& groupName);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
int pageNum_;
|
||||
std::string groupName_;
|
||||
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace AlibabaCloud
|
||||
FindInstanceListRequest();
|
||||
~FindInstanceListRequest();
|
||||
|
||||
std::string getSearchTxt()const;
|
||||
void setSearchTxt(const std::string& searchTxt);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getSearchTxt()const;
|
||||
void setSearchTxt(const std::string& searchTxt);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
int getPageNum()const;
|
||||
@@ -47,8 +47,8 @@ namespace AlibabaCloud
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
std::string searchTxt_;
|
||||
std::string regionId_;
|
||||
std::string searchTxt_;
|
||||
long csbId_;
|
||||
int pageNum_;
|
||||
int status_;
|
||||
|
||||
@@ -37,17 +37,17 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
int pageNum_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getOperationFlag()const;
|
||||
void setOperationFlag(const std::string& operationFlag);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string operationFlag_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,10 +37,10 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
int getCasShowType()const;
|
||||
void setCasShowType(int casShowType);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
int getCasShowType()const;
|
||||
void setCasShowType(int casShowType);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
int casShowType_;
|
||||
bool showDelService_;
|
||||
int casShowType_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceStatisticalDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FindServiceStatisticalDataRequest();
|
||||
~FindServiceStatisticalDataRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long endTime_;
|
||||
std::string serviceName_;
|
||||
long startTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATAREQUEST_H_
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* 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_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_
|
||||
#define ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/csb/CSBExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CSB
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CSB_EXPORT FindServiceStatisticalDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ServiceStatisticData
|
||||
{
|
||||
struct Total
|
||||
{
|
||||
int total;
|
||||
int errorNum;
|
||||
};
|
||||
std::string serviceName;
|
||||
std::string userId;
|
||||
Total total;
|
||||
float minRt;
|
||||
long requestTime;
|
||||
float maxRt;
|
||||
float avgRt;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
std::vector<ServiceStatisticData> monitorStatisticData;
|
||||
};
|
||||
|
||||
|
||||
FindServiceStatisticalDataResult();
|
||||
explicit FindServiceStatisticalDataResult(const std::string &payload);
|
||||
~FindServiceStatisticalDataResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
int getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
int code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CSB_MODEL_FINDSERVICESTATISTICALDATARESULT_H_
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
GetOrderRequest();
|
||||
~GetOrderRequest();
|
||||
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getOrderId()const;
|
||||
void setOrderId(long orderId);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
long orderId_;
|
||||
std::string regionId_;
|
||||
long orderId_;
|
||||
std::string serviceName_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
GetServiceRequest();
|
||||
~GetServiceRequest();
|
||||
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
|
||||
private:
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
long serviceId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,16 +35,16 @@ namespace AlibabaCloud
|
||||
UpdateServiceQPSRequest();
|
||||
~UpdateServiceQPSRequest();
|
||||
|
||||
std::string getQps()const;
|
||||
void setQps(const std::string& qps);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getQps()const;
|
||||
void setQps(const std::string& qps);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
|
||||
private:
|
||||
std::string qps_;
|
||||
std::string regionId_;
|
||||
std::string qps_;
|
||||
long serviceId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,15 +37,15 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getData()const;
|
||||
void setData(const std::string& data);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
|
||||
private:
|
||||
std::string data_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
long csbId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -31,21 +31,21 @@ CSBClient::CSBClient(const Credentials &credentials, const ClientConfiguration &
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::CSBClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::CSBClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "CSB");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
CSBClient::~CSBClient()
|
||||
@@ -987,6 +987,42 @@ CSBClient::DeleteCredentialsListOutcomeCallable CSBClient::deleteCredentialsList
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::FindServiceStatisticalDataOutcome CSBClient::findServiceStatisticalData(const FindServiceStatisticalDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FindServiceStatisticalDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FindServiceStatisticalDataOutcome(FindServiceStatisticalDataResult(outcome.result()));
|
||||
else
|
||||
return FindServiceStatisticalDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CSBClient::findServiceStatisticalDataAsync(const FindServiceStatisticalDataRequest& request, const FindServiceStatisticalDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, findServiceStatisticalData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CSBClient::FindServiceStatisticalDataOutcomeCallable CSBClient::findServiceStatisticalDataCallable(const FindServiceStatisticalDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FindServiceStatisticalDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->findServiceStatisticalData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CSBClient::CreateServiceOutcome CSBClient::createService(const CreateServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -25,17 +25,6 @@ CheckServiceExistRequest::CheckServiceExistRequest() :
|
||||
CheckServiceExistRequest::~CheckServiceExistRequest()
|
||||
{}
|
||||
|
||||
long CheckServiceExistRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void CheckServiceExistRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string CheckServiceExistRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void CheckServiceExistRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long CheckServiceExistRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void CheckServiceExistRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string CheckServiceExistRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateCredentialsRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
std::string CreateCredentialsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateCredentialsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long CreateCredentialsRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
@@ -58,3 +47,14 @@ void CreateCredentialsRequest::setCsbId(long csbId)
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string CreateCredentialsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateCredentialsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void CreateServiceRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long CreateServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void CreateServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string CreateServiceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void CreateServiceRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long CreateServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void CreateServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteProjectListRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long DeleteProjectListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteProjectListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string DeleteProjectListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void DeleteProjectListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long DeleteProjectListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteProjectListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ DeleteProjectRequest::DeleteProjectRequest() :
|
||||
DeleteProjectRequest::~DeleteProjectRequest()
|
||||
{}
|
||||
|
||||
long DeleteProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string DeleteProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void DeleteProjectRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long DeleteProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
long DeleteProjectRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void DeleteServiceListRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long DeleteServiceListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteServiceListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string DeleteServiceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void DeleteServiceListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long DeleteServiceListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void DeleteServiceListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -69,17 +69,6 @@ void FindApprovalOrderListRequest::setServiceName(const std::string& serviceName
|
||||
setParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long FindApprovalOrderListRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
}
|
||||
|
||||
void FindApprovalOrderListRequest::setServiceId(long serviceId)
|
||||
{
|
||||
serviceId_ = serviceId;
|
||||
setParameter("ServiceId", std::to_string(serviceId));
|
||||
}
|
||||
|
||||
int FindApprovalOrderListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
@@ -91,6 +80,17 @@ void FindApprovalOrderListRequest::setPageNum(int pageNum)
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
long FindApprovalOrderListRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
}
|
||||
|
||||
void FindApprovalOrderListRequest::setServiceId(long serviceId)
|
||||
{
|
||||
serviceId_ = serviceId;
|
||||
setParameter("ServiceId", std::to_string(serviceId));
|
||||
}
|
||||
|
||||
bool FindApprovalOrderListRequest::getOnlyPending()const
|
||||
{
|
||||
return onlyPending_;
|
||||
|
||||
@@ -25,17 +25,6 @@ FindApproveServiceListRequest::FindApproveServiceListRequest() :
|
||||
FindApproveServiceListRequest::~FindApproveServiceListRequest()
|
||||
{}
|
||||
|
||||
std::string FindApproveServiceListRequest::getApproveLevel()const
|
||||
{
|
||||
return approveLevel_;
|
||||
}
|
||||
|
||||
void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLevel)
|
||||
{
|
||||
approveLevel_ = approveLevel;
|
||||
setParameter("ApproveLevel", approveLevel);
|
||||
}
|
||||
|
||||
std::string FindApproveServiceListRequest::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
@@ -47,6 +36,17 @@ void FindApproveServiceListRequest::setProjectName(const std::string& projectNam
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
std::string FindApproveServiceListRequest::getApproveLevel()const
|
||||
{
|
||||
return approveLevel_;
|
||||
}
|
||||
|
||||
void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLevel)
|
||||
{
|
||||
approveLevel_ = approveLevel;
|
||||
setParameter("ApproveLevel", approveLevel);
|
||||
}
|
||||
|
||||
bool FindApproveServiceListRequest::getShowDelService()const
|
||||
{
|
||||
return showDelService_;
|
||||
|
||||
@@ -25,17 +25,6 @@ FindCredentialsListRequest::FindCredentialsListRequest() :
|
||||
FindCredentialsListRequest::~FindCredentialsListRequest()
|
||||
{}
|
||||
|
||||
long FindCredentialsListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindCredentialsListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string FindCredentialsListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void FindCredentialsListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long FindCredentialsListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindCredentialsListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
int FindCredentialsListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
|
||||
@@ -25,17 +25,6 @@ FindInstanceListRequest::FindInstanceListRequest() :
|
||||
FindInstanceListRequest::~FindInstanceListRequest()
|
||||
{}
|
||||
|
||||
std::string FindInstanceListRequest::getSearchTxt()const
|
||||
{
|
||||
return searchTxt_;
|
||||
}
|
||||
|
||||
void FindInstanceListRequest::setSearchTxt(const std::string& searchTxt)
|
||||
{
|
||||
searchTxt_ = searchTxt;
|
||||
setParameter("SearchTxt", searchTxt);
|
||||
}
|
||||
|
||||
std::string FindInstanceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void FindInstanceListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string FindInstanceListRequest::getSearchTxt()const
|
||||
{
|
||||
return searchTxt_;
|
||||
}
|
||||
|
||||
void FindInstanceListRequest::setSearchTxt(const std::string& searchTxt)
|
||||
{
|
||||
searchTxt_ = searchTxt;
|
||||
setParameter("SearchTxt", searchTxt);
|
||||
}
|
||||
|
||||
long FindInstanceListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void FindProjectListRequest::setProjectName(const std::string& projectName)
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long FindProjectListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindProjectListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string FindProjectListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,6 +47,17 @@ void FindProjectListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long FindProjectListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindProjectListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
int FindProjectListRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void FindProjectsNameListRequest::setOperationFlag(const std::string& operationF
|
||||
setParameter("OperationFlag", operationFlag);
|
||||
}
|
||||
|
||||
long FindProjectsNameListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindProjectsNameListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string FindProjectsNameListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void FindProjectsNameListRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long FindProjectsNameListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindProjectsNameListRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void FindServiceListRequest::setProjectName(const std::string& projectName)
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
int FindServiceListRequest::getCasShowType()const
|
||||
{
|
||||
return casShowType_;
|
||||
}
|
||||
|
||||
void FindServiceListRequest::setCasShowType(int casShowType)
|
||||
{
|
||||
casShowType_ = casShowType;
|
||||
setParameter("CasShowType", std::to_string(casShowType));
|
||||
}
|
||||
|
||||
bool FindServiceListRequest::getShowDelService()const
|
||||
{
|
||||
return showDelService_;
|
||||
@@ -58,6 +47,17 @@ void FindServiceListRequest::setShowDelService(bool showDelService)
|
||||
setParameter("ShowDelService", std::to_string(showDelService));
|
||||
}
|
||||
|
||||
int FindServiceListRequest::getCasShowType()const
|
||||
{
|
||||
return casShowType_;
|
||||
}
|
||||
|
||||
void FindServiceListRequest::setCasShowType(int casShowType)
|
||||
{
|
||||
casShowType_ = casShowType;
|
||||
setParameter("CasShowType", std::to_string(casShowType));
|
||||
}
|
||||
|
||||
long FindServiceListRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
|
||||
82
csb/src/model/FindServiceStatisticalDataRequest.cc
Normal file
82
csb/src/model/FindServiceStatisticalDataRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/csb/model/FindServiceStatisticalDataRequest.h>
|
||||
|
||||
using AlibabaCloud::CSB::Model::FindServiceStatisticalDataRequest;
|
||||
|
||||
FindServiceStatisticalDataRequest::FindServiceStatisticalDataRequest() :
|
||||
RpcServiceRequest("csb", "2017-11-18", "FindServiceStatisticalData")
|
||||
{}
|
||||
|
||||
FindServiceStatisticalDataRequest::~FindServiceStatisticalDataRequest()
|
||||
{}
|
||||
|
||||
long FindServiceStatisticalDataRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string FindServiceStatisticalDataRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long FindServiceStatisticalDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string FindServiceStatisticalDataRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setServiceName(const std::string& serviceName)
|
||||
{
|
||||
serviceName_ = serviceName;
|
||||
setParameter("ServiceName", serviceName);
|
||||
}
|
||||
|
||||
long FindServiceStatisticalDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void FindServiceStatisticalDataRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
92
csb/src/model/FindServiceStatisticalDataResult.cc
Normal file
92
csb/src/model/FindServiceStatisticalDataResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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/csb/model/FindServiceStatisticalDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CSB;
|
||||
using namespace AlibabaCloud::CSB::Model;
|
||||
|
||||
FindServiceStatisticalDataResult::FindServiceStatisticalDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FindServiceStatisticalDataResult::FindServiceStatisticalDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FindServiceStatisticalDataResult::~FindServiceStatisticalDataResult()
|
||||
{}
|
||||
|
||||
void FindServiceStatisticalDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["CurrentPage"].isNull())
|
||||
data_.currentPage = std::stoi(dataNode["CurrentPage"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
auto allMonitorStatisticData = value["MonitorStatisticData"]["ServiceStatisticData"];
|
||||
for (auto value : allMonitorStatisticData)
|
||||
{
|
||||
Data::ServiceStatisticData serviceStatisticDataObject;
|
||||
if(!value["AvgRt"].isNull())
|
||||
serviceStatisticDataObject.avgRt = std::stof(value["AvgRt"].asString());
|
||||
if(!value["MaxRt"].isNull())
|
||||
serviceStatisticDataObject.maxRt = std::stof(value["MaxRt"].asString());
|
||||
if(!value["MinRt"].isNull())
|
||||
serviceStatisticDataObject.minRt = std::stof(value["MinRt"].asString());
|
||||
if(!value["RequestTime"].isNull())
|
||||
serviceStatisticDataObject.requestTime = std::stol(value["RequestTime"].asString());
|
||||
if(!value["ServiceName"].isNull())
|
||||
serviceStatisticDataObject.serviceName = value["ServiceName"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
serviceStatisticDataObject.userId = value["UserId"].asString();
|
||||
auto totalNode = value["Total"];
|
||||
if(!totalNode["ErrorNum"].isNull())
|
||||
serviceStatisticDataObject.total.errorNum = std::stoi(totalNode["ErrorNum"].asString());
|
||||
if(!totalNode["Total"].isNull())
|
||||
serviceStatisticDataObject.total.total = std::stoi(totalNode["Total"].asString());
|
||||
data_.monitorStatisticData.push_back(serviceStatisticDataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string FindServiceStatisticalDataResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
FindServiceStatisticalDataResult::Data FindServiceStatisticalDataResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
int FindServiceStatisticalDataResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -25,17 +25,6 @@ GetOrderRequest::GetOrderRequest() :
|
||||
GetOrderRequest::~GetOrderRequest()
|
||||
{}
|
||||
|
||||
long GetOrderRequest::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOrderRequest::setOrderId(long orderId)
|
||||
{
|
||||
orderId_ = orderId;
|
||||
setParameter("OrderId", std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void GetOrderRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetOrderRequest::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
void GetOrderRequest::setOrderId(long orderId)
|
||||
{
|
||||
orderId_ = orderId;
|
||||
setParameter("OrderId", std::to_string(orderId));
|
||||
}
|
||||
|
||||
std::string GetOrderRequest::getServiceName()const
|
||||
{
|
||||
return serviceName_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void GetProjectRequest::setProjectName(const std::string& projectName)
|
||||
setParameter("ProjectName", projectName);
|
||||
}
|
||||
|
||||
long GetProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void GetProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string GetProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void GetProjectRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void GetProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ GetServiceRequest::GetServiceRequest() :
|
||||
GetServiceRequest::~GetServiceRequest()
|
||||
{}
|
||||
|
||||
long GetServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void GetServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string GetServiceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void GetServiceRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long GetServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void GetServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
long GetServiceRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void UpdateOrderRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long UpdateOrderRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateOrderRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string UpdateOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void UpdateOrderRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long UpdateOrderRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateOrderRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void UpdateProjectListStatusRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long UpdateProjectListStatusRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateProjectListStatusRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string UpdateProjectListStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void UpdateProjectListStatusRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long UpdateProjectListStatusRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateProjectListStatusRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void UpdateProjectRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long UpdateProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string UpdateProjectRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void UpdateProjectRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long UpdateProjectRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateProjectRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -36,17 +36,6 @@ void UpdateServiceListStatusRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long UpdateServiceListStatusRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateServiceListStatusRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string UpdateServiceListStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void UpdateServiceListStatusRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long UpdateServiceListStatusRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateServiceListStatusRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -25,17 +25,6 @@ UpdateServiceQPSRequest::UpdateServiceQPSRequest() :
|
||||
UpdateServiceQPSRequest::~UpdateServiceQPSRequest()
|
||||
{}
|
||||
|
||||
std::string UpdateServiceQPSRequest::getQps()const
|
||||
{
|
||||
return qps_;
|
||||
}
|
||||
|
||||
void UpdateServiceQPSRequest::setQps(const std::string& qps)
|
||||
{
|
||||
qps_ = qps;
|
||||
setParameter("Qps", qps);
|
||||
}
|
||||
|
||||
std::string UpdateServiceQPSRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -47,6 +36,17 @@ void UpdateServiceQPSRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string UpdateServiceQPSRequest::getQps()const
|
||||
{
|
||||
return qps_;
|
||||
}
|
||||
|
||||
void UpdateServiceQPSRequest::setQps(const std::string& qps)
|
||||
{
|
||||
qps_ = qps;
|
||||
setParameter("Qps", qps);
|
||||
}
|
||||
|
||||
long UpdateServiceQPSRequest::getServiceId()const
|
||||
{
|
||||
return serviceId_;
|
||||
|
||||
@@ -36,17 +36,6 @@ void UpdateServiceRequest::setData(const std::string& data)
|
||||
setParameter("Data", data);
|
||||
}
|
||||
|
||||
long UpdateServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
std::string UpdateServiceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
@@ -58,3 +47,14 @@ void UpdateServiceRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
long UpdateServiceRequest::getCsbId()const
|
||||
{
|
||||
return csbId_;
|
||||
}
|
||||
|
||||
void UpdateServiceRequest::setCsbId(long csbId)
|
||||
{
|
||||
csbId_ = csbId;
|
||||
setParameter("CsbId", std::to_string(csbId));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/CreateNatGatewayResult.h
|
||||
include/alibabacloud/ecs/model/AttachDiskRequest.h
|
||||
include/alibabacloud/ecs/model/AttachDiskResult.h
|
||||
include/alibabacloud/ecs/model/DescribeEniMonitorDataRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeEniMonitorDataResult.h
|
||||
include/alibabacloud/ecs/model/ReInitDiskRequest.h
|
||||
include/alibabacloud/ecs/model/ReInitDiskResult.h
|
||||
include/alibabacloud/ecs/model/CreateHaVipRequest.h
|
||||
@@ -109,6 +111,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/AddIpRangeResult.h
|
||||
include/alibabacloud/ecs/model/GetInstanceConsoleOutputRequest.h
|
||||
include/alibabacloud/ecs/model/GetInstanceConsoleOutputResult.h
|
||||
include/alibabacloud/ecs/model/CreateSimulatedSystemEventsRequest.h
|
||||
include/alibabacloud/ecs/model/CreateSimulatedSystemEventsResult.h
|
||||
include/alibabacloud/ecs/model/CancelTaskRequest.h
|
||||
include/alibabacloud/ecs/model/CancelTaskResult.h
|
||||
include/alibabacloud/ecs/model/ModifyPhysicalConnectionAttributeRequest.h
|
||||
@@ -157,6 +161,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/RemoveTagsResult.h
|
||||
include/alibabacloud/ecs/model/ModifySecurityGroupAttributeRequest.h
|
||||
include/alibabacloud/ecs/model/ModifySecurityGroupAttributeResult.h
|
||||
include/alibabacloud/ecs/model/CancelSimulatedSystemEventsRequest.h
|
||||
include/alibabacloud/ecs/model/CancelSimulatedSystemEventsResult.h
|
||||
include/alibabacloud/ecs/model/ModifyInstanceAutoReleaseTimeRequest.h
|
||||
include/alibabacloud/ecs/model/ModifyInstanceAutoReleaseTimeResult.h
|
||||
include/alibabacloud/ecs/model/DeleteNatGatewayRequest.h
|
||||
@@ -401,6 +407,8 @@ set(ecs_public_header_model
|
||||
include/alibabacloud/ecs/model/ReleasePublicIpAddressResult.h
|
||||
include/alibabacloud/ecs/model/CreateVirtualBorderRouterRequest.h
|
||||
include/alibabacloud/ecs/model/CreateVirtualBorderRouterResult.h
|
||||
include/alibabacloud/ecs/model/DescribeAccountAttributesRequest.h
|
||||
include/alibabacloud/ecs/model/DescribeAccountAttributesResult.h
|
||||
include/alibabacloud/ecs/model/EipFillParamsRequest.h
|
||||
include/alibabacloud/ecs/model/EipFillParamsResult.h
|
||||
include/alibabacloud/ecs/model/ModifyPrepayInstanceSpecRequest.h
|
||||
@@ -520,6 +528,8 @@ set(ecs_src
|
||||
src/model/CreateNatGatewayResult.cc
|
||||
src/model/AttachDiskRequest.cc
|
||||
src/model/AttachDiskResult.cc
|
||||
src/model/DescribeEniMonitorDataRequest.cc
|
||||
src/model/DescribeEniMonitorDataResult.cc
|
||||
src/model/ReInitDiskRequest.cc
|
||||
src/model/ReInitDiskResult.cc
|
||||
src/model/CreateHaVipRequest.cc
|
||||
@@ -594,6 +604,8 @@ set(ecs_src
|
||||
src/model/AddIpRangeResult.cc
|
||||
src/model/GetInstanceConsoleOutputRequest.cc
|
||||
src/model/GetInstanceConsoleOutputResult.cc
|
||||
src/model/CreateSimulatedSystemEventsRequest.cc
|
||||
src/model/CreateSimulatedSystemEventsResult.cc
|
||||
src/model/CancelTaskRequest.cc
|
||||
src/model/CancelTaskResult.cc
|
||||
src/model/ModifyPhysicalConnectionAttributeRequest.cc
|
||||
@@ -642,6 +654,8 @@ set(ecs_src
|
||||
src/model/RemoveTagsResult.cc
|
||||
src/model/ModifySecurityGroupAttributeRequest.cc
|
||||
src/model/ModifySecurityGroupAttributeResult.cc
|
||||
src/model/CancelSimulatedSystemEventsRequest.cc
|
||||
src/model/CancelSimulatedSystemEventsResult.cc
|
||||
src/model/ModifyInstanceAutoReleaseTimeRequest.cc
|
||||
src/model/ModifyInstanceAutoReleaseTimeResult.cc
|
||||
src/model/DeleteNatGatewayRequest.cc
|
||||
@@ -886,6 +900,8 @@ set(ecs_src
|
||||
src/model/ReleasePublicIpAddressResult.cc
|
||||
src/model/CreateVirtualBorderRouterRequest.cc
|
||||
src/model/CreateVirtualBorderRouterResult.cc
|
||||
src/model/DescribeAccountAttributesRequest.cc
|
||||
src/model/DescribeAccountAttributesResult.cc
|
||||
src/model/EipFillParamsRequest.cc
|
||||
src/model/EipFillParamsResult.cc
|
||||
src/model/ModifyPrepayInstanceSpecRequest.cc
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "model/CreateNatGatewayResult.h"
|
||||
#include "model/AttachDiskRequest.h"
|
||||
#include "model/AttachDiskResult.h"
|
||||
#include "model/DescribeEniMonitorDataRequest.h"
|
||||
#include "model/DescribeEniMonitorDataResult.h"
|
||||
#include "model/ReInitDiskRequest.h"
|
||||
#include "model/ReInitDiskResult.h"
|
||||
#include "model/CreateHaVipRequest.h"
|
||||
@@ -110,6 +112,8 @@
|
||||
#include "model/AddIpRangeResult.h"
|
||||
#include "model/GetInstanceConsoleOutputRequest.h"
|
||||
#include "model/GetInstanceConsoleOutputResult.h"
|
||||
#include "model/CreateSimulatedSystemEventsRequest.h"
|
||||
#include "model/CreateSimulatedSystemEventsResult.h"
|
||||
#include "model/CancelTaskRequest.h"
|
||||
#include "model/CancelTaskResult.h"
|
||||
#include "model/ModifyPhysicalConnectionAttributeRequest.h"
|
||||
@@ -158,6 +162,8 @@
|
||||
#include "model/RemoveTagsResult.h"
|
||||
#include "model/ModifySecurityGroupAttributeRequest.h"
|
||||
#include "model/ModifySecurityGroupAttributeResult.h"
|
||||
#include "model/CancelSimulatedSystemEventsRequest.h"
|
||||
#include "model/CancelSimulatedSystemEventsResult.h"
|
||||
#include "model/ModifyInstanceAutoReleaseTimeRequest.h"
|
||||
#include "model/ModifyInstanceAutoReleaseTimeResult.h"
|
||||
#include "model/DeleteNatGatewayRequest.h"
|
||||
@@ -402,6 +408,8 @@
|
||||
#include "model/ReleasePublicIpAddressResult.h"
|
||||
#include "model/CreateVirtualBorderRouterRequest.h"
|
||||
#include "model/CreateVirtualBorderRouterResult.h"
|
||||
#include "model/DescribeAccountAttributesRequest.h"
|
||||
#include "model/DescribeAccountAttributesResult.h"
|
||||
#include "model/EipFillParamsRequest.h"
|
||||
#include "model/EipFillParamsResult.h"
|
||||
#include "model/ModifyPrepayInstanceSpecRequest.h"
|
||||
@@ -534,6 +542,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AttachDiskResult> AttachDiskOutcome;
|
||||
typedef std::future<AttachDiskOutcome> AttachDiskOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::AttachDiskRequest&, const AttachDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AttachDiskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEniMonitorDataResult> DescribeEniMonitorDataOutcome;
|
||||
typedef std::future<DescribeEniMonitorDataOutcome> DescribeEniMonitorDataOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeEniMonitorDataRequest&, const DescribeEniMonitorDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEniMonitorDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReInitDiskResult> ReInitDiskOutcome;
|
||||
typedef std::future<ReInitDiskOutcome> ReInitDiskOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ReInitDiskRequest&, const ReInitDiskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReInitDiskAsyncHandler;
|
||||
@@ -645,6 +656,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetInstanceConsoleOutputResult> GetInstanceConsoleOutputOutcome;
|
||||
typedef std::future<GetInstanceConsoleOutputOutcome> GetInstanceConsoleOutputOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::GetInstanceConsoleOutputRequest&, const GetInstanceConsoleOutputOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceConsoleOutputAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSimulatedSystemEventsResult> CreateSimulatedSystemEventsOutcome;
|
||||
typedef std::future<CreateSimulatedSystemEventsOutcome> CreateSimulatedSystemEventsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateSimulatedSystemEventsRequest&, const CreateSimulatedSystemEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSimulatedSystemEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelTaskResult> CancelTaskOutcome;
|
||||
typedef std::future<CancelTaskOutcome> CancelTaskOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CancelTaskRequest&, const CancelTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelTaskAsyncHandler;
|
||||
@@ -717,6 +731,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifySecurityGroupAttributeResult> ModifySecurityGroupAttributeOutcome;
|
||||
typedef std::future<ModifySecurityGroupAttributeOutcome> ModifySecurityGroupAttributeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifySecurityGroupAttributeRequest&, const ModifySecurityGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityGroupAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelSimulatedSystemEventsResult> CancelSimulatedSystemEventsOutcome;
|
||||
typedef std::future<CancelSimulatedSystemEventsOutcome> CancelSimulatedSystemEventsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CancelSimulatedSystemEventsRequest&, const CancelSimulatedSystemEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelSimulatedSystemEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyInstanceAutoReleaseTimeResult> ModifyInstanceAutoReleaseTimeOutcome;
|
||||
typedef std::future<ModifyInstanceAutoReleaseTimeOutcome> ModifyInstanceAutoReleaseTimeOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::ModifyInstanceAutoReleaseTimeRequest&, const ModifyInstanceAutoReleaseTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceAutoReleaseTimeAsyncHandler;
|
||||
@@ -1083,6 +1100,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateVirtualBorderRouterResult> CreateVirtualBorderRouterOutcome;
|
||||
typedef std::future<CreateVirtualBorderRouterOutcome> CreateVirtualBorderRouterOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::CreateVirtualBorderRouterRequest&, const CreateVirtualBorderRouterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVirtualBorderRouterAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAccountAttributesResult> DescribeAccountAttributesOutcome;
|
||||
typedef std::future<DescribeAccountAttributesOutcome> DescribeAccountAttributesOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::DescribeAccountAttributesRequest&, const DescribeAccountAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountAttributesAsyncHandler;
|
||||
typedef Outcome<Error, Model::EipFillParamsResult> EipFillParamsOutcome;
|
||||
typedef std::future<EipFillParamsOutcome> EipFillParamsOutcomeCallable;
|
||||
typedef std::function<void(const EcsClient*, const Model::EipFillParamsRequest&, const EipFillParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EipFillParamsAsyncHandler;
|
||||
@@ -1262,6 +1282,9 @@ namespace AlibabaCloud
|
||||
AttachDiskOutcome attachDisk(const Model::AttachDiskRequest &request)const;
|
||||
void attachDiskAsync(const Model::AttachDiskRequest& request, const AttachDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AttachDiskOutcomeCallable attachDiskCallable(const Model::AttachDiskRequest& request) const;
|
||||
DescribeEniMonitorDataOutcome describeEniMonitorData(const Model::DescribeEniMonitorDataRequest &request)const;
|
||||
void describeEniMonitorDataAsync(const Model::DescribeEniMonitorDataRequest& request, const DescribeEniMonitorDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEniMonitorDataOutcomeCallable describeEniMonitorDataCallable(const Model::DescribeEniMonitorDataRequest& request) const;
|
||||
ReInitDiskOutcome reInitDisk(const Model::ReInitDiskRequest &request)const;
|
||||
void reInitDiskAsync(const Model::ReInitDiskRequest& request, const ReInitDiskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReInitDiskOutcomeCallable reInitDiskCallable(const Model::ReInitDiskRequest& request) const;
|
||||
@@ -1373,6 +1396,9 @@ namespace AlibabaCloud
|
||||
GetInstanceConsoleOutputOutcome getInstanceConsoleOutput(const Model::GetInstanceConsoleOutputRequest &request)const;
|
||||
void getInstanceConsoleOutputAsync(const Model::GetInstanceConsoleOutputRequest& request, const GetInstanceConsoleOutputAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceConsoleOutputOutcomeCallable getInstanceConsoleOutputCallable(const Model::GetInstanceConsoleOutputRequest& request) const;
|
||||
CreateSimulatedSystemEventsOutcome createSimulatedSystemEvents(const Model::CreateSimulatedSystemEventsRequest &request)const;
|
||||
void createSimulatedSystemEventsAsync(const Model::CreateSimulatedSystemEventsRequest& request, const CreateSimulatedSystemEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSimulatedSystemEventsOutcomeCallable createSimulatedSystemEventsCallable(const Model::CreateSimulatedSystemEventsRequest& request) const;
|
||||
CancelTaskOutcome cancelTask(const Model::CancelTaskRequest &request)const;
|
||||
void cancelTaskAsync(const Model::CancelTaskRequest& request, const CancelTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelTaskOutcomeCallable cancelTaskCallable(const Model::CancelTaskRequest& request) const;
|
||||
@@ -1445,6 +1471,9 @@ namespace AlibabaCloud
|
||||
ModifySecurityGroupAttributeOutcome modifySecurityGroupAttribute(const Model::ModifySecurityGroupAttributeRequest &request)const;
|
||||
void modifySecurityGroupAttributeAsync(const Model::ModifySecurityGroupAttributeRequest& request, const ModifySecurityGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySecurityGroupAttributeOutcomeCallable modifySecurityGroupAttributeCallable(const Model::ModifySecurityGroupAttributeRequest& request) const;
|
||||
CancelSimulatedSystemEventsOutcome cancelSimulatedSystemEvents(const Model::CancelSimulatedSystemEventsRequest &request)const;
|
||||
void cancelSimulatedSystemEventsAsync(const Model::CancelSimulatedSystemEventsRequest& request, const CancelSimulatedSystemEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelSimulatedSystemEventsOutcomeCallable cancelSimulatedSystemEventsCallable(const Model::CancelSimulatedSystemEventsRequest& request) const;
|
||||
ModifyInstanceAutoReleaseTimeOutcome modifyInstanceAutoReleaseTime(const Model::ModifyInstanceAutoReleaseTimeRequest &request)const;
|
||||
void modifyInstanceAutoReleaseTimeAsync(const Model::ModifyInstanceAutoReleaseTimeRequest& request, const ModifyInstanceAutoReleaseTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceAutoReleaseTimeOutcomeCallable modifyInstanceAutoReleaseTimeCallable(const Model::ModifyInstanceAutoReleaseTimeRequest& request) const;
|
||||
@@ -1811,6 +1840,9 @@ namespace AlibabaCloud
|
||||
CreateVirtualBorderRouterOutcome createVirtualBorderRouter(const Model::CreateVirtualBorderRouterRequest &request)const;
|
||||
void createVirtualBorderRouterAsync(const Model::CreateVirtualBorderRouterRequest& request, const CreateVirtualBorderRouterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVirtualBorderRouterOutcomeCallable createVirtualBorderRouterCallable(const Model::CreateVirtualBorderRouterRequest& request) const;
|
||||
DescribeAccountAttributesOutcome describeAccountAttributes(const Model::DescribeAccountAttributesRequest &request)const;
|
||||
void describeAccountAttributesAsync(const Model::DescribeAccountAttributesRequest& request, const DescribeAccountAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountAttributesOutcomeCallable describeAccountAttributesCallable(const Model::DescribeAccountAttributesRequest& request) const;
|
||||
EipFillParamsOutcome eipFillParams(const Model::EipFillParamsRequest &request)const;
|
||||
void eipFillParamsAsync(const Model::EipFillParamsRequest& request, const EipFillParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EipFillParamsOutcomeCallable eipFillParamsCallable(const Model::EipFillParamsRequest& request) const;
|
||||
|
||||
@@ -30,61 +30,39 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT AddTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
AddTagsRequest();
|
||||
~AddTagsRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceId()const;
|
||||
void setResourceId(const std::string& resourceId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceId_;
|
||||
std::string tag2Key_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string tag3Key_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string tag1Value_;
|
||||
std::string regionId_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string tag3Value_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getInstanceType()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string instanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string ownerAccount_;
|
||||
std::string instanceType_;
|
||||
std::string allocationId_;
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CancelSimulatedSystemEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelSimulatedSystemEventsRequest();
|
||||
~CancelSimulatedSystemEventsRequest();
|
||||
|
||||
std::vector<std::string> getEventId()const;
|
||||
void setEventId(const std::vector<std::string>& eventId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
|
||||
private:
|
||||
std::vector<std::string> eventId_;
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_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_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CancelSimulatedSystemEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelSimulatedSystemEventsResult();
|
||||
explicit CancelSimulatedSystemEventsResult(const std::string &payload);
|
||||
~CancelSimulatedSystemEventsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
@@ -30,73 +30,51 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CopyImageRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
CopyImageRequest();
|
||||
~CopyImageRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getImageId()const;
|
||||
void setImageId(const std::string& imageId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
bool getEncrypted()const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDestinationImageName()const;
|
||||
void setDestinationImageName(const std::string& destinationImageName);
|
||||
std::string getDestinationRegionId()const;
|
||||
void setDestinationRegionId(const std::string& destinationRegionId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
bool getEncrypted()const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getDestinationDescription()const;
|
||||
void setDestinationDescription(const std::string& destinationDescription);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string imageId_;
|
||||
std::string tag2Key_;
|
||||
std::string tag5Key_;
|
||||
bool encrypted_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string destinationImageName_;
|
||||
std::string destinationRegionId_;
|
||||
std::string ownerAccount_;
|
||||
std::string tag3Key_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string tag1Value_;
|
||||
bool encrypted_;
|
||||
std::string regionId_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string destinationDescription_;
|
||||
std::string tag3Value_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,85 +30,63 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateDiskRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateDiskRequest();
|
||||
~CreateDiskRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSnapshotId()const;
|
||||
void setSnapshotId(const std::string& snapshotId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::string getDiskName()const;
|
||||
void setDiskName(const std::string& diskName);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getDiskName()const;
|
||||
void setDiskName(const std::string& diskName);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
int getSize()const;
|
||||
void setSize(int size);
|
||||
bool getEncrypted()const;
|
||||
void setEncrypted(bool encrypted);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDiskCategory()const;
|
||||
void setDiskCategory(const std::string& diskCategory);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string snapshotId_;
|
||||
std::string tag2Key_;
|
||||
std::string clientToken_;
|
||||
std::string description_;
|
||||
std::string tag3Key_;
|
||||
std::string diskName_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string diskCategory_;
|
||||
std::string tag3Value_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
std::string description_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string diskName_;
|
||||
std::string resourceGroupId_;
|
||||
int size_;
|
||||
bool encrypted_;
|
||||
std::string tag2Value_;
|
||||
std::string regionId_;
|
||||
std::string diskCategory_;
|
||||
std::string zoneId_;
|
||||
std::string tag4Key_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,10 +32,15 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct DiskDeviceMapping
|
||||
{
|
||||
int size;
|
||||
std::string snapshotId;
|
||||
std::string device;
|
||||
int size;
|
||||
std::string diskType;
|
||||
std::string device;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -44,81 +49,54 @@ namespace AlibabaCloud
|
||||
|
||||
std::vector<DiskDeviceMapping> getDiskDeviceMapping()const;
|
||||
void setDiskDeviceMapping(const std::vector<DiskDeviceMapping>& diskDeviceMapping);
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSnapshotId()const;
|
||||
void setSnapshotId(const std::string& snapshotId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getImageName()const;
|
||||
void setImageName(const std::string& imageName);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getArchitecture()const;
|
||||
void setArchitecture(const std::string& architecture);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getImageVersion()const;
|
||||
void setImageVersion(const std::string& imageVersion);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getArchitecture()const;
|
||||
void setArchitecture(const std::string& architecture);
|
||||
|
||||
private:
|
||||
std::vector<DiskDeviceMapping> diskDeviceMapping_;
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string snapshotId_;
|
||||
std::string tag2Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
std::string description_;
|
||||
std::string tag3Key_;
|
||||
long ownerId_;
|
||||
std::string platform_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string imageName_;
|
||||
std::string tag3Value_;
|
||||
std::string architecture_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string instanceId_;
|
||||
std::string tag2Value_;
|
||||
std::string imageVersion_;
|
||||
std::string tag4Key_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string architecture_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,46 +30,45 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct DataDisk
|
||||
{
|
||||
int size;
|
||||
std::string snapshotId;
|
||||
std::string category;
|
||||
std::string diskName;
|
||||
std::string snapshotId;
|
||||
int size;
|
||||
bool encrypted;
|
||||
std::string description;
|
||||
std::string category;
|
||||
std::string device;
|
||||
bool deleteWithInstance;
|
||||
bool encrypted;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateInstanceRequest();
|
||||
~CreateInstanceRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getHpcClusterId()const;
|
||||
void setHpcClusterId(const std::string& hpcClusterId);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::string getSecurityEnhancementStrategy()const;
|
||||
void setSecurityEnhancementStrategy(const std::string& securityEnhancementStrategy);
|
||||
std::string getKeyPairName()const;
|
||||
void setKeyPairName(const std::string& keyPairName);
|
||||
float getSpotPriceLimit()const;
|
||||
void setSpotPriceLimit(float spotPriceLimit);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
int getAutoRenewPeriod()const;
|
||||
void setAutoRenewPeriod(int autoRenewPeriod);
|
||||
std::string getNodeControllerId()const;
|
||||
@@ -78,8 +77,6 @@ namespace AlibabaCloud
|
||||
void setPeriod(int period);
|
||||
bool getDryRun()const;
|
||||
void setDryRun(bool dryRun);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVSwitchId()const;
|
||||
@@ -98,8 +95,6 @@ namespace AlibabaCloud
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
int getInternetMaxBandwidthIn()const;
|
||||
void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
|
||||
bool getUseAdditionalService()const;
|
||||
@@ -132,8 +127,6 @@ namespace AlibabaCloud
|
||||
void setInstanceType(const std::string& instanceType);
|
||||
std::string getInstanceChargeType()const;
|
||||
void setInstanceChargeType(const std::string& instanceChargeType);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getDeploymentSetId()const;
|
||||
void setDeploymentSetId(const std::string& deploymentSetId);
|
||||
std::string getInnerIpAddress()const;
|
||||
@@ -150,37 +143,29 @@ namespace AlibabaCloud
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
std::string getClusterId()const;
|
||||
void setClusterId(const std::string& clusterId);
|
||||
std::string getCreditSpecification()const;
|
||||
void setCreditSpecification(const std::string& creditSpecification);
|
||||
std::vector<DataDisk> getDataDisk()const;
|
||||
void setDataDisk(const std::vector<DataDisk>& dataDisk);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
int getSystemDiskSize()const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getSystemDiskDescription()const;
|
||||
void setSystemDiskDescription(const std::string& systemDiskDescription);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string tag2Key_;
|
||||
std::string hpcClusterId_;
|
||||
std::string tag3Key_;
|
||||
std::string securityEnhancementStrategy_;
|
||||
std::string keyPairName_;
|
||||
float spotPriceLimit_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
std::string hostName_;
|
||||
std::string password_;
|
||||
std::vector<Tag> tag_;
|
||||
int autoRenewPeriod_;
|
||||
std::string nodeControllerId_;
|
||||
int period_;
|
||||
bool dryRun_;
|
||||
std::string tag5Key_;
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
@@ -190,7 +175,6 @@ namespace AlibabaCloud
|
||||
bool autoRenew_;
|
||||
std::string internetChargeType_;
|
||||
std::string zoneId_;
|
||||
std::string tag4Key_;
|
||||
int internetMaxBandwidthIn_;
|
||||
bool useAdditionalService_;
|
||||
std::string imageId_;
|
||||
@@ -207,7 +191,6 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::string instanceChargeType_;
|
||||
std::string tag3Value_;
|
||||
std::string deploymentSetId_;
|
||||
std::string innerIpAddress_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -216,11 +199,9 @@ namespace AlibabaCloud
|
||||
std::string ramRoleName_;
|
||||
std::string dedicatedHostId_;
|
||||
std::string clusterId_;
|
||||
std::string creditSpecification_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
int systemDiskSize_;
|
||||
std::string tag2Value_;
|
||||
std::string systemDiskDescription_;
|
||||
|
||||
};
|
||||
|
||||
@@ -30,61 +30,39 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateKeyPairRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateKeyPairRequest();
|
||||
~CreateKeyPairRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::string getKeyPairName()const;
|
||||
void setKeyPairName(const std::string& keyPairName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getKeyPairName()const;
|
||||
void setKeyPairName(const std::string& keyPairName);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string tag2Key_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string tag3Key_;
|
||||
std::string keyPairName_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string tag3Value_;
|
||||
std::string keyPairName_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,11 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateLaunchTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
struct TemplateTag
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
@@ -62,8 +67,6 @@ namespace AlibabaCloud
|
||||
void setLaunchTemplateName(const std::string& launchTemplateName);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTemplateTag4Key()const;
|
||||
void setTemplateTag4Key(const std::string& templateTag4Key);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
std::string getSecurityEnhancementStrategy()const;
|
||||
@@ -84,8 +87,6 @@ namespace AlibabaCloud
|
||||
void setImageOwnerAlias(const std::string& imageOwnerAlias);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getTemplateTag3Key()const;
|
||||
void setTemplateTag3Key(const std::string& templateTag3Key);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getSecurityToken()const;
|
||||
@@ -96,8 +97,8 @@ namespace AlibabaCloud
|
||||
void setSystemDiskIops(int systemDiskIops);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getTemplateTag3Value()const;
|
||||
void setTemplateTag3Value(const std::string& templateTag3Value);
|
||||
std::vector<TemplateTag> getTemplateTag()const;
|
||||
void setTemplateTag(const std::vector<TemplateTag>& templateTag);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getCallerUid()const;
|
||||
@@ -106,8 +107,6 @@ namespace AlibabaCloud
|
||||
void setPeriod(int period);
|
||||
std::string getTemplateResourceGroupId()const;
|
||||
void setTemplateResourceGroupId(const std::string& templateResourceGroupId);
|
||||
std::string getTemplateTag2Value()const;
|
||||
void setTemplateTag2Value(const std::string& templateTag2Value);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getAk_mfa_present()const;
|
||||
@@ -124,16 +123,12 @@ namespace AlibabaCloud
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getInternetChargeType()const;
|
||||
void setInternetChargeType(const std::string& internetChargeType);
|
||||
std::string getTemplateTag5Key()const;
|
||||
void setTemplateTag5Key(const std::string& templateTag5Key);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
int getInternetMaxBandwidthIn()const;
|
||||
void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
|
||||
std::string getVersionDescription()const;
|
||||
void setVersionDescription(const std::string& versionDescription);
|
||||
std::string getTemplateTag1Value()const;
|
||||
void setTemplateTag1Value(const std::string& templateTag1Value);
|
||||
std::string getImageId()const;
|
||||
void setImageId(const std::string& imageId);
|
||||
std::string getIoOptimized()const;
|
||||
@@ -154,8 +149,6 @@ namespace AlibabaCloud
|
||||
void setUserData(const std::string& userData);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTemplateTag5Value()const;
|
||||
void setTemplateTag5Value(const std::string& templateTag5Value);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getInstanceType()const;
|
||||
@@ -170,8 +163,6 @@ namespace AlibabaCloud
|
||||
void setNetworkInterface(const std::vector<NetworkInterface>& networkInterface);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getTemplateTag2Key()const;
|
||||
void setTemplateTag2Key(const std::string& templateTag2Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -190,21 +181,16 @@ namespace AlibabaCloud
|
||||
void setDataDisk(const std::vector<DataDisk>& dataDisk);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
std::string getTemplateTag4Value()const;
|
||||
void setTemplateTag4Value(const std::string& templateTag4Value);
|
||||
int getSystemDiskSize()const;
|
||||
void setSystemDiskSize(int systemDiskSize);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getTemplateTag1Key()const;
|
||||
void setTemplateTag1Key(const std::string& templateTag1Key);
|
||||
std::string getSystemDiskDescription()const;
|
||||
void setSystemDiskDescription(const std::string& systemDiskDescription);
|
||||
|
||||
private:
|
||||
std::string launchTemplateName_;
|
||||
long resourceOwnerId_;
|
||||
std::string templateTag4Key_;
|
||||
long callerParentId_;
|
||||
std::string securityEnhancementStrategy_;
|
||||
std::string networkType_;
|
||||
@@ -215,18 +201,16 @@ namespace AlibabaCloud
|
||||
std::string callerType_;
|
||||
std::string imageOwnerAlias_;
|
||||
std::string resourceGroupId_;
|
||||
std::string templateTag3Key_;
|
||||
std::string hostName_;
|
||||
std::string securityToken_;
|
||||
bool enable_;
|
||||
int systemDiskIops_;
|
||||
std::string callerBidEmail_;
|
||||
std::string templateTag3Value_;
|
||||
std::vector<TemplateTag> templateTag_;
|
||||
std::vector<Tag> tag_;
|
||||
long callerUid_;
|
||||
int period_;
|
||||
std::string templateResourceGroupId_;
|
||||
std::string templateTag2Value_;
|
||||
long ownerId_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
@@ -235,11 +219,9 @@ namespace AlibabaCloud
|
||||
std::string instanceName_;
|
||||
std::string requestId_;
|
||||
std::string internetChargeType_;
|
||||
std::string templateTag5Key_;
|
||||
std::string zoneId_;
|
||||
int internetMaxBandwidthIn_;
|
||||
std::string versionDescription_;
|
||||
std::string templateTag1Value_;
|
||||
std::string imageId_;
|
||||
std::string ioOptimized_;
|
||||
std::string securityGroupId_;
|
||||
@@ -250,7 +232,6 @@ namespace AlibabaCloud
|
||||
std::string accessKeyId_;
|
||||
std::string userData_;
|
||||
std::string regionId_;
|
||||
std::string templateTag5Value_;
|
||||
std::string requestContent_;
|
||||
std::string instanceType_;
|
||||
std::string instanceChargeType_;
|
||||
@@ -258,7 +239,6 @@ namespace AlibabaCloud
|
||||
bool enableVmOsConfig_;
|
||||
std::vector<NetworkInterface> networkInterface_;
|
||||
std::string app_ip_;
|
||||
std::string templateTag2Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string systemDiskDiskName_;
|
||||
@@ -268,10 +248,8 @@ namespace AlibabaCloud
|
||||
int spotDuration_;
|
||||
std::vector<DataDisk> dataDisk_;
|
||||
bool proxy_trust_transport_info_;
|
||||
std::string templateTag4Value_;
|
||||
int systemDiskSize_;
|
||||
std::string vpcId_;
|
||||
std::string templateTag1Key_;
|
||||
std::string systemDiskDescription_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct BandwidthPackage
|
||||
{
|
||||
int ipCount;
|
||||
int bandwidth;
|
||||
std::string zone;
|
||||
int ipCount;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -30,17 +30,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateNetworkInterfaceRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string key;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateNetworkInterfaceRequest();
|
||||
~CreateNetworkInterfaceRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getCallerParentId()const;
|
||||
@@ -51,8 +52,6 @@ namespace AlibabaCloud
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
@@ -61,8 +60,6 @@ namespace AlibabaCloud
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
@@ -75,18 +72,16 @@ namespace AlibabaCloud
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getNetworkInterfaceName()const;
|
||||
void setNetworkInterfaceName(const std::string& networkInterfaceName);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -95,67 +90,50 @@ namespace AlibabaCloud
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getPrimaryIpAddress()const;
|
||||
void setPrimaryIpAddress(const std::string& primaryIpAddress);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string tag2Key_;
|
||||
std::string clientToken_;
|
||||
long callerParentId_;
|
||||
std::string securityGroupId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string description_;
|
||||
std::string tag3Key_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string callerUidEmail_;
|
||||
std::string tag3Value_;
|
||||
std::string networkInterfaceName_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string tag1Key_;
|
||||
std::string vSwitchId_;
|
||||
std::string requestId_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string primaryIpAddress_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopType;
|
||||
std::string nextHopId;
|
||||
std::string nextHopType;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -44,6 +44,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
@@ -64,6 +66,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string clientToken_;
|
||||
std::string destinationCidrBlock_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -30,73 +30,51 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSecurityGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateSecurityGroupRequest();
|
||||
~CreateSecurityGroupRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityGroupName()const;
|
||||
void setSecurityGroupName(const std::string& securityGroupName);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
std::string resourceGroupId_;
|
||||
long resourceOwnerId_;
|
||||
std::string tag2Key_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string clientToken_;
|
||||
std::string vpcId_;
|
||||
std::string ownerAccount_;
|
||||
std::string description_;
|
||||
std::string tag3Key_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
std::string securityGroupName_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string tag1Value_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string vpcId_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string tag3Value_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSimulatedSystemEventsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSimulatedSystemEventsRequest();
|
||||
~CreateSimulatedSystemEventsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNotBefore()const;
|
||||
void setNotBefore(const std::string& notBefore);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::vector<std::string> getInstanceId()const;
|
||||
void setInstanceId(const std::vector<std::string>& instanceId);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getEventType()const;
|
||||
void setEventType(const std::string& eventType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string notBefore_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string requestId_;
|
||||
std::string eventType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSimulatedSystemEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateSimulatedSystemEventsResult();
|
||||
explicit CreateSimulatedSystemEventsResult(const std::string &payload);
|
||||
~CreateSimulatedSystemEventsResult();
|
||||
std::vector<std::string> getEventIdSet()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> eventIdSet_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSRESULT_H_
|
||||
@@ -30,19 +30,18 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT CreateSnapshotRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
CreateSnapshotRequest();
|
||||
~CreateSnapshotRequest();
|
||||
|
||||
std::string getTag4Value()const;
|
||||
void setTag4Value(const std::string& tag4Value);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTag2Key()const;
|
||||
void setTag2Key(const std::string& tag2Key);
|
||||
std::string getTag5Key()const;
|
||||
void setTag5Key(const std::string& tag5Key);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
@@ -51,46 +50,25 @@ namespace AlibabaCloud
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
std::string getTag3Key()const;
|
||||
void setTag3Key(const std::string& tag3Key);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTag5Value()const;
|
||||
void setTag5Value(const std::string& tag5Value);
|
||||
std::string getTag1Key()const;
|
||||
void setTag1Key(const std::string& tag1Key);
|
||||
std::string getTag1Value()const;
|
||||
void setTag1Value(const std::string& tag1Value);
|
||||
std::string getTag2Value()const;
|
||||
void setTag2Value(const std::string& tag2Value);
|
||||
std::string getTag4Key()const;
|
||||
void setTag4Key(const std::string& tag4Key);
|
||||
std::string getDiskId()const;
|
||||
void setDiskId(const std::string& diskId);
|
||||
std::string getTag3Value()const;
|
||||
void setTag3Value(const std::string& tag3Value);
|
||||
std::string getSnapshotName()const;
|
||||
void setSnapshotName(const std::string& snapshotName);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string tag4Value_;
|
||||
long resourceOwnerId_;
|
||||
std::string tag2Key_;
|
||||
std::string tag5Key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
std::string ownerAccount_;
|
||||
std::string description_;
|
||||
std::string snapshotName_;
|
||||
std::string tag3Key_;
|
||||
long ownerId_;
|
||||
std::string tag5Value_;
|
||||
std::string tag1Key_;
|
||||
std::string tag1Value_;
|
||||
std::string tag2Value_;
|
||||
std::string tag4Key_;
|
||||
std::string diskId_;
|
||||
std::string tag3Value_;
|
||||
std::string snapshotName_;
|
||||
std::vector<Tag> tag_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getVpcId()const;
|
||||
@@ -59,6 +61,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string clientToken_;
|
||||
std::string vpcId_;
|
||||
std::string vSwitchName_;
|
||||
|
||||
@@ -47,8 +47,6 @@ namespace AlibabaCloud
|
||||
void setPhysicalConnectionId(const std::string& physicalConnectionId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
std::string getUserCidr()const;
|
||||
void setUserCidr(const std::string& userCidr);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
@@ -59,7 +57,6 @@ namespace AlibabaCloud
|
||||
std::string clientToken_;
|
||||
std::string physicalConnectionId_;
|
||||
std::string ownerAccount_;
|
||||
std::string userCidr_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct NextHopList
|
||||
{
|
||||
std::string nextHopType;
|
||||
std::string nextHopId;
|
||||
std::string nextHopType;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -44,6 +44,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDestinationCidrBlock()const;
|
||||
void setDestinationCidrBlock(const std::string& destinationCidrBlock);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -60,6 +62,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string destinationCidrBlock_;
|
||||
std::string ownerAccount_;
|
||||
std::string nextHopId_;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string vSwitchId_;
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getOwnerAccount()const;
|
||||
@@ -49,6 +51,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string regionId_;
|
||||
std::string vpcId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Filter
|
||||
{
|
||||
std::string key;
|
||||
std::vector<std::string> value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESREQUEST_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAccountAttributesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccountAttributesRequest();
|
||||
~DescribeAccountAttributesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::vector<std::string> getAttributeName()const;
|
||||
void setAttributeName(const std::vector<std::string>& attributeName);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::vector<std::string> attributeName_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESRESULT_H_
|
||||
#define ALIBABACLOUD_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ecs/EcsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Ecs
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ECS_EXPORT DescribeAccountAttributesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountAttributeItem
|
||||
{
|
||||
struct ValueItem
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string instanceChargeType;
|
||||
std::string value;
|
||||
int count;
|
||||
std::string instanceType;
|
||||
};
|
||||
std::vector<AccountAttributeItem::ValueItem> attributeValues;
|
||||
std::string attributeName;
|
||||
};
|
||||
|
||||
|
||||
DescribeAccountAttributesResult();
|
||||
explicit DescribeAccountAttributesResult(const std::string &payload);
|
||||
~DescribeAccountAttributesResult();
|
||||
std::vector<AccountAttributeItem> getAccountAttributeItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AccountAttributeItem> accountAttributeItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ECS_MODEL_DESCRIBEACCOUNTATTRIBUTESRESULT_H_
|
||||
@@ -91,6 +91,8 @@ namespace AlibabaCloud
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
@@ -135,6 +137,7 @@ namespace AlibabaCloud
|
||||
std::string dedicatedHostId_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user