Compare commits

..

3 Commits

Author SHA1 Message Date
sdk-team
919e9477c5 Supported for openapi new version. 2019-08-13 14:50:03 +08:00
sdk-team
4316f41346 Support Defect Face API. 2019-08-12 11:14:38 +08:00
sdk-team
29401f9711 Add CreateStorageSet api to support storageSet. 2019-08-08 16:13:07 +08:00
1301 changed files with 61393 additions and 50289 deletions

View File

@@ -1,3 +1,19 @@
2019-08-13 Version 1.36.85
- Supported for openapi new version.
2019-08-12 Version 1.36.84
- Support Defect Face API.
2019-08-08 Version 1.36.83
- Add CreateStorageSet api to support storageSet.
- Add DeleteStorageSet api to support storageSet.
- Add ModifyStorageSetAttribute api to support storageSet.
- Add DescribeStorageSets api to support storageSet.
- Add DescribeStorageSetDetails api to support storageSet.
- Add parameter StorageSetId,StorageSetPartitionNumber to api CreateDisk,RunInstances,CreateInstance support storageSet.
- Add StorageSetId,StorageSetPartitionNumber with response of api DescribeDisks.
- Add DescribeNetworkInterfaces to support filter by PrivateIpAddress.
2019-08-08 Version 1.36.82
- Group, Plugin support tag authentication.

View File

@@ -1 +1 @@
1.36.82
1.36.85

View File

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

View File

@@ -0,0 +1,75 @@
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeRequest : public RpcServiceRequest
{
public:
CreateVerifySchemeRequest();
~CreateVerifySchemeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPackName()const;
void setPackName(const std::string& packName);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getSchemeName()const;
void setSchemeName(const std::string& schemeName);
std::string getBundleId()const;
void setBundleId(const std::string& bundleId);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPackSign()const;
void setPackSign(const std::string& packSign);
private:
long resourceOwnerId_;
std::string packName_;
std::string appName_;
std::string resourceOwnerAccount_;
std::string schemeName_;
std::string bundleId_;
std::string osType_;
long ownerId_;
std::string accessKeyId_;
std::string packSign_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileRequest : public RpcServiceRequest
{
public:
GetMobileRequest();
~GetMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
std::string getOutId()const;
void setOutId(const std::string& outId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string accessToken_;
std::string outId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_

View File

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

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT TwiceTelVerifyRequest : public RpcServiceRequest
{
public:
TwiceTelVerifyRequest();
~TwiceTelVerifyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSince()const;
void setSince(const std::string& since);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
long ownerId_;
std::string accessKeyId_;
std::string since_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_

View File

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

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileRequest : public RpcServiceRequest
{
public:
VerifyMobileRequest();
~VerifyMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessCode()const;
void setAccessCode(const std::string& accessCode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getOutId()const;
void setOutId(const std::string& outId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
long resourceOwnerId_;
std::string accessCode_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
std::string outId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_

View File

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

View File

@@ -0,0 +1,137 @@
/*
* 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/dypnsapi/model/CreateVerifySchemeRequest.h>
using AlibabaCloud::Dypnsapi::Model::CreateVerifySchemeRequest;
CreateVerifySchemeRequest::CreateVerifySchemeRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "CreateVerifyScheme")
{}
CreateVerifySchemeRequest::~CreateVerifySchemeRequest()
{}
long CreateVerifySchemeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void CreateVerifySchemeRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVerifySchemeRequest::getPackName()const
{
return packName_;
}
void CreateVerifySchemeRequest::setPackName(const std::string& packName)
{
packName_ = packName;
setCoreParameter("PackName", packName);
}
std::string CreateVerifySchemeRequest::getAppName()const
{
return appName_;
}
void CreateVerifySchemeRequest::setAppName(const std::string& appName)
{
appName_ = appName;
setCoreParameter("AppName", appName);
}
std::string CreateVerifySchemeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void CreateVerifySchemeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVerifySchemeRequest::getSchemeName()const
{
return schemeName_;
}
void CreateVerifySchemeRequest::setSchemeName(const std::string& schemeName)
{
schemeName_ = schemeName;
setCoreParameter("SchemeName", schemeName);
}
std::string CreateVerifySchemeRequest::getBundleId()const
{
return bundleId_;
}
void CreateVerifySchemeRequest::setBundleId(const std::string& bundleId)
{
bundleId_ = bundleId;
setCoreParameter("BundleId", bundleId);
}
std::string CreateVerifySchemeRequest::getOsType()const
{
return osType_;
}
void CreateVerifySchemeRequest::setOsType(const std::string& osType)
{
osType_ = osType;
setCoreParameter("OsType", osType);
}
long CreateVerifySchemeRequest::getOwnerId()const
{
return ownerId_;
}
void CreateVerifySchemeRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVerifySchemeRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateVerifySchemeRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateVerifySchemeRequest::getPackSign()const
{
return packSign_;
}
void CreateVerifySchemeRequest::setPackSign(const std::string& packSign)
{
packSign_ = packSign;
setCoreParameter("PackSign", packSign);
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/CreateVerifySchemeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
CreateVerifySchemeResult::CreateVerifySchemeResult() :
ServiceResult()
{}
CreateVerifySchemeResult::CreateVerifySchemeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVerifySchemeResult::~CreateVerifySchemeResult()
{}
void CreateVerifySchemeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto gateVerifySchemeDTONode = value["GateVerifySchemeDTO"];
if(!gateVerifySchemeDTONode["SchemeCode"].isNull())
gateVerifySchemeDTO_.schemeCode = gateVerifySchemeDTONode["SchemeCode"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CreateVerifySchemeResult::getMessage()const
{
return message_;
}
CreateVerifySchemeResult::GateVerifySchemeDTO CreateVerifySchemeResult::getGateVerifySchemeDTO()const
{
return gateVerifySchemeDTO_;
}
std::string CreateVerifySchemeResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/GetMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::GetMobileRequest;
GetMobileRequest::GetMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "GetMobile")
{}
GetMobileRequest::~GetMobileRequest()
{}
long GetMobileRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void GetMobileRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string GetMobileRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void GetMobileRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string GetMobileRequest::getAccessToken()const
{
return accessToken_;
}
void GetMobileRequest::setAccessToken(const std::string& accessToken)
{
accessToken_ = accessToken;
setCoreParameter("AccessToken", accessToken);
}
std::string GetMobileRequest::getOutId()const
{
return outId_;
}
void GetMobileRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}
long GetMobileRequest::getOwnerId()const
{
return ownerId_;
}
void GetMobileRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string GetMobileRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetMobileRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/GetMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
GetMobileResult::GetMobileResult() :
ServiceResult()
{}
GetMobileResult::GetMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMobileResult::~GetMobileResult()
{}
void GetMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto getMobileResultDTONode = value["GetMobileResultDTO"];
if(!getMobileResultDTONode["Mobile"].isNull())
getMobileResultDTO_.mobile = getMobileResultDTONode["Mobile"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetMobileResult::getMessage()const
{
return message_;
}
std::string GetMobileResult::getCode()const
{
return code_;
}
GetMobileResult::GetMobileResultDTO GetMobileResult::getGetMobileResultDTO()const
{
return getMobileResultDTO_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/TwiceTelVerifyRequest.h>
using AlibabaCloud::Dypnsapi::Model::TwiceTelVerifyRequest;
TwiceTelVerifyRequest::TwiceTelVerifyRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "TwiceTelVerify")
{}
TwiceTelVerifyRequest::~TwiceTelVerifyRequest()
{}
long TwiceTelVerifyRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void TwiceTelVerifyRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string TwiceTelVerifyRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void TwiceTelVerifyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string TwiceTelVerifyRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void TwiceTelVerifyRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setCoreParameter("PhoneNumber", phoneNumber);
}
long TwiceTelVerifyRequest::getOwnerId()const
{
return ownerId_;
}
void TwiceTelVerifyRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string TwiceTelVerifyRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void TwiceTelVerifyRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string TwiceTelVerifyRequest::getSince()const
{
return since_;
}
void TwiceTelVerifyRequest::setSince(const std::string& since)
{
since_ = since;
setCoreParameter("Since", since);
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/TwiceTelVerifyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
TwiceTelVerifyResult::TwiceTelVerifyResult() :
ServiceResult()
{}
TwiceTelVerifyResult::TwiceTelVerifyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TwiceTelVerifyResult::~TwiceTelVerifyResult()
{}
void TwiceTelVerifyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto twiceTelVerifyResultNode = value["TwiceTelVerifyResult"];
if(!twiceTelVerifyResultNode["Carrier"].isNull())
twiceTelVerifyResult_.carrier = twiceTelVerifyResultNode["Carrier"].asString();
if(!twiceTelVerifyResultNode["VerifyResult"].isNull())
twiceTelVerifyResult_.verifyResult = std::stoi(twiceTelVerifyResultNode["VerifyResult"].asString());
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string TwiceTelVerifyResult::getMessage()const
{
return message_;
}
TwiceTelVerifyResult::TwiceTelVerifyResult TwiceTelVerifyResult::getTwiceTelVerifyResult()const
{
return twiceTelVerifyResult_;
}
std::string TwiceTelVerifyResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,104 @@
/*
* 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/dypnsapi/model/VerifyMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::VerifyMobileRequest;
VerifyMobileRequest::VerifyMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "VerifyMobile")
{}
VerifyMobileRequest::~VerifyMobileRequest()
{}
long VerifyMobileRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
}
void VerifyMobileRequest::setResourceOwnerId(long resourceOwnerId)
{
resourceOwnerId_ = resourceOwnerId;
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string VerifyMobileRequest::getAccessCode()const
{
return accessCode_;
}
void VerifyMobileRequest::setAccessCode(const std::string& accessCode)
{
accessCode_ = accessCode;
setCoreParameter("AccessCode", accessCode);
}
std::string VerifyMobileRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
}
void VerifyMobileRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
{
resourceOwnerAccount_ = resourceOwnerAccount;
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string VerifyMobileRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void VerifyMobileRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setCoreParameter("PhoneNumber", phoneNumber);
}
std::string VerifyMobileRequest::getOutId()const
{
return outId_;
}
void VerifyMobileRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}
long VerifyMobileRequest::getOwnerId()const
{
return ownerId_;
}
void VerifyMobileRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string VerifyMobileRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void VerifyMobileRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/dypnsapi/model/VerifyMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
VerifyMobileResult::VerifyMobileResult() :
ServiceResult()
{}
VerifyMobileResult::VerifyMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VerifyMobileResult::~VerifyMobileResult()
{}
void VerifyMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto gateVerifyResultDTONode = value["GateVerifyResultDTO"];
if(!gateVerifyResultDTONode["VerifyId"].isNull())
gateVerifyResultDTO_.verifyId = gateVerifyResultDTONode["VerifyId"].asString();
if(!gateVerifyResultDTONode["VerifyResult"].isNull())
gateVerifyResultDTO_.verifyResult = gateVerifyResultDTONode["VerifyResult"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
VerifyMobileResult::GateVerifyResultDTO VerifyMobileResult::getGateVerifyResultDTO()const
{
return gateVerifyResultDTO_;
}
std::string VerifyMobileResult::getMessage()const
{
return message_;
}
std::string VerifyMobileResult::getCode()const
{
return code_;
}

View File

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

View File

@@ -1,40 +1,40 @@
/*
* 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_ACCEPTINQUIREDSYSTEMEVENTREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTREQUEST_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 AcceptInquiredSystemEventRequest : public RpcServiceRequest
{
public:
AcceptInquiredSystemEventRequest();
~AcceptInquiredSystemEventRequest();
/*
* 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_ACCEPTINQUIREDSYSTEMEVENTREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTREQUEST_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 AcceptInquiredSystemEventRequest : public RpcServiceRequest
{
public:
AcceptInquiredSystemEventRequest();
~AcceptInquiredSystemEventRequest();
std::string getEventId()const;
void setEventId(const std::string& eventId);
long getResourceOwnerId()const;
@@ -87,8 +87,10 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
private:
std::string eventId_;
long resourceOwnerId_;
long callerParentId_;
@@ -115,9 +117,10 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}
}
}
std::string akProxy_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTREQUEST_H_

View File

@@ -1,49 +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_ACCEPTINQUIREDSYSTEMEVENTRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTRESULT_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 AcceptInquiredSystemEventResult : public ServiceResult
{
public:
AcceptInquiredSystemEventResult();
explicit AcceptInquiredSystemEventResult(const std::string &payload);
~AcceptInquiredSystemEventResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ACCEPTINQUIREDSYSTEMEVENTRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTRESULT_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 AcceptInquiredSystemEventResult : public ServiceResult
{
public:
AcceptInquiredSystemEventResult();
explicit AcceptInquiredSystemEventResult(const std::string &payload);
~AcceptInquiredSystemEventResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ACCEPTINQUIREDSYSTEMEVENTRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ACTIVATEROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACEREQUEST_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 ActivateRouterInterfaceRequest : public RpcServiceRequest
{
public:
ActivateRouterInterfaceRequest();
~ActivateRouterInterfaceRequest();
/*
* 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_ACTIVATEROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACEREQUEST_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 ActivateRouterInterfaceRequest : public RpcServiceRequest
{
public:
ActivateRouterInterfaceRequest();
~ActivateRouterInterfaceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -45,16 +45,16 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getRouterInterfaceId()const;
void setRouterInterfaceId(const std::string& routerInterfaceId);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
long ownerId_;
std::string routerInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACEREQUEST_H_

View File

@@ -1,49 +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_ACTIVATEROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACERESULT_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 ActivateRouterInterfaceResult : public ServiceResult
{
public:
ActivateRouterInterfaceResult();
explicit ActivateRouterInterfaceResult(const std::string &payload);
~ActivateRouterInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ACTIVATEROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACERESULT_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 ActivateRouterInterfaceResult : public ServiceResult
{
public:
ActivateRouterInterfaceResult();
explicit ActivateRouterInterfaceResult(const std::string &payload);
~ActivateRouterInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ACTIVATEROUTERINTERFACERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ADDBANDWIDTHPACKAGEIPSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSREQUEST_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 AddBandwidthPackageIpsRequest : public RpcServiceRequest
{
public:
AddBandwidthPackageIpsRequest();
~AddBandwidthPackageIpsRequest();
/*
* 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_ADDBANDWIDTHPACKAGEIPSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSREQUEST_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 AddBandwidthPackageIpsRequest : public RpcServiceRequest
{
public:
AddBandwidthPackageIpsRequest();
~AddBandwidthPackageIpsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getBandwidthPackageId()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getIpCount()const;
void setIpCount(const std::string& ipCount);
private:
private:
long resourceOwnerId_;
std::string bandwidthPackageId_;
std::string resourceOwnerAccount_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string ownerAccount_;
long ownerId_;
std::string ipCount_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSREQUEST_H_

View File

@@ -1,49 +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_ADDBANDWIDTHPACKAGEIPSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSRESULT_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 AddBandwidthPackageIpsResult : public ServiceResult
{
public:
AddBandwidthPackageIpsResult();
explicit AddBandwidthPackageIpsResult(const std::string &payload);
~AddBandwidthPackageIpsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ADDBANDWIDTHPACKAGEIPSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSRESULT_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 AddBandwidthPackageIpsResult : public ServiceResult
{
public:
AddBandwidthPackageIpsResult();
explicit AddBandwidthPackageIpsResult(const std::string &payload);
~AddBandwidthPackageIpsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ADDBANDWIDTHPACKAGEIPSRESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* 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_ADDTAGSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ADDTAGSREQUEST_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 AddTagsRequest : public RpcServiceRequest
{
/*
* 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_ADDTAGSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ADDTAGSREQUEST_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 AddTagsRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
AddTagsRequest();
~AddTagsRequest();
public:
AddTagsRequest();
~AddTagsRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -56,8 +56,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceId_;
@@ -66,9 +66,9 @@ namespace AlibabaCloud
std::vector<Tag> tag_;
long ownerId_;
std::string resourceType_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ADDTAGSREQUEST_H_

View File

@@ -1,49 +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_ADDTAGSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ADDTAGSRESULT_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 AddTagsResult : public ServiceResult
{
public:
AddTagsResult();
explicit AddTagsResult(const std::string &payload);
~AddTagsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ADDTAGSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ADDTAGSRESULT_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 AddTagsResult : public ServiceResult
{
public:
AddTagsResult();
explicit AddTagsResult(const std::string &payload);
~AddTagsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ADDTAGSRESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* 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_ALLOCATEDEDICATEDHOSTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_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 AllocateDedicatedHostsRequest : public RpcServiceRequest
{
/*
* 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_ALLOCATEDEDICATEDHOSTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_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 AllocateDedicatedHostsRequest : public RpcServiceRequest
{
struct Tag
{
std::string key;
std::string value;
};
public:
AllocateDedicatedHostsRequest();
~AllocateDedicatedHostsRequest();
public:
AllocateDedicatedHostsRequest();
~AllocateDedicatedHostsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
@@ -114,6 +114,8 @@ namespace AlibabaCloud
void setAutoRenew(bool autoRenew);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
int getNetworkAttributesSlbUdpTimeout()const;
void setNetworkAttributesSlbUdpTimeout(int networkAttributesSlbUdpTimeout);
std::string getZoneId()const;
@@ -124,8 +126,8 @@ namespace AlibabaCloud
void setChargeType(const std::string& chargeType);
int getNetworkAttributesUdpTimeout()const;
void setNetworkAttributesUdpTimeout(int networkAttributesUdpTimeout);
private:
private:
long resourceOwnerId_;
std::string clientToken_;
long callerParentId_;
@@ -163,14 +165,15 @@ namespace AlibabaCloud
std::string periodUnit_;
bool autoRenew_;
std::string requestId_;
std::string akProxy_;
int networkAttributesSlbUdpTimeout_;
std::string zoneId_;
std::string autoPlacement_;
std::string chargeType_;
int networkAttributesUdpTimeout_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSREQUEST_H_

View File

@@ -1,51 +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_ALLOCATEDEDICATEDHOSTSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSRESULT_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 AllocateDedicatedHostsResult : public ServiceResult
{
public:
AllocateDedicatedHostsResult();
explicit AllocateDedicatedHostsResult(const std::string &payload);
~AllocateDedicatedHostsResult();
/*
* 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_ALLOCATEDEDICATEDHOSTSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSRESULT_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 AllocateDedicatedHostsResult : public ServiceResult
{
public:
AllocateDedicatedHostsResult();
explicit AllocateDedicatedHostsResult(const std::string &payload);
~AllocateDedicatedHostsResult();
std::vector<std::string> getDedicatedHostIdSets()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> dedicatedHostIdSets_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEDEDICATEDHOSTSRESULT_H_

View File

@@ -1,40 +1,42 @@
/*
* 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_ALLOCATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSREQUEST_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 AllocateEipAddressRequest : public RpcServiceRequest
{
public:
AllocateEipAddressRequest();
~AllocateEipAddressRequest();
/*
* 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_ALLOCATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSREQUEST_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 AllocateEipAddressRequest : public RpcServiceRequest
{
public:
AllocateEipAddressRequest();
~AllocateEipAddressRequest();
long getActivityId()const;
void setActivityId(long activityId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -53,8 +55,9 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
long activityId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
@@ -64,9 +67,9 @@ namespace AlibabaCloud
std::string iSP_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSREQUEST_H_

View File

@@ -1,53 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSRESULT_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 AllocateEipAddressResult : public ServiceResult
{
public:
AllocateEipAddressResult();
explicit AllocateEipAddressResult(const std::string &payload);
~AllocateEipAddressResult();
/*
* 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_ALLOCATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSRESULT_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 AllocateEipAddressResult : public ServiceResult
{
public:
AllocateEipAddressResult();
explicit AllocateEipAddressResult(const std::string &payload);
~AllocateEipAddressResult();
std::string getAllocationId()const;
std::string getEipAddress()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string allocationId_;
std::string eipAddress_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEEIPADDRESSRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ALLOCATEPUBLICIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSREQUEST_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 AllocatePublicIpAddressRequest : public RpcServiceRequest
{
public:
AllocatePublicIpAddressRequest();
~AllocatePublicIpAddressRequest();
/*
* 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_ALLOCATEPUBLICIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSREQUEST_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 AllocatePublicIpAddressRequest : public RpcServiceRequest
{
public:
AllocatePublicIpAddressRequest();
~AllocatePublicIpAddressRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getIpAddress()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
std::string ipAddress_;
long resourceOwnerId_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string vlanId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSREQUEST_H_

View File

@@ -1,51 +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_ALLOCATEPUBLICIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSRESULT_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 AllocatePublicIpAddressResult : public ServiceResult
{
public:
AllocatePublicIpAddressResult();
explicit AllocatePublicIpAddressResult(const std::string &payload);
~AllocatePublicIpAddressResult();
/*
* 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_ALLOCATEPUBLICIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSRESULT_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 AllocatePublicIpAddressResult : public ServiceResult
{
public:
AllocatePublicIpAddressResult();
explicit AllocatePublicIpAddressResult(const std::string &payload);
~AllocatePublicIpAddressResult();
std::string getIpAddress()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string ipAddress_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ALLOCATEPUBLICIPADDRESSRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_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 ApplyAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
ApplyAutoSnapshotPolicyRequest();
~ApplyAutoSnapshotPolicyRequest();
/*
* 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_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_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 ApplyAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
ApplyAutoSnapshotPolicyRequest();
~ApplyAutoSnapshotPolicyRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -49,8 +49,8 @@ namespace AlibabaCloud
void setDiskIds(const std::string& diskIds);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
@@ -58,9 +58,9 @@ namespace AlibabaCloud
std::string autoSnapshotPolicyId_;
std::string diskIds_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYREQUEST_H_

View File

@@ -1,49 +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_APPLYAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_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 ApplyAutoSnapshotPolicyResult : public ServiceResult
{
public:
ApplyAutoSnapshotPolicyResult();
explicit ApplyAutoSnapshotPolicyResult(const std::string &payload);
~ApplyAutoSnapshotPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_APPLYAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_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 ApplyAutoSnapshotPolicyResult : public ServiceResult
{
public:
ApplyAutoSnapshotPolicyResult();
explicit ApplyAutoSnapshotPolicyResult(const std::string &payload);
~ApplyAutoSnapshotPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_APPLYAUTOSNAPSHOTPOLICYRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ASSIGNIPV6ADDRESSESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESREQUEST_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 AssignIpv6AddressesRequest : public RpcServiceRequest
{
public:
AssignIpv6AddressesRequest();
~AssignIpv6AddressesRequest();
/*
* 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_ASSIGNIPV6ADDRESSESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESREQUEST_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 AssignIpv6AddressesRequest : public RpcServiceRequest
{
public:
AssignIpv6AddressesRequest();
~AssignIpv6AddressesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
@@ -87,12 +87,14 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getNetworkInterfaceId()const;
void setNetworkInterfaceId(const std::string& networkInterfaceId);
std::vector<std::string> getIpv6Address()const;
void setIpv6Address(const std::vector<std::string>& ipv6Address);
private:
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
@@ -119,11 +121,12 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string networkInterfaceId_;
std::vector<std::string> ipv6Address_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESREQUEST_H_

View File

@@ -1,49 +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_ASSIGNIPV6ADDRESSESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESRESULT_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 AssignIpv6AddressesResult : public ServiceResult
{
public:
AssignIpv6AddressesResult();
explicit AssignIpv6AddressesResult(const std::string &payload);
~AssignIpv6AddressesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ASSIGNIPV6ADDRESSESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESRESULT_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 AssignIpv6AddressesResult : public ServiceResult
{
public:
AssignIpv6AddressesResult();
explicit AssignIpv6AddressesResult(const std::string &payload);
~AssignIpv6AddressesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSIGNIPV6ADDRESSESRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ASSIGNPRIVATEIPADDRESSESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_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 AssignPrivateIpAddressesRequest : public RpcServiceRequest
{
public:
AssignPrivateIpAddressesRequest();
~AssignPrivateIpAddressesRequest();
/*
* 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_ASSIGNPRIVATEIPADDRESSESREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_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 AssignPrivateIpAddressesRequest : public RpcServiceRequest
{
public:
AssignPrivateIpAddressesRequest();
~AssignPrivateIpAddressesRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
@@ -87,10 +87,12 @@ namespace AlibabaCloud
void setPrivateIpAddress(const std::vector<std::string>& privateIpAddress);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getNetworkInterfaceId()const;
void setNetworkInterfaceId(const std::string& networkInterfaceId);
private:
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
@@ -117,10 +119,11 @@ namespace AlibabaCloud
bool security_transport_;
std::vector<std::string> privateIpAddress_;
std::string requestId_;
std::string akProxy_;
std::string networkInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESREQUEST_H_

View File

@@ -1,49 +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_ASSIGNPRIVATEIPADDRESSESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_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 AssignPrivateIpAddressesResult : public ServiceResult
{
public:
AssignPrivateIpAddressesResult();
explicit AssignPrivateIpAddressesResult(const std::string &payload);
~AssignPrivateIpAddressesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ASSIGNPRIVATEIPADDRESSESRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_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 AssignPrivateIpAddressesResult : public ServiceResult
{
public:
AssignPrivateIpAddressesResult();
explicit AssignPrivateIpAddressesResult(const std::string &payload);
~AssignPrivateIpAddressesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSIGNPRIVATEIPADDRESSESRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ASSOCIATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSREQUEST_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 AssociateEipAddressRequest : public RpcServiceRequest
{
public:
AssociateEipAddressRequest();
~AssociateEipAddressRequest();
/*
* 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_ASSOCIATEEIPADDRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSREQUEST_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 AssociateEipAddressRequest : public RpcServiceRequest
{
public:
AssociateEipAddressRequest();
~AssociateEipAddressRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getInstanceId()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setAllocationId(const std::string& allocationId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
long resourceOwnerId_;
std::string instanceId_;
std::string resourceOwnerAccount_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string instanceType_;
std::string allocationId_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSREQUEST_H_

View File

@@ -1,49 +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_ASSOCIATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSRESULT_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 AssociateEipAddressResult : public ServiceResult
{
public:
AssociateEipAddressResult();
explicit AssociateEipAddressResult(const std::string &payload);
~AssociateEipAddressResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ASSOCIATEEIPADDRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSRESULT_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 AssociateEipAddressResult : public ServiceResult
{
public:
AssociateEipAddressResult();
explicit AssociateEipAddressResult(const std::string &payload);
~AssociateEipAddressResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSOCIATEEIPADDRESSRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ASSOCIATEHAVIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPREQUEST_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 AssociateHaVipRequest : public RpcServiceRequest
{
public:
AssociateHaVipRequest();
~AssociateHaVipRequest();
/*
* 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_ASSOCIATEHAVIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPREQUEST_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 AssociateHaVipRequest : public RpcServiceRequest
{
public:
AssociateHaVipRequest();
~AssociateHaVipRequest();
std::string getHaVipId()const;
void setHaVipId(const std::string& haVipId);
long getResourceOwnerId()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string haVipId_;
long resourceOwnerId_;
std::string instanceId_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string regionId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPREQUEST_H_

View File

@@ -1,49 +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_ASSOCIATEHAVIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPRESULT_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 AssociateHaVipResult : public ServiceResult
{
public:
AssociateHaVipResult();
explicit AssociateHaVipResult(const std::string &payload);
~AssociateHaVipResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ASSOCIATEHAVIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPRESULT_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 AssociateHaVipResult : public ServiceResult
{
public:
AssociateHaVipResult();
explicit AssociateHaVipResult(const std::string &payload);
~AssociateHaVipResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ASSOCIATEHAVIPRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ATTACHCLASSICLINKVPCREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCREQUEST_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 AttachClassicLinkVpcRequest : public RpcServiceRequest
{
public:
AttachClassicLinkVpcRequest();
~AttachClassicLinkVpcRequest();
/*
* 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_ATTACHCLASSICLINKVPCREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCREQUEST_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 AttachClassicLinkVpcRequest : public RpcServiceRequest
{
public:
AttachClassicLinkVpcRequest();
~AttachClassicLinkVpcRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -49,8 +49,8 @@ namespace AlibabaCloud
void setVpcId(const std::string& vpcId);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string instanceId_;
@@ -58,9 +58,9 @@ namespace AlibabaCloud
std::string regionId_;
std::string vpcId_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCREQUEST_H_

View File

@@ -1,49 +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_ATTACHCLASSICLINKVPCRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCRESULT_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 AttachClassicLinkVpcResult : public ServiceResult
{
public:
AttachClassicLinkVpcResult();
explicit AttachClassicLinkVpcResult(const std::string &payload);
~AttachClassicLinkVpcResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ATTACHCLASSICLINKVPCRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCRESULT_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 AttachClassicLinkVpcResult : public ServiceResult
{
public:
AttachClassicLinkVpcResult();
explicit AttachClassicLinkVpcResult(const std::string &payload);
~AttachClassicLinkVpcResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHCLASSICLINKVPCRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ATTACHDISKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHDISKREQUEST_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 AttachDiskRequest : public RpcServiceRequest
{
public:
AttachDiskRequest();
~AttachDiskRequest();
/*
* 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_ATTACHDISKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHDISKREQUEST_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 AttachDiskRequest : public RpcServiceRequest
{
public:
AttachDiskRequest();
~AttachDiskRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -53,8 +53,8 @@ namespace AlibabaCloud
void setDevice(const std::string& device);
bool getDeleteWithInstance()const;
void setDeleteWithInstance(bool deleteWithInstance);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string instanceId_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
long ownerId_;
std::string device_;
bool deleteWithInstance_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHDISKREQUEST_H_

View File

@@ -1,49 +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_ATTACHDISKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHDISKRESULT_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 AttachDiskResult : public ServiceResult
{
public:
AttachDiskResult();
explicit AttachDiskResult(const std::string &payload);
~AttachDiskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ATTACHDISKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHDISKRESULT_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 AttachDiskResult : public ServiceResult
{
public:
AttachDiskResult();
explicit AttachDiskResult(const std::string &payload);
~AttachDiskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHDISKRESULT_H_

View File

@@ -1,40 +1,42 @@
/*
* 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_ATTACHINSTANCERAMROLEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLEREQUEST_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 AttachInstanceRamRoleRequest : public RpcServiceRequest
{
public:
AttachInstanceRamRoleRequest();
~AttachInstanceRamRoleRequest();
/*
* 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_ATTACHINSTANCERAMROLEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLEREQUEST_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 AttachInstanceRamRoleRequest : public RpcServiceRequest
{
public:
AttachInstanceRamRoleRequest();
~AttachInstanceRamRoleRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -47,17 +49,18 @@ namespace AlibabaCloud
void setRamRoleName(const std::string& ramRoleName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string instanceIds_;
std::string ramRoleName_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLEREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_ATTACHINSTANCERAMROLERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLERESULT_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 AttachInstanceRamRoleResult : public ServiceResult
{
public:
/*
* 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_ATTACHINSTANCERAMROLERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLERESULT_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 AttachInstanceRamRoleResult : public ServiceResult
{
public:
struct Result
{
std::string message;
@@ -39,26 +39,26 @@ namespace AlibabaCloud
std::string code;
bool success;
};
AttachInstanceRamRoleResult();
explicit AttachInstanceRamRoleResult(const std::string &payload);
~AttachInstanceRamRoleResult();
AttachInstanceRamRoleResult();
explicit AttachInstanceRamRoleResult(const std::string &payload);
~AttachInstanceRamRoleResult();
std::vector<Result> getAttachInstanceRamRoleResults()const;
int getTotalCount()const;
std::string getRamRoleName()const;
int getFailCount()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<Result> attachInstanceRamRoleResults_;
int totalCount_;
std::string ramRoleName_;
int failCount_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHINSTANCERAMROLERESULT_H_

View File

@@ -1,40 +1,42 @@
/*
* 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_ATTACHKEYPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRREQUEST_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 AttachKeyPairRequest : public RpcServiceRequest
{
public:
AttachKeyPairRequest();
~AttachKeyPairRequest();
/*
* 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_ATTACHKEYPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRREQUEST_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 AttachKeyPairRequest : public RpcServiceRequest
{
public:
AttachKeyPairRequest();
~AttachKeyPairRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -47,17 +49,18 @@ namespace AlibabaCloud
void setKeyPairName(const std::string& keyPairName);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string instanceIds_;
std::string keyPairName_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRREQUEST_H_

View File

@@ -1,37 +1,37 @@
/*
* 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_ATTACHKEYPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRRESULT_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 AttachKeyPairResult : public ServiceResult
{
public:
/*
* 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_ATTACHKEYPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRRESULT_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 AttachKeyPairResult : public ServiceResult
{
public:
struct Result
{
std::string message;
@@ -39,26 +39,26 @@ namespace AlibabaCloud
std::string code;
std::string success;
};
AttachKeyPairResult();
explicit AttachKeyPairResult(const std::string &payload);
~AttachKeyPairResult();
AttachKeyPairResult();
explicit AttachKeyPairResult(const std::string &payload);
~AttachKeyPairResult();
std::string getKeyPairName()const;
std::string getTotalCount()const;
std::vector<Result> getResults()const;
std::string getFailCount()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string keyPairName_;
std::string totalCount_;
std::vector<Result> results_;
std::string failCount_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHKEYPAIRRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_ATTACHNETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACEREQUEST_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 AttachNetworkInterfaceRequest : public RpcServiceRequest
{
public:
AttachNetworkInterfaceRequest();
~AttachNetworkInterfaceRequest();
/*
* 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_ATTACHNETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACEREQUEST_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 AttachNetworkInterfaceRequest : public RpcServiceRequest
{
public:
AttachNetworkInterfaceRequest();
~AttachNetworkInterfaceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
@@ -85,10 +85,12 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getNetworkInterfaceId()const;
void setNetworkInterfaceId(const std::string& networkInterfaceId);
private:
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
@@ -114,10 +116,11 @@ namespace AlibabaCloud
bool security_transport_;
std::string instanceId_;
std::string requestId_;
std::string akProxy_;
std::string networkInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_

View File

@@ -1,49 +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_ATTACHNETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACERESULT_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 AttachNetworkInterfaceResult : public ServiceResult
{
public:
AttachNetworkInterfaceResult();
explicit AttachNetworkInterfaceResult(const std::string &payload);
~AttachNetworkInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_ATTACHNETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACERESULT_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 AttachNetworkInterfaceResult : public ServiceResult
{
public:
AttachNetworkInterfaceResult();
explicit AttachNetworkInterfaceResult(const std::string &payload);
~AttachNetworkInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_ATTACHNETWORKINTERFACERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_AUTHORIZESECURITYGROUPEGRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSREQUEST_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 AuthorizeSecurityGroupEgressRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupEgressRequest();
~AuthorizeSecurityGroupEgressRequest();
/*
* 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_AUTHORIZESECURITYGROUPEGRESSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSREQUEST_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 AuthorizeSecurityGroupEgressRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupEgressRequest();
~AuthorizeSecurityGroupEgressRequest();
std::string getNicType()const;
void setNicType(const std::string& nicType);
long getResourceOwnerId()const;
@@ -115,8 +115,10 @@ namespace AlibabaCloud
void setDestGroupOwnerId(long destGroupOwnerId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
private:
std::string nicType_;
long resourceOwnerId_;
std::string sourcePortRange_;
@@ -157,9 +159,10 @@ namespace AlibabaCloud
bool security_transport_;
long destGroupOwnerId_;
std::string requestId_;
};
}
}
}
std::string akProxy_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSREQUEST_H_

View File

@@ -1,49 +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_AUTHORIZESECURITYGROUPEGRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSRESULT_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 AuthorizeSecurityGroupEgressResult : public ServiceResult
{
public:
AuthorizeSecurityGroupEgressResult();
explicit AuthorizeSecurityGroupEgressResult(const std::string &payload);
~AuthorizeSecurityGroupEgressResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_AUTHORIZESECURITYGROUPEGRESSRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSRESULT_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 AuthorizeSecurityGroupEgressResult : public ServiceResult
{
public:
AuthorizeSecurityGroupEgressResult();
explicit AuthorizeSecurityGroupEgressResult(const std::string &payload);
~AuthorizeSecurityGroupEgressResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPEGRESSRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_AUTHORIZESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPREQUEST_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 AuthorizeSecurityGroupRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupRequest();
~AuthorizeSecurityGroupRequest();
/*
* 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_AUTHORIZESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPREQUEST_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 AuthorizeSecurityGroupRequest : public RpcServiceRequest
{
public:
AuthorizeSecurityGroupRequest();
~AuthorizeSecurityGroupRequest();
std::string getNicType()const;
void setNicType(const std::string& nicType);
long getResourceOwnerId()const;
@@ -113,10 +113,12 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getSourceGroupId()const;
void setSourceGroupId(const std::string& sourceGroupId);
private:
private:
std::string nicType_;
long resourceOwnerId_;
std::string sourcePortRange_;
@@ -156,10 +158,11 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string sourceGroupId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPREQUEST_H_

View File

@@ -1,49 +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_AUTHORIZESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPRESULT_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 AuthorizeSecurityGroupResult : public ServiceResult
{
public:
AuthorizeSecurityGroupResult();
explicit AuthorizeSecurityGroupResult(const std::string &payload);
~AuthorizeSecurityGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_AUTHORIZESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPRESULT_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 AuthorizeSecurityGroupResult : public ServiceResult
{
public:
AuthorizeSecurityGroupResult();
explicit AuthorizeSecurityGroupResult(const std::string &payload);
~AuthorizeSecurityGroupResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_AUTHORIZESECURITYGROUPRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_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 CancelAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
CancelAutoSnapshotPolicyRequest();
~CancelAutoSnapshotPolicyRequest();
/*
* 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_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_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 CancelAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
CancelAutoSnapshotPolicyRequest();
~CancelAutoSnapshotPolicyRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -47,17 +47,17 @@ namespace AlibabaCloud
void setDiskIds(const std::string& diskIds);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
std::string diskIds_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYREQUEST_H_

View File

@@ -1,49 +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_CANCELAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_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 CancelAutoSnapshotPolicyResult : public ServiceResult
{
public:
CancelAutoSnapshotPolicyResult();
explicit CancelAutoSnapshotPolicyResult(const std::string &payload);
~CancelAutoSnapshotPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CANCELAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_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 CancelAutoSnapshotPolicyResult : public ServiceResult
{
public:
CancelAutoSnapshotPolicyResult();
explicit CancelAutoSnapshotPolicyResult(const std::string &payload);
~CancelAutoSnapshotPolicyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELAUTOSNAPSHOTPOLICYRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CANCELCOPYIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGEREQUEST_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 CancelCopyImageRequest : public RpcServiceRequest
{
public:
CancelCopyImageRequest();
~CancelCopyImageRequest();
/*
* 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_CANCELCOPYIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGEREQUEST_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 CancelCopyImageRequest : public RpcServiceRequest
{
public:
CancelCopyImageRequest();
~CancelCopyImageRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -49,8 +49,8 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string imageId_;
@@ -58,9 +58,9 @@ namespace AlibabaCloud
std::string regionId_;
std::string ownerAccount_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGEREQUEST_H_

View File

@@ -1,49 +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_CANCELCOPYIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGERESULT_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 CancelCopyImageResult : public ServiceResult
{
public:
CancelCopyImageResult();
explicit CancelCopyImageResult(const std::string &payload);
~CancelCopyImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CANCELCOPYIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGERESULT_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 CancelCopyImageResult : public ServiceResult
{
public:
CancelCopyImageResult();
explicit CancelCopyImageResult(const std::string &payload);
~CancelCopyImageResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELCOPYIMAGERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CANCELPHYSICALCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONREQUEST_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 CancelPhysicalConnectionRequest : public RpcServiceRequest
{
public:
CancelPhysicalConnectionRequest();
~CancelPhysicalConnectionRequest();
/*
* 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_CANCELPHYSICALCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONREQUEST_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 CancelPhysicalConnectionRequest : public RpcServiceRequest
{
public:
CancelPhysicalConnectionRequest();
~CancelPhysicalConnectionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setUserCidr(const std::string& userCidr);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string ownerAccount_;
std::string userCidr_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONREQUEST_H_

View File

@@ -1,49 +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_CANCELPHYSICALCONNECTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONRESULT_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 CancelPhysicalConnectionResult : public ServiceResult
{
public:
CancelPhysicalConnectionResult();
explicit CancelPhysicalConnectionResult(const std::string &payload);
~CancelPhysicalConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CANCELPHYSICALCONNECTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONRESULT_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 CancelPhysicalConnectionResult : public ServiceResult
{
public:
CancelPhysicalConnectionResult();
explicit CancelPhysicalConnectionResult(const std::string &payload);
~CancelPhysicalConnectionResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELPHYSICALCONNECTIONRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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();
/*
* 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;
@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSecurityToken()const;
@@ -85,8 +87,10 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
private:
std::vector<std::string> eventId_;
long resourceOwnerId_;
long callerParentId_;
@@ -95,6 +99,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string sourceRegionId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
@@ -112,9 +117,10 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
};
}
}
}
std::string akProxy_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELSIMULATEDSYSTEMEVENTSREQUEST_H_

View File

@@ -1,49 +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:
};
}
}
}
/*
* 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_

View File

@@ -1,40 +1,40 @@
/*
* 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_CANCELTASKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELTASKREQUEST_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 CancelTaskRequest : public RpcServiceRequest
{
public:
CancelTaskRequest();
~CancelTaskRequest();
/*
* 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_CANCELTASKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELTASKREQUEST_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 CancelTaskRequest : public RpcServiceRequest
{
public:
CancelTaskRequest();
~CancelTaskRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
@@ -47,17 +47,17 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
long ownerId_;
std::string taskId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELTASKREQUEST_H_

View File

@@ -1,49 +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_CANCELTASKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELTASKRESULT_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 CancelTaskResult : public ServiceResult
{
public:
CancelTaskResult();
explicit CancelTaskResult(const std::string &payload);
~CancelTaskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CANCELTASKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CANCELTASKRESULT_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 CancelTaskResult : public ServiceResult
{
public:
CancelTaskResult();
explicit CancelTaskResult(const std::string &payload);
~CancelTaskResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CANCELTASKRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CONNECTROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACEREQUEST_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 ConnectRouterInterfaceRequest : public RpcServiceRequest
{
public:
ConnectRouterInterfaceRequest();
~ConnectRouterInterfaceRequest();
/*
* 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_CONNECTROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACEREQUEST_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 ConnectRouterInterfaceRequest : public RpcServiceRequest
{
public:
ConnectRouterInterfaceRequest();
~ConnectRouterInterfaceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -45,16 +45,16 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getRouterInterfaceId()const;
void setRouterInterfaceId(const std::string& routerInterfaceId);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
long ownerId_;
std::string routerInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACEREQUEST_H_

View File

@@ -1,49 +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_CONNECTROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACERESULT_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 ConnectRouterInterfaceResult : public ServiceResult
{
public:
ConnectRouterInterfaceResult();
explicit ConnectRouterInterfaceResult(const std::string &payload);
~ConnectRouterInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CONNECTROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACERESULT_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 ConnectRouterInterfaceResult : public ServiceResult
{
public:
ConnectRouterInterfaceResult();
explicit ConnectRouterInterfaceResult(const std::string &payload);
~ConnectRouterInterfaceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CONNECTROUTERINTERFACERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CONVERTNATPUBLICIPTOEIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPREQUEST_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 ConvertNatPublicIpToEipRequest : public RpcServiceRequest
{
public:
ConvertNatPublicIpToEipRequest();
~ConvertNatPublicIpToEipRequest();
/*
* 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_CONVERTNATPUBLICIPTOEIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPREQUEST_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 ConvertNatPublicIpToEipRequest : public RpcServiceRequest
{
public:
ConvertNatPublicIpToEipRequest();
~ConvertNatPublicIpToEipRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
@@ -83,8 +83,10 @@ namespace AlibabaCloud
void setInstanceId(const std::string& instanceId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
private:
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
private:
long resourceOwnerId_;
long callerParentId_;
bool proxy_original_security_transport_;
@@ -109,9 +111,10 @@ namespace AlibabaCloud
bool security_transport_;
std::string instanceId_;
std::string requestId_;
};
}
}
}
std::string akProxy_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPREQUEST_H_

View File

@@ -1,49 +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_CONVERTNATPUBLICIPTOEIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPRESULT_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 ConvertNatPublicIpToEipResult : public ServiceResult
{
public:
ConvertNatPublicIpToEipResult();
explicit ConvertNatPublicIpToEipResult(const std::string &payload);
~ConvertNatPublicIpToEipResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* 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_CONVERTNATPUBLICIPTOEIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPRESULT_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 ConvertNatPublicIpToEipResult : public ServiceResult
{
public:
ConvertNatPublicIpToEipResult();
explicit ConvertNatPublicIpToEipResult(const std::string &payload);
~ConvertNatPublicIpToEipResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CONVERTNATPUBLICIPTOEIPRESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* 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_COPYIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_COPYIMAGEREQUEST_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 CopyImageRequest : public RpcServiceRequest
{
/*
* 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_COPYIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_COPYIMAGEREQUEST_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 CopyImageRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
CopyImageRequest();
~CopyImageRequest();
public:
CopyImageRequest();
~CopyImageRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getImageId()const;
@@ -66,8 +66,8 @@ namespace AlibabaCloud
void setKMSKeyId(const std::string& kMSKeyId);
std::string getDestinationDescription()const;
void setDestinationDescription(const std::string& destinationDescription);
private:
private:
long resourceOwnerId_;
std::string imageId_;
std::string resourceOwnerAccount_;
@@ -81,9 +81,9 @@ namespace AlibabaCloud
std::vector<Tag> tag_;
std::string kMSKeyId_;
std::string destinationDescription_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_COPYIMAGEREQUEST_H_

View File

@@ -1,51 +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_COPYIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_COPYIMAGERESULT_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 CopyImageResult : public ServiceResult
{
public:
CopyImageResult();
explicit CopyImageResult(const std::string &payload);
~CopyImageResult();
/*
* 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_COPYIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_COPYIMAGERESULT_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 CopyImageResult : public ServiceResult
{
public:
CopyImageResult();
explicit CopyImageResult(const std::string &payload);
~CopyImageResult();
std::string getImageId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string imageId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_COPYIMAGERESULT_H_

View File

@@ -0,0 +1,188 @@
/*
* 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_CREATEAUTOPROVISIONINGGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOPROVISIONINGGROUPREQUEST_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 CreateAutoProvisioningGroupRequest : public RpcServiceRequest
{
struct LaunchTemplateConfig
{
std::string instanceType;
double maxPrice;
std::string vSwitchId;
double weightedCapacity;
int priority;
};
public:
CreateAutoProvisioningGroupRequest();
~CreateAutoProvisioningGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
std::string getAutoProvisioningGroupType()const;
void setAutoProvisioningGroupType(const std::string& autoProvisioningGroupType);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
bool getTerminateInstancesWithExpiration()const;
void setTerminateInstancesWithExpiration(bool terminateInstancesWithExpiration);
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 getSpotAllocationStrategy()const;
void setSpotAllocationStrategy(const std::string& spotAllocationStrategy);
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);
bool getTerminateInstances()const;
void setTerminateInstances(bool terminateInstances);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getPayAsYouGoAllocationStrategy()const;
void setPayAsYouGoAllocationStrategy(const std::string& payAsYouGoAllocationStrategy);
std::string getDefaultTargetCapacityType()const;
void setDefaultTargetCapacityType(const std::string& defaultTargetCapacityType);
std::string getExcessCapacityTerminationPolicy()const;
void setExcessCapacityTerminationPolicy(const std::string& excessCapacityTerminationPolicy);
std::vector<LaunchTemplateConfig> getLaunchTemplateConfig()const;
void setLaunchTemplateConfig(const std::vector<LaunchTemplateConfig>& launchTemplateConfig);
std::string getValidUntil()const;
void setValidUntil(const std::string& validUntil);
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 getSpotInstanceInterruptionBehavior()const;
void setSpotInstanceInterruptionBehavior(const std::string& spotInstanceInterruptionBehavior);
std::string getLaunchTemplateId()const;
void setLaunchTemplateId(const std::string& launchTemplateId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
int getSpotInstancePoolsToUseCount()const;
void setSpotInstancePoolsToUseCount(int spotInstancePoolsToUseCount);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getLaunchTemplateVersion()const;
void setLaunchTemplateVersion(const std::string& launchTemplateVersion);
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 getPayAsYouGoTargetCapacity()const;
void setPayAsYouGoTargetCapacity(const std::string& payAsYouGoTargetCapacity);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getTotalTargetCapacity()const;
void setTotalTargetCapacity(const std::string& totalTargetCapacity);
std::string getSpotTargetCapacity()const;
void setSpotTargetCapacity(const std::string& spotTargetCapacity);
std::string getValidFrom()const;
void setValidFrom(const std::string& validFrom);
std::string getAutoProvisioningGroupName()const;
void setAutoProvisioningGroupName(const std::string& autoProvisioningGroupName);
float getMaxSpotPrice()const;
void setMaxSpotPrice(float maxSpotPrice);
private:
long resourceOwnerId_;
long callerParentId_;
std::string autoProvisioningGroupType_;
bool proxy_original_security_transport_;
std::string description_;
std::string proxy_original_source_ip_;
bool terminateInstancesWithExpiration_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string resourceGroupId_;
std::string spotAllocationStrategy_;
std::string securityToken_;
std::string regionId_;
bool enable_;
std::string requestContent_;
bool terminateInstances_;
std::string callerBidEmail_;
std::string payAsYouGoAllocationStrategy_;
std::string defaultTargetCapacityType_;
std::string excessCapacityTerminationPolicy_;
std::vector<LaunchTemplateConfig> launchTemplateConfig_;
std::string validUntil_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string spotInstanceInterruptionBehavior_;
std::string launchTemplateId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
int spotInstancePoolsToUseCount_;
std::string callerBid_;
long ownerId_;
std::string launchTemplateVersion_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string payAsYouGoTargetCapacity_;
std::string requestId_;
std::string akProxy_;
std::string totalTargetCapacity_;
std::string spotTargetCapacity_;
std::string validFrom_;
std::string autoProvisioningGroupName_;
float maxSpotPrice_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEAUTOPROVISIONINGGROUPREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEAUTOPROVISIONINGGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOPROVISIONINGGROUPRESULT_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 CreateAutoProvisioningGroupResult : public ServiceResult
{
public:
CreateAutoProvisioningGroupResult();
explicit CreateAutoProvisioningGroupResult(const std::string &payload);
~CreateAutoProvisioningGroupResult();
std::string getAutoProvisioningGroupId()const;
protected:
void parse(const std::string &payload);
private:
std::string autoProvisioningGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEAUTOPROVISIONINGGROUPRESULT_H_

View File

@@ -1,40 +1,42 @@
/*
* 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_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_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 CreateAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
CreateAutoSnapshotPolicyRequest();
~CreateAutoSnapshotPolicyRequest();
/*
* 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_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_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 CreateAutoSnapshotPolicyRequest : public RpcServiceRequest
{
public:
CreateAutoSnapshotPolicyRequest();
~CreateAutoSnapshotPolicyRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -51,8 +53,9 @@ namespace AlibabaCloud
void setRepeatWeekdays(const std::string& repeatWeekdays);
std::string getAutoSnapshotPolicyName()const;
void setAutoSnapshotPolicyName(const std::string& autoSnapshotPolicyName);
private:
private:
std::string sourceRegionId_;
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
@@ -61,9 +64,9 @@ namespace AlibabaCloud
long ownerId_;
std::string repeatWeekdays_;
std::string autoSnapshotPolicyName_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYREQUEST_H_

View File

@@ -1,51 +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_CREATEAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_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 CreateAutoSnapshotPolicyResult : public ServiceResult
{
public:
CreateAutoSnapshotPolicyResult();
explicit CreateAutoSnapshotPolicyResult(const std::string &payload);
~CreateAutoSnapshotPolicyResult();
/*
* 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_CREATEAUTOSNAPSHOTPOLICYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_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 CreateAutoSnapshotPolicyResult : public ServiceResult
{
public:
CreateAutoSnapshotPolicyResult();
explicit CreateAutoSnapshotPolicyResult(const std::string &payload);
~CreateAutoSnapshotPolicyResult();
std::string getAutoSnapshotPolicyId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string autoSnapshotPolicyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEAUTOSNAPSHOTPOLICYRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CREATECOMMANDREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_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 CreateCommandRequest : public RpcServiceRequest
{
public:
CreateCommandRequest();
~CreateCommandRequest();
/*
* 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_CREATECOMMANDREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_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 CreateCommandRequest : public RpcServiceRequest
{
public:
CreateCommandRequest();
~CreateCommandRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()const;
@@ -93,12 +93,14 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getName()const;
void setName(const std::string& name);
bool getEnableParameter()const;
void setEnableParameter(bool enableParameter);
private:
private:
long resourceOwnerId_;
long callerParentId_;
std::string workingDir_;
@@ -128,11 +130,12 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string name_;
bool enableParameter_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATECOMMANDREQUEST_H_

View File

@@ -1,51 +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_CREATECOMMANDRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATECOMMANDRESULT_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 CreateCommandResult : public ServiceResult
{
public:
CreateCommandResult();
explicit CreateCommandResult(const std::string &payload);
~CreateCommandResult();
/*
* 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_CREATECOMMANDRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATECOMMANDRESULT_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 CreateCommandResult : public ServiceResult
{
public:
CreateCommandResult();
explicit CreateCommandResult(const std::string &payload);
~CreateCommandResult();
std::string getCommandId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string commandId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATECOMMANDRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CREATEDEPLOYMENTSETREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETREQUEST_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 CreateDeploymentSetRequest : public RpcServiceRequest
{
public:
CreateDeploymentSetRequest();
~CreateDeploymentSetRequest();
/*
* 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_CREATEDEPLOYMENTSETREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETREQUEST_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 CreateDeploymentSetRequest : public RpcServiceRequest
{
public:
CreateDeploymentSetRequest();
~CreateDeploymentSetRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -61,8 +61,8 @@ namespace AlibabaCloud
void setDomain(const std::string& domain);
std::string getStrategy()const;
void setStrategy(const std::string& strategy);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
@@ -76,9 +76,9 @@ namespace AlibabaCloud
std::string granularity_;
std::string domain_;
std::string strategy_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETREQUEST_H_

View File

@@ -1,51 +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_CREATEDEPLOYMENTSETRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETRESULT_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 CreateDeploymentSetResult : public ServiceResult
{
public:
CreateDeploymentSetResult();
explicit CreateDeploymentSetResult(const std::string &payload);
~CreateDeploymentSetResult();
/*
* 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_CREATEDEPLOYMENTSETRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETRESULT_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 CreateDeploymentSetResult : public ServiceResult
{
public:
CreateDeploymentSetResult();
explicit CreateDeploymentSetResult(const std::string &payload);
~CreateDeploymentSetResult();
std::string getDeploymentSetId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string deploymentSetId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDEPLOYMENTSETRESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* 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_CREATEDISKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKREQUEST_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 CreateDiskRequest : public RpcServiceRequest
{
/*
* 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_CREATEDISKREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKREQUEST_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 CreateDiskRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
@@ -41,11 +41,11 @@ namespace AlibabaCloud
std::string roleType;
long assumeRoleFor;
};
public:
CreateDiskRequest();
~CreateDiskRequest();
public:
CreateDiskRequest();
~CreateDiskRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getSnapshotId()const;
@@ -54,6 +54,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getPerformanceLevel()const;
void setPerformanceLevel(const std::string& performanceLevel);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getDescription()const;
@@ -68,6 +70,8 @@ namespace AlibabaCloud
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getStorageSetId()const;
void setStorageSetId(const std::string& storageSetId);
int getSize()const;
void setSize(int size);
bool getEncrypted()const;
@@ -78,6 +82,8 @@ namespace AlibabaCloud
void setDiskCategory(const std::string& diskCategory);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
int getStorageSetPartitionNumber()const;
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::vector<Arn> getArn()const;
@@ -86,12 +92,13 @@ namespace AlibabaCloud
void setKMSKeyId(const std::string& kMSKeyId);
std::string getAdvancedFeatures()const;
void setAdvancedFeatures(const std::string& advancedFeatures);
private:
private:
long resourceOwnerId_;
std::string snapshotId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
std::string performanceLevel_;
std::string ownerAccount_;
std::string description_;
long ownerId_;
@@ -99,18 +106,20 @@ namespace AlibabaCloud
std::string diskName_;
std::string resourceGroupId_;
std::string instanceId_;
std::string storageSetId_;
int size_;
bool encrypted_;
std::string regionId_;
std::string diskCategory_;
std::string zoneId_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
std::vector<Arn> arn_;
std::string kMSKeyId_;
std::string advancedFeatures_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDISKREQUEST_H_

View File

@@ -1,51 +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_CREATEDISKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKRESULT_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 CreateDiskResult : public ServiceResult
{
public:
CreateDiskResult();
explicit CreateDiskResult(const std::string &payload);
~CreateDiskResult();
/*
* 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_CREATEDISKRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEDISKRESULT_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 CreateDiskResult : public ServiceResult
{
public:
CreateDiskResult();
explicit CreateDiskResult(const std::string &payload);
~CreateDiskResult();
std::string getDiskId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string diskId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEDISKRESULT_H_

View File

@@ -1,48 +1,48 @@
/*
* 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_CREATEFLEETREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFLEETREQUEST_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 CreateFleetRequest : public RpcServiceRequest
{
/*
* 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_CREATEFLEETREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFLEETREQUEST_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 CreateFleetRequest : public RpcServiceRequest
{
struct LaunchTemplateConfig
{
std::string instanceType;
Double maxPrice;
double maxPrice;
std::string vSwitchId;
Double weightedCapacity;
double weightedCapacity;
int priority;
};
public:
CreateFleetRequest();
~CreateFleetRequest();
public:
CreateFleetRequest();
~CreateFleetRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getFleetType()const;
@@ -121,6 +121,8 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getTotalTargetCapacity()const;
void setTotalTargetCapacity(const std::string& totalTargetCapacity);
std::string getOnDemandAllocationStrategy()const;
@@ -131,8 +133,8 @@ namespace AlibabaCloud
void setValidFrom(const std::string& validFrom);
float getMaxSpotPrice()const;
void setMaxSpotPrice(float maxSpotPrice);
private:
private:
long resourceOwnerId_;
std::string fleetType_;
long callerParentId_;
@@ -172,14 +174,15 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string totalTargetCapacity_;
std::string onDemandAllocationStrategy_;
std::string spotTargetCapacity_;
std::string validFrom_;
float maxSpotPrice_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEFLEETREQUEST_H_

View File

@@ -1,51 +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_CREATEFLEETRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFLEETRESULT_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 CreateFleetResult : public ServiceResult
{
public:
CreateFleetResult();
explicit CreateFleetResult(const std::string &payload);
~CreateFleetResult();
/*
* 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_CREATEFLEETRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFLEETRESULT_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 CreateFleetResult : public ServiceResult
{
public:
CreateFleetResult();
explicit CreateFleetResult(const std::string &payload);
~CreateFleetResult();
std::string getFleetId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string fleetId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEFLEETRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CREATEFORWARDENTRYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYREQUEST_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 CreateForwardEntryRequest : public RpcServiceRequest
{
public:
CreateForwardEntryRequest();
~CreateForwardEntryRequest();
/*
* 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_CREATEFORWARDENTRYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYREQUEST_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 CreateForwardEntryRequest : public RpcServiceRequest
{
public:
CreateForwardEntryRequest();
~CreateForwardEntryRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -57,8 +57,8 @@ namespace AlibabaCloud
void setExternalPort(const std::string& externalPort);
std::string getInternalIp()const;
void setInternalIp(const std::string& internalIp);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
@@ -70,9 +70,9 @@ namespace AlibabaCloud
std::string externalIp_;
std::string externalPort_;
std::string internalIp_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYREQUEST_H_

View File

@@ -1,51 +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_CREATEFORWARDENTRYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYRESULT_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 CreateForwardEntryResult : public ServiceResult
{
public:
CreateForwardEntryResult();
explicit CreateForwardEntryResult(const std::string &payload);
~CreateForwardEntryResult();
/*
* 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_CREATEFORWARDENTRYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYRESULT_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 CreateForwardEntryResult : public ServiceResult
{
public:
CreateForwardEntryResult();
explicit CreateForwardEntryResult(const std::string &payload);
~CreateForwardEntryResult();
std::string getForwardEntryId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string forwardEntryId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEFORWARDENTRYRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CREATEHAVIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHAVIPREQUEST_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 CreateHaVipRequest : public RpcServiceRequest
{
public:
CreateHaVipRequest();
~CreateHaVipRequest();
/*
* 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_CREATEHAVIPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHAVIPREQUEST_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 CreateHaVipRequest : public RpcServiceRequest
{
public:
CreateHaVipRequest();
~CreateHaVipRequest();
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getIpAddress()const;
@@ -53,8 +53,8 @@ namespace AlibabaCloud
void setDescription(const std::string& description);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string vSwitchId_;
std::string ipAddress_;
long resourceOwnerId_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
std::string ownerAccount_;
std::string description_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEHAVIPREQUEST_H_

View File

@@ -1,51 +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_CREATEHAVIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHAVIPRESULT_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 CreateHaVipResult : public ServiceResult
{
public:
CreateHaVipResult();
explicit CreateHaVipResult(const std::string &payload);
~CreateHaVipResult();
/*
* 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_CREATEHAVIPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHAVIPRESULT_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 CreateHaVipResult : public ServiceResult
{
public:
CreateHaVipResult();
explicit CreateHaVipResult(const std::string &payload);
~CreateHaVipResult();
std::string getHaVipId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string haVipId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEHAVIPRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_CREATEHPCCLUSTERREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERREQUEST_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 CreateHpcClusterRequest : public RpcServiceRequest
{
public:
CreateHpcClusterRequest();
~CreateHpcClusterRequest();
/*
* 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_CREATEHPCCLUSTERREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERREQUEST_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 CreateHpcClusterRequest : public RpcServiceRequest
{
public:
CreateHpcClusterRequest();
~CreateHpcClusterRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
@@ -87,10 +87,12 @@ namespace AlibabaCloud
void setSecurity_transport(bool security_transport);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getName()const;
void setName(const std::string& name);
private:
private:
long resourceOwnerId_;
std::string clientToken_;
long callerParentId_;
@@ -117,10 +119,11 @@ namespace AlibabaCloud
bool ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string name_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERREQUEST_H_

View File

@@ -1,51 +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_CREATEHPCCLUSTERRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERRESULT_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 CreateHpcClusterResult : public ServiceResult
{
public:
CreateHpcClusterResult();
explicit CreateHpcClusterResult(const std::string &payload);
~CreateHpcClusterResult();
/*
* 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_CREATEHPCCLUSTERRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERRESULT_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 CreateHpcClusterResult : public ServiceResult
{
public:
CreateHpcClusterResult();
explicit CreateHpcClusterResult(const std::string &payload);
~CreateHpcClusterResult();
std::string getHpcClusterId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string hpcClusterId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEHPCCLUSTERRESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* 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_CREATEIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGEREQUEST_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 CreateImageRequest : public RpcServiceRequest
{
/*
* 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_CREATEIMAGEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGEREQUEST_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 CreateImageRequest : public RpcServiceRequest
{
struct DiskDeviceMapping
{
std::string snapshotId;
@@ -42,11 +42,11 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
public:
CreateImageRequest();
~CreateImageRequest();
public:
CreateImageRequest();
~CreateImageRequest();
std::vector<DiskDeviceMapping> getDiskDeviceMapping()const;
void setDiskDeviceMapping(const std::vector<DiskDeviceMapping>& diskDeviceMapping);
long getResourceOwnerId()const;
@@ -81,8 +81,8 @@ namespace AlibabaCloud
void setTag(const std::vector<Tag>& tag);
std::string getArchitecture()const;
void setArchitecture(const std::string& architecture);
private:
private:
std::vector<DiskDeviceMapping> diskDeviceMapping_;
long resourceOwnerId_;
std::string snapshotId_;
@@ -100,9 +100,9 @@ namespace AlibabaCloud
std::string imageVersion_;
std::vector<Tag> tag_;
std::string architecture_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGEREQUEST_H_

View File

@@ -1,51 +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_CREATEIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGERESULT_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 CreateImageResult : public ServiceResult
{
public:
CreateImageResult();
explicit CreateImageResult(const std::string &payload);
~CreateImageResult();
/*
* 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_CREATEIMAGERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEIMAGERESULT_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 CreateImageResult : public ServiceResult
{
public:
CreateImageResult();
explicit CreateImageResult(const std::string &payload);
~CreateImageResult();
std::string getImageId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string imageId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEIMAGERESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* 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_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEINSTANCEREQUEST_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 CreateInstanceRequest : public RpcServiceRequest
{
/*
* 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_CREATEINSTANCEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEINSTANCEREQUEST_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 CreateInstanceRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
@@ -47,17 +47,18 @@ namespace AlibabaCloud
std::string snapshotId;
int size;
bool encrypted;
std::string performanceLevel;
std::string description;
std::string category;
std::string kMSKeyId;
std::string device;
bool deleteWithInstance;
};
public:
CreateInstanceRequest();
~CreateInstanceRequest();
public:
CreateInstanceRequest();
~CreateInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getHpcClusterId()const;
@@ -78,6 +79,8 @@ namespace AlibabaCloud
void setHostName(const std::string& hostName);
std::string getPassword()const;
void setPassword(const std::string& password);
int getStorageSetPartitionNumber()const;
void setStorageSetPartitionNumber(int storageSetPartitionNumber);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
int getAutoRenewPeriod()const;
@@ -134,6 +137,8 @@ namespace AlibabaCloud
void setSystemDiskCategory(const std::string& systemDiskCategory);
std::string getCapacityReservationId()const;
void setCapacityReservationId(const std::string& capacityReservationId);
std::string getSystemDiskPerformanceLevel()const;
void setSystemDiskPerformanceLevel(const std::string& systemDiskPerformanceLevel);
std::string getUserData()const;
void setUserData(const std::string& userData);
bool getPasswordInherit()const;
@@ -168,12 +173,14 @@ namespace AlibabaCloud
void setCreditSpecification(const std::string& creditSpecification);
std::vector<DataDisk> getDataDisk()const;
void setDataDisk(const std::vector<DataDisk>& dataDisk);
std::string getStorageSetId()const;
void setStorageSetId(const std::string& storageSetId);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getSystemDiskDescription()const;
void setSystemDiskDescription(const std::string& systemDiskDescription);
private:
private:
long resourceOwnerId_;
std::string hpcClusterId_;
std::string securityEnhancementStrategy_;
@@ -184,6 +191,7 @@ namespace AlibabaCloud
std::string resourceGroupId_;
std::string hostName_;
std::string password_;
int storageSetPartitionNumber_;
std::vector<Tag> tag_;
int autoRenewPeriod_;
std::string nodeControllerId_;
@@ -212,6 +220,7 @@ namespace AlibabaCloud
std::string description_;
std::string systemDiskCategory_;
std::string capacityReservationId_;
std::string systemDiskPerformanceLevel_;
std::string userData_;
bool passwordInherit_;
std::string regionId_;
@@ -229,11 +238,12 @@ namespace AlibabaCloud
std::string clusterId_;
std::string creditSpecification_;
std::vector<DataDisk> dataDisk_;
std::string storageSetId_;
int systemDiskSize_;
std::string systemDiskDescription_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEINSTANCEREQUEST_H_

View File

@@ -1,53 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEINSTANCERESULT_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 CreateInstanceResult : public ServiceResult
{
public:
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
/*
* 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_CREATEINSTANCERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEINSTANCERESULT_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 CreateInstanceResult : public ServiceResult
{
public:
CreateInstanceResult();
explicit CreateInstanceResult(const std::string &payload);
~CreateInstanceResult();
std::string getInstanceId()const;
float getTradePrice()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string instanceId_;
float tradePrice_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEINSTANCERESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* 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_CREATEKEYPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRREQUEST_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 CreateKeyPairRequest : public RpcServiceRequest
{
/*
* 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_CREATEKEYPAIRREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRREQUEST_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 CreateKeyPairRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
CreateKeyPairRequest();
~CreateKeyPairRequest();
public:
CreateKeyPairRequest();
~CreateKeyPairRequest();
std::string getSourceRegionId()const;
void setSourceRegionId(const std::string& sourceRegionId);
std::string getResourceGroupId()const;
@@ -56,8 +56,8 @@ namespace AlibabaCloud
void setTag(const std::vector<Tag>& tag);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sourceRegionId_;
std::string resourceGroupId_;
long resourceOwnerId_;
@@ -66,9 +66,9 @@ namespace AlibabaCloud
std::string keyPairName_;
std::vector<Tag> tag_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRREQUEST_H_

View File

@@ -1,57 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRRESULT_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 CreateKeyPairResult : public ServiceResult
{
public:
CreateKeyPairResult();
explicit CreateKeyPairResult(const std::string &payload);
~CreateKeyPairResult();
/*
* 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_CREATEKEYPAIRRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRRESULT_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 CreateKeyPairResult : public ServiceResult
{
public:
CreateKeyPairResult();
explicit CreateKeyPairResult(const std::string &payload);
~CreateKeyPairResult();
std::string getKeyPairFingerPrint()const;
std::string getKeyPairName()const;
std::string getKeyPairId()const;
std::string getPrivateKeyBody()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string keyPairFingerPrint_;
std::string keyPairName_;
std::string keyPairId_;
std::string privateKeyBody_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEKEYPAIRRESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* 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_CREATELAUNCHTEMPLATEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEREQUEST_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 CreateLaunchTemplateRequest : public RpcServiceRequest
{
/*
* 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_CREATELAUNCHTEMPLATEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEREQUEST_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 CreateLaunchTemplateRequest : public RpcServiceRequest
{
struct TemplateTag
{
std::string key;
@@ -59,11 +59,11 @@ namespace AlibabaCloud
bool deleteWithInstance;
std::string device;
};
public:
CreateLaunchTemplateRequest();
~CreateLaunchTemplateRequest();
public:
CreateLaunchTemplateRequest();
~CreateLaunchTemplateRequest();
std::string getLaunchTemplateName()const;
void setLaunchTemplateName(const std::string& launchTemplateName);
long getResourceOwnerId()const;
@@ -124,6 +124,8 @@ namespace AlibabaCloud
void setInstanceName(const std::string& instanceName);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getInternetChargeType()const;
void setInternetChargeType(const std::string& internetChargeType);
std::string getZoneId()const;
@@ -192,8 +194,8 @@ namespace AlibabaCloud
void setVpcId(const std::string& vpcId);
std::string getSystemDiskDescription()const;
void setSystemDiskDescription(const std::string& systemDiskDescription);
private:
private:
std::string launchTemplateName_;
long resourceOwnerId_;
long callerParentId_;
@@ -224,6 +226,7 @@ namespace AlibabaCloud
std::string spotStrategy_;
std::string instanceName_;
std::string requestId_;
std::string akProxy_;
std::string internetChargeType_;
std::string zoneId_;
int internetMaxBandwidthIn_;
@@ -258,9 +261,9 @@ namespace AlibabaCloud
int systemDiskSize_;
std::string vpcId_;
std::string systemDiskDescription_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEREQUEST_H_

View File

@@ -1,51 +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_CREATELAUNCHTEMPLATERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATERESULT_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 CreateLaunchTemplateResult : public ServiceResult
{
public:
CreateLaunchTemplateResult();
explicit CreateLaunchTemplateResult(const std::string &payload);
~CreateLaunchTemplateResult();
/*
* 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_CREATELAUNCHTEMPLATERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATERESULT_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 CreateLaunchTemplateResult : public ServiceResult
{
public:
CreateLaunchTemplateResult();
explicit CreateLaunchTemplateResult(const std::string &payload);
~CreateLaunchTemplateResult();
std::string getLaunchTemplateId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string launchTemplateId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATERESULT_H_

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