Add CreateStorageSet api to support storageSet.

This commit is contained in:
sdk-team
2019-08-08 16:13:07 +08:00
parent 1f20945851
commit 29401f9711
1095 changed files with 52396 additions and 42714 deletions

View File

@@ -1,3 +1,13 @@
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.83

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_

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_CREATELAUNCHTEMPLATEVERSIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONREQUEST_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 CreateLaunchTemplateVersionRequest : 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_CREATELAUNCHTEMPLATEVERSIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONREQUEST_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 CreateLaunchTemplateVersionRequest : public RpcServiceRequest
{
struct Tag
{
std::string key;
@@ -54,11 +54,11 @@ namespace AlibabaCloud
bool deleteWithInstance;
std::string device;
};
public:
CreateLaunchTemplateVersionRequest();
~CreateLaunchTemplateVersionRequest();
public:
CreateLaunchTemplateVersionRequest();
~CreateLaunchTemplateVersionRequest();
std::string getLaunchTemplateName()const;
void setLaunchTemplateName(const std::string& launchTemplateName);
long getResourceOwnerId()const;
@@ -117,6 +117,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;
@@ -185,8 +187,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_;
@@ -216,6 +218,7 @@ namespace AlibabaCloud
std::string spotStrategy_;
std::string instanceName_;
std::string requestId_;
std::string akProxy_;
std::string internetChargeType_;
std::string zoneId_;
int internetMaxBandwidthIn_;
@@ -250,9 +253,9 @@ namespace AlibabaCloud
int systemDiskSize_;
std::string vpcId_;
std::string systemDiskDescription_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONREQUEST_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_CREATELAUNCHTEMPLATEVERSIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONRESULT_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 CreateLaunchTemplateVersionResult : public ServiceResult
{
public:
CreateLaunchTemplateVersionResult();
explicit CreateLaunchTemplateVersionResult(const std::string &payload);
~CreateLaunchTemplateVersionResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATELAUNCHTEMPLATEVERSIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONRESULT_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 CreateLaunchTemplateVersionResult : public ServiceResult
{
public:
CreateLaunchTemplateVersionResult();
explicit CreateLaunchTemplateVersionResult(const std::string &payload);
~CreateLaunchTemplateVersionResult();
long getLaunchTemplateVersionNumber()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
long launchTemplateVersionNumber_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATELAUNCHTEMPLATEVERSIONRESULT_H_

View File

@@ -1,46 +1,46 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATENATGATEWAYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYREQUEST_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 CreateNatGatewayRequest : 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_CREATENATGATEWAYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYREQUEST_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 CreateNatGatewayRequest : public RpcServiceRequest
{
struct BandwidthPackage
{
int bandwidth;
std::string zone;
int ipCount;
};
public:
CreateNatGatewayRequest();
~CreateNatGatewayRequest();
public:
CreateNatGatewayRequest();
~CreateNatGatewayRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -61,8 +61,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::vector<BandwidthPackage> getBandwidthPackage()const;
void setBandwidthPackage(const std::vector<BandwidthPackage>& bandwidthPackage);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
@@ -73,9 +73,9 @@ namespace AlibabaCloud
std::string description_;
long ownerId_;
std::vector<BandwidthPackage> bandwidthPackage_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYREQUEST_H_

View File

@@ -1,55 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATENATGATEWAYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYRESULT_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 CreateNatGatewayResult : public ServiceResult
{
public:
CreateNatGatewayResult();
explicit CreateNatGatewayResult(const std::string &payload);
~CreateNatGatewayResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATENATGATEWAYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYRESULT_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 CreateNatGatewayResult : public ServiceResult
{
public:
CreateNatGatewayResult();
explicit CreateNatGatewayResult(const std::string &payload);
~CreateNatGatewayResult();
std::vector<std::string> getForwardTableIds()const;
std::vector<std::string> getBandwidthPackageIds()const;
std::string getNatGatewayId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> forwardTableIds_;
std::vector<std::string> bandwidthPackageIds_;
std::string natGatewayId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENATGATEWAYRESULT_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_CREATENETWORKINTERFACEPERMISSIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONREQUEST_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 CreateNetworkInterfacePermissionRequest : public RpcServiceRequest
{
public:
CreateNetworkInterfacePermissionRequest();
~CreateNetworkInterfacePermissionRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATENETWORKINTERFACEPERMISSIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONREQUEST_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 CreateNetworkInterfacePermissionRequest : public RpcServiceRequest
{
public:
CreateNetworkInterfacePermissionRequest();
~CreateNetworkInterfacePermissionRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
long getCallerParentId()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 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 ak_mfa_present_;
bool security_transport_;
std::string requestId_;
std::string akProxy_;
std::string networkInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONREQUEST_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_CREATENETWORKINTERFACEPERMISSIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONRESULT_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 CreateNetworkInterfacePermissionResult : 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_CREATENETWORKINTERFACEPERMISSIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONRESULT_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 CreateNetworkInterfacePermissionResult : public ServiceResult
{
public:
struct NetworkInterfacePermission
{
std::string permissionState;
@@ -41,20 +41,20 @@ namespace AlibabaCloud
std::string permission;
std::string networkInterfaceId;
};
CreateNetworkInterfacePermissionResult();
explicit CreateNetworkInterfacePermissionResult(const std::string &payload);
~CreateNetworkInterfacePermissionResult();
CreateNetworkInterfacePermissionResult();
explicit CreateNetworkInterfacePermissionResult(const std::string &payload);
~CreateNetworkInterfacePermissionResult();
NetworkInterfacePermission getNetworkInterfacePermission()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
NetworkInterfacePermission networkInterfacePermission_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEPERMISSIONRESULT_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_CREATENETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEREQUEST_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 CreateNetworkInterfaceRequest : 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_CREATENETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEREQUEST_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 CreateNetworkInterfaceRequest : public RpcServiceRequest
{
struct Tag
{
std::string key;
std::string value;
};
public:
CreateNetworkInterfaceRequest();
~CreateNetworkInterfaceRequest();
public:
CreateNetworkInterfaceRequest();
~CreateNetworkInterfaceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getClientToken()const;
@@ -106,10 +106,12 @@ namespace AlibabaCloud
void setVSwitchId(const std::string& vSwitchId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAkProxy()const;
void setAkProxy(const std::string& akProxy);
std::string getPrimaryIpAddress()const;
void setPrimaryIpAddress(const std::string& primaryIpAddress);
private:
private:
long resourceOwnerId_;
std::string clientToken_;
long callerParentId_;
@@ -143,10 +145,11 @@ namespace AlibabaCloud
bool security_transport_;
std::string vSwitchId_;
std::string requestId_;
std::string akProxy_;
std::string primaryIpAddress_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACEREQUEST_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_CREATENETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACERESULT_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 CreateNetworkInterfaceResult : public ServiceResult
{
public:
CreateNetworkInterfaceResult();
explicit CreateNetworkInterfaceResult(const std::string &payload);
~CreateNetworkInterfaceResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATENETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACERESULT_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 CreateNetworkInterfaceResult : public ServiceResult
{
public:
CreateNetworkInterfaceResult();
explicit CreateNetworkInterfaceResult(const std::string &payload);
~CreateNetworkInterfaceResult();
std::string getNetworkInterfaceId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string networkInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATENETWORKINTERFACERESULT_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_CREATEPHYSICALCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONREQUEST_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 CreatePhysicalConnectionRequest : public RpcServiceRequest
{
public:
CreatePhysicalConnectionRequest();
~CreatePhysicalConnectionRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATEPHYSICALCONNECTIONREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONREQUEST_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 CreatePhysicalConnectionRequest : public RpcServiceRequest
{
public:
CreatePhysicalConnectionRequest();
~CreatePhysicalConnectionRequest();
std::string getAccessPointId()const;
void setAccessPointId(const std::string& accessPointId);
std::string getRedundantPhysicalConnectionId()const;
@@ -69,8 +69,8 @@ namespace AlibabaCloud
void setName(const std::string& name);
std::string getUserCidr()const;
void setUserCidr(const std::string& userCidr);
private:
private:
std::string accessPointId_;
std::string redundantPhysicalConnectionId_;
std::string peerLocation_;
@@ -88,9 +88,9 @@ namespace AlibabaCloud
std::string regionId_;
std::string name_;
std::string userCidr_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONREQUEST_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_CREATEPHYSICALCONNECTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONRESULT_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 CreatePhysicalConnectionResult : public ServiceResult
{
public:
CreatePhysicalConnectionResult();
explicit CreatePhysicalConnectionResult(const std::string &payload);
~CreatePhysicalConnectionResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATEPHYSICALCONNECTIONRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONRESULT_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 CreatePhysicalConnectionResult : public ServiceResult
{
public:
CreatePhysicalConnectionResult();
explicit CreatePhysicalConnectionResult(const std::string &payload);
~CreatePhysicalConnectionResult();
std::string getPhysicalConnectionId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string physicalConnectionId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEPHYSICALCONNECTIONRESULT_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_CREATEROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYREQUEST_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 CreateRouteEntryRequest : 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_CREATEROUTEENTRYREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYREQUEST_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 CreateRouteEntryRequest : public RpcServiceRequest
{
struct NextHopList
{
std::string nextHopId;
std::string nextHopType;
};
public:
CreateRouteEntryRequest();
~CreateRouteEntryRequest();
public:
CreateRouteEntryRequest();
~CreateRouteEntryRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -62,8 +62,8 @@ namespace AlibabaCloud
void setNextHopList(const std::vector<NextHopList>& nextHopList);
std::string getRouteTableId()const;
void setRouteTableId(const std::string& routeTableId);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string regionId_;
@@ -75,9 +75,9 @@ namespace AlibabaCloud
std::string nextHopType_;
std::vector<NextHopList> nextHopList_;
std::string routeTableId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYREQUEST_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_CREATEROUTEENTRYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYRESULT_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 CreateRouteEntryResult : public ServiceResult
{
public:
CreateRouteEntryResult();
explicit CreateRouteEntryResult(const std::string &payload);
~CreateRouteEntryResult();
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_CREATEROUTEENTRYRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYRESULT_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 CreateRouteEntryResult : public ServiceResult
{
public:
CreateRouteEntryResult();
explicit CreateRouteEntryResult(const std::string &payload);
~CreateRouteEntryResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEROUTEENTRYRESULT_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_CREATEROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACEREQUEST_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 CreateRouterInterfaceRequest : public RpcServiceRequest
{
public:
CreateRouterInterfaceRequest();
~CreateRouterInterfaceRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATEROUTERINTERFACEREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACEREQUEST_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 CreateRouterInterfaceRequest : public RpcServiceRequest
{
public:
CreateRouterInterfaceRequest();
~CreateRouterInterfaceRequest();
std::string getAccessPointId()const;
void setAccessPointId(const std::string& accessPointId);
std::string getOppositeRouterId()const;
@@ -87,8 +87,8 @@ namespace AlibabaCloud
void setName(const std::string& name);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
private:
private:
std::string accessPointId_;
std::string oppositeRouterId_;
std::string oppositeAccessPointId_;
@@ -115,9 +115,9 @@ namespace AlibabaCloud
std::string oppositeRouterType_;
std::string name_;
std::string pricingCycle_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACEREQUEST_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_CREATEROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACERESULT_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 CreateRouterInterfaceResult : public ServiceResult
{
public:
CreateRouterInterfaceResult();
explicit CreateRouterInterfaceResult(const std::string &payload);
~CreateRouterInterfaceResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATEROUTERINTERFACERESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACERESULT_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 CreateRouterInterfaceResult : public ServiceResult
{
public:
CreateRouterInterfaceResult();
explicit CreateRouterInterfaceResult(const std::string &payload);
~CreateRouterInterfaceResult();
long getOrderId()const;
std::string getRouterInterfaceId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
long orderId_;
std::string routerInterfaceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATEROUTERINTERFACERESULT_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_CREATESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPREQUEST_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 CreateSecurityGroupRequest : 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_CREATESECURITYGROUPREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPREQUEST_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 CreateSecurityGroupRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
CreateSecurityGroupRequest();
~CreateSecurityGroupRequest();
public:
CreateSecurityGroupRequest();
~CreateSecurityGroupRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -66,8 +66,8 @@ namespace AlibabaCloud
void setVpcId(const std::string& vpcId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string clientToken_;
@@ -81,9 +81,9 @@ namespace AlibabaCloud
std::string regionId_;
std::string vpcId_;
std::vector<Tag> tag_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPREQUEST_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_CREATESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPRESULT_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 CreateSecurityGroupResult : public ServiceResult
{
public:
CreateSecurityGroupResult();
explicit CreateSecurityGroupResult(const std::string &payload);
~CreateSecurityGroupResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR 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_CREATESECURITYGROUPRESULT_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPRESULT_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 CreateSecurityGroupResult : public ServiceResult
{
public:
CreateSecurityGroupResult();
explicit CreateSecurityGroupResult(const std::string &payload);
~CreateSecurityGroupResult();
std::string getSecurityGroupId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string securityGroupId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESECURITYGROUPRESULT_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_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateSimulatedSystemEventsRequest : public RpcServiceRequest
{
public:
CreateSimulatedSystemEventsRequest();
~CreateSimulatedSystemEventsRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#define ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ecs/EcsExport.h>
namespace AlibabaCloud
{
namespace Ecs
{
namespace Model
{
class ALIBABACLOUD_ECS_EXPORT CreateSimulatedSystemEventsRequest : public RpcServiceRequest
{
public:
CreateSimulatedSystemEventsRequest();
~CreateSimulatedSystemEventsRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getNotBefore()const;
@@ -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;
@@ -87,10 +89,12 @@ namespace AlibabaCloud
void setInstanceId(const std::vector<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 getEventType()const;
void setEventType(const std::string& eventType);
private:
private:
long resourceOwnerId_;
std::string notBefore_;
long callerParentId_;
@@ -99,6 +103,7 @@ namespace AlibabaCloud
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string sourceRegionId_;
std::string resourceGroupId_;
std::string securityToken_;
std::string regionId_;
@@ -117,10 +122,11 @@ namespace AlibabaCloud
bool security_transport_;
std::vector<std::string> instanceId_;
std::string requestId_;
std::string akProxy_;
std::string eventType_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ECS_MODEL_CREATESIMULATEDSYSTEMEVENTSREQUEST_H_

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