Rebuild sdk (#60)

* rebuild sdk

* fixed ut include Utils.h
This commit is contained in:
Axios
2019-08-14 14:34:09 +08:00
committed by GitHub
parent f3d9843e63
commit c43307bc80
11893 changed files with 462166 additions and 221301 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -53,6 +53,8 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getImageOwnerAlias()const;
void setImageOwnerAlias(const std::string& imageOwnerAlias);
std::string getSystemDiskType()const;
void setSystemDiskType(const std::string& systemDiskType);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getPeriodUnit()const;
@@ -82,6 +84,7 @@ namespace AlibabaCloud
std::string jobQueue_;
std::string accessKeyId_;
std::string imageOwnerAlias_;
std::string systemDiskType_;
std::string vSwitchId_;
std::string periodUnit_;
std::string autoRenew_;

View File

@@ -88,6 +88,8 @@ namespace AlibabaCloud
void setVolumeType(const std::string& volumeType);
std::string getDeployMode()const;
void setDeployMode(const std::string& deployMode);
std::string getSystemDiskType()const;
void setSystemDiskType(const std::string& systemDiskType);
int getEcsOrderManagerCount()const;
void setEcsOrderManagerCount(int ecsOrderManagerCount);
std::string getResourceGroupId()const;
@@ -166,6 +168,7 @@ namespace AlibabaCloud
std::string imageOwnerAlias_;
std::string volumeType_;
std::string deployMode_;
std::string systemDiskType_;
int ecsOrderManagerCount_;
std::string resourceGroupId_;
std::string password_;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSClusterRequest : public RpcServiceRequest
{
public:
CreateGWSClusterRequest();
~CreateGWSClusterRequest();
std::string getClusterType()const;
void setClusterType(const std::string& clusterType);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getName()const;
void setName(const std::string& name);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string clusterType_;
std::string vpcId_;
std::string name_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERREQUEST_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_EHPC_MODEL_CREATEGWSCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSClusterResult : public ServiceResult
{
public:
CreateGWSClusterResult();
explicit CreateGWSClusterResult(const std::string &payload);
~CreateGWSClusterResult();
std::string getClusterId()const;
protected:
void parse(const std::string &payload);
private:
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSCLUSTERRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSImageRequest : public RpcServiceRequest
{
public:
CreateGWSImageRequest();
~CreateGWSImageRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getName()const;
void setName(const std::string& name);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string name_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGEREQUEST_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_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSImageResult : public ServiceResult
{
public:
CreateGWSImageResult();
explicit CreateGWSImageResult(const std::string &payload);
~CreateGWSImageResult();
std::string getImageId()const;
protected:
void parse(const std::string &payload);
private:
std::string imageId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSIMAGERESULT_H_

View File

@@ -0,0 +1,96 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSInstanceRequest : public RpcServiceRequest
{
public:
CreateGWSInstanceRequest();
~CreateGWSInstanceRequest();
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getImageId()const;
void setImageId(const std::string& imageId);
bool getAllocatePublicAddress()const;
void setAllocatePublicAddress(bool allocatePublicAddress);
std::string getAppList()const;
void setAppList(const std::string& appList);
int getInternetMaxBandwidthOut()const;
void setInternetMaxBandwidthOut(int internetMaxBandwidthOut);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getWorkMode()const;
void setWorkMode(const std::string& workMode);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPeriodUnit()const;
void setPeriodUnit(const std::string& periodUnit);
bool getAutoRenew()const;
void setAutoRenew(bool autoRenew);
std::string getSystemDiskCategory()const;
void setSystemDiskCategory(const std::string& systemDiskCategory);
std::string getInternetChargeType()const;
void setInternetChargeType(const std::string& internetChargeType);
int getSystemDiskSize()const;
void setSystemDiskSize(int systemDiskSize);
std::string getName()const;
void setName(const std::string& name);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
int getInternetMaxBandwidthIn()const;
void setInternetMaxBandwidthIn(int internetMaxBandwidthIn);
private:
std::string period_;
std::string imageId_;
bool allocatePublicAddress_;
std::string appList_;
int internetMaxBandwidthOut_;
std::string clusterId_;
std::string workMode_;
std::string accessKeyId_;
std::string periodUnit_;
bool autoRenew_;
std::string systemDiskCategory_;
std::string internetChargeType_;
int systemDiskSize_;
std::string name_;
std::string instanceType_;
std::string instanceChargeType_;
int internetMaxBandwidthIn_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCEREQUEST_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_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT CreateGWSInstanceResult : public ServiceResult
{
public:
CreateGWSInstanceResult();
explicit CreateGWSInstanceResult(const std::string &payload);
~CreateGWSInstanceResult();
std::string getInstanceId()const;
protected:
void parse(const std::string &payload);
private:
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_CREATEGWSINSTANCERESULT_H_

View File

@@ -35,6 +35,14 @@ namespace AlibabaCloud
std::string args;
std::string url;
};
struct Nodes
{
std::string ipAddress;
std::string hostName;
std::string role;
std::string accountType;
std::string schedulerType;
};
struct Application
{
std::string tag;
@@ -86,8 +94,8 @@ namespace AlibabaCloud
void setPostInstallScript(const std::vector<PostInstallScript>& postInstallScript);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getNodes()const;
void setNodes(const std::string& nodes);
std::vector<Nodes> getNodes()const;
void setNodes(const std::vector<Nodes>& nodes);
std::vector<Application> getApplication()const;
void setApplication(const std::vector<Application>& application);
std::string getDomain()const;
@@ -102,6 +110,8 @@ namespace AlibabaCloud
void setVolumeMountpoint(const std::string& volumeMountpoint);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
bool getSchedulerPreInstall()const;
void setSchedulerPreInstall(bool schedulerPreInstall);
std::string getLocation()const;
void setLocation(const std::string& location);
@@ -127,7 +137,7 @@ namespace AlibabaCloud
std::string remoteDirectory_;
std::vector<PostInstallScript> postInstallScript_;
std::string vSwitchId_;
std::string nodes_;
std::vector<Nodes> nodes_;
std::vector<Application> application_;
std::string domain_;
std::string vpcId_;
@@ -135,6 +145,7 @@ namespace AlibabaCloud
std::string volumeId_;
std::string volumeMountpoint_;
std::string zoneId_;
bool schedulerPreInstall_;
std::string location_;
};

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_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSClusterRequest : public RpcServiceRequest
{
public:
DeleteGWSClusterRequest();
~DeleteGWSClusterRequest();
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string clusterId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSClusterResult : public ServiceResult
{
public:
DeleteGWSClusterResult();
explicit DeleteGWSClusterResult(const std::string &payload);
~DeleteGWSClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSCLUSTERRESULT_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_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DeleteGWSInstanceRequest : public RpcServiceRequest
{
public:
DeleteGWSInstanceRequest();
~DeleteGWSInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DELETEGWSINSTANCEREQUEST_H_

View File

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

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClustersRequest : public RpcServiceRequest
{
public:
DescribeGWSClustersRequest();
~DescribeGWSClustersRequest();
int getPageSize()const;
void setPageSize(int pageSize);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int pageSize_;
std::string clusterId_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSClustersResult : public ServiceResult
{
public:
struct ClusterInfo
{
std::string status;
int instanceCount;
std::string vpcId;
std::string clusterId;
std::string createTime;
};
DescribeGWSClustersResult();
explicit DescribeGWSClustersResult(const std::string &payload);
~DescribeGWSClustersResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ClusterInfo> getClusters()const;
std::string getCallerType()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ClusterInfo> clusters_;
std::string callerType_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSCLUSTERSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSImagesRequest : public RpcServiceRequest
{
public:
DescribeGWSImagesRequest();
~DescribeGWSImagesRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
int pageSize_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSImagesResult : public ServiceResult
{
public:
struct ImageInfo
{
std::string status;
std::string progress;
int size;
std::string createTime;
std::string imageId;
std::string name;
std::string imageType;
};
DescribeGWSImagesResult();
explicit DescribeGWSImagesResult(const std::string &payload);
~DescribeGWSImagesResult();
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
std::vector<ImageInfo> getImages()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int pageNumber_;
std::vector<ImageInfo> images_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSIMAGESRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSInstancesRequest : public RpcServiceRequest
{
public:
DescribeGWSInstancesRequest();
~DescribeGWSInstancesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
int pageSize_;
std::string clusterId_;
int pageNumber_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeGWSInstancesResult : public ServiceResult
{
public:
struct InstanceInfo
{
struct AppInfo
{
std::string appArgs;
std::string appPath;
std::string appName;
};
std::string status;
std::string userName;
std::string clusterId;
std::string instanceId;
std::string createTime;
std::string instanceType;
std::string expireTime;
std::vector<InstanceInfo::AppInfo> appList;
std::string workMode;
std::string name;
};
DescribeGWSInstancesResult();
explicit DescribeGWSInstancesResult(const std::string &payload);
~DescribeGWSInstancesResult();
std::vector<InstanceInfo> getInstances()const;
int getTotalCount()const;
int getPageSize()const;
int getPageNumber()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceInfo> instances_;
int totalCount_;
int pageSize_;
int pageNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBEGWSINSTANCESRESULT_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_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT DescribeNFSClientStatusRequest : public RpcServiceRequest
{
public:
DescribeNFSClientStatusRequest();
~DescribeNFSClientStatusRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_DESCRIBENFSCLIENTSTATUSREQUEST_H_

View File

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

View File

@@ -42,6 +42,7 @@ namespace AlibabaCloud
std::string instanceType;
std::string spotStrategy;
};
std::string resourceGroupId;
bool enableAutoGrow;
float spotPriceLimit;
std::vector<QueueInfo::InstanceTypeInfo> instanceTypes;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetGWSConnectTicketRequest : public RpcServiceRequest
{
public:
GetGWSConnectTicketRequest();
~GetGWSConnectTicketRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string appName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETREQUEST_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_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT GetGWSConnectTicketResult : public ServiceResult
{
public:
GetGWSConnectTicketResult();
explicit GetGWSConnectTicketResult(const std::string &payload);
~GetGWSConnectTicketResult();
std::string getTicket()const;
protected:
void parse(const std::string &payload);
private:
std::string ticket_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_GETGWSCONNECTTICKETRESULT_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_EHPC_MODEL_INSTALLNFSCLIENTREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_INSTALLNFSCLIENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT InstallNFSClientRequest : public RpcServiceRequest
{
public:
InstallNFSClientRequest();
~InstallNFSClientRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_INSTALLNFSCLIENTREQUEST_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_EHPC_MODEL_INSTALLNFSCLIENTRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_INSTALLNFSCLIENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT InstallNFSClientResult : public ServiceResult
{
public:
InstallNFSClientResult();
explicit InstallNFSClientResult(const std::string &payload);
~InstallNFSClientResult();
std::string getInvokeId()const;
protected:
void parse(const std::string &payload);
private:
std::string invokeId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_INSTALLNFSCLIENTRESULT_H_

View File

@@ -39,6 +39,8 @@ namespace AlibabaCloud
void setSpotStrategy(const std::string& spotStrategy);
std::string getZoneId()const;
void setZoneId(const std::string& zoneId);
bool getShowSoldOut()const;
void setShowSoldOut(bool showSoldOut);
std::string getInstanceChargeType()const;
void setInstanceChargeType(const std::string& instanceChargeType);
std::string getAccessKeyId()const;
@@ -47,6 +49,7 @@ namespace AlibabaCloud
private:
std::string spotStrategy_;
std::string zoneId_;
bool showSoldOut_;
std::string instanceChargeType_;
std::string accessKeyId_;

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
struct TypesInfo
{
std::string status;
int memorySize;
int instancePpsTx;
int cpuCoreCount;

View File

@@ -38,6 +38,7 @@ namespace AlibabaCloud
std::string description;
std::string id;
std::string name;
std::string location;
};

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
TotalResources totalResources;
std::string expiredTime;
std::string imageId;
std::string ipAddress;
std::string id;
std::string regionId;
std::string lockReason;

View File

@@ -35,7 +35,9 @@ namespace AlibabaCloud
struct QueueInfo
{
std::string type;
std::string resourceGroupId;
std::string queueName;
std::string computeInstanceType;
};

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_MOUNTNFSREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_MOUNTNFSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT MountNFSRequest : public RpcServiceRequest
{
public:
MountNFSRequest();
~MountNFSRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getNfsDir()const;
void setNfsDir(const std::string& nfsDir);
std::string getMountDir()const;
void setMountDir(const std::string& mountDir);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string nfsDir_;
std::string mountDir_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_MOUNTNFSREQUEST_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_EHPC_MODEL_MOUNTNFSRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_MOUNTNFSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT MountNFSResult : public ServiceResult
{
public:
MountNFSResult();
explicit MountNFSResult(const std::string &payload);
~MountNFSResult();
std::string getInvokeId()const;
protected:
void parse(const std::string &payload);
private:
std::string invokeId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_MOUNTNFSRESULT_H_

View File

@@ -0,0 +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_EHPC_MODEL_QUERYSERVICEPACKANDPRICEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_QUERYSERVICEPACKANDPRICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT QueryServicePackAndPriceRequest : public RpcServiceRequest
{
public:
QueryServicePackAndPriceRequest();
~QueryServicePackAndPriceRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_QUERYSERVICEPACKANDPRICEREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_QUERYSERVICEPACKANDPRICERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_QUERYSERVICEPACKANDPRICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT QueryServicePackAndPriceResult : public ServiceResult
{
public:
struct ServicePackInfo
{
std::string instanceName;
int endTime;
int capacity;
int startTime;
};
QueryServicePackAndPriceResult();
explicit QueryServicePackAndPriceResult(const std::string &payload);
~QueryServicePackAndPriceResult();
float getOriginalPrice()const;
float getDiscountPrice()const;
std::string getCurrency()const;
std::vector<ServicePackInfo> getServicePack()const;
std::string getRegionId()const;
float getTradePrice()const;
int getOriginalAmount()const;
int getChargeAmount()const;
protected:
void parse(const std::string &payload);
private:
float originalPrice_;
float discountPrice_;
std::string currency_;
std::vector<ServicePackInfo> servicePack_;
std::string regionId_;
float tradePrice_;
int originalAmount_;
int chargeAmount_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_QUERYSERVICEPACKANDPRICERESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT SetGWSInstanceUserRequest : public RpcServiceRequest
{
public:
SetGWSInstanceUserRequest();
~SetGWSInstanceUserRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserUid()const;
void setUserUid(const std::string& userUid);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getUserName()const;
void setUserName(const std::string& userName);
private:
std::string instanceId_;
std::string userUid_;
std::string accessKeyId_;
std::string userName_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERRESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT SetGWSInstanceUserResult : public ServiceResult
{
public:
SetGWSInstanceUserResult();
explicit SetGWSInstanceUserResult(const std::string &payload);
~SetGWSInstanceUserResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_SETGWSINSTANCEUSERRESULT_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_EHPC_MODEL_STARTGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTGWSINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartGWSInstanceRequest : public RpcServiceRequest
{
public:
StartGWSInstanceRequest();
~StartGWSInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTGWSINSTANCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_STARTGWSINSTANCERESULT_H_
#define ALIBABACLOUD_EHPC_MODEL_STARTGWSINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StartGWSInstanceResult : public ServiceResult
{
public:
StartGWSInstanceResult();
explicit StartGWSInstanceResult(const std::string &payload);
~StartGWSInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STARTGWSINSTANCERESULT_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_EHPC_MODEL_STOPGWSINSTANCEREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_STOPGWSINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT StopGWSInstanceRequest : public RpcServiceRequest
{
public:
StopGWSInstanceRequest();
~StopGWSInstanceRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string instanceId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_STOPGWSINSTANCEREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_EHPC_MODEL_UPDATEQUEUECONFIGREQUEST_H_
#define ALIBABACLOUD_EHPC_MODEL_UPDATEQUEUECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ehpc/EHPCExport.h>
namespace AlibabaCloud
{
namespace EHPC
{
namespace Model
{
class ALIBABACLOUD_EHPC_EXPORT UpdateQueueConfigRequest : public RpcServiceRequest
{
public:
UpdateQueueConfigRequest();
~UpdateQueueConfigRequest();
std::string getQueueName()const;
void setQueueName(const std::string& queueName);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
std::string getComputeInstanceType()const;
void setComputeInstanceType(const std::string& computeInstanceType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string queueName_;
std::string resourceGroupId_;
std::string clusterId_;
std::string computeInstanceType_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_EHPC_MODEL_UPDATEQUEUECONFIGREQUEST_H_

View File

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