Skip to content

Commit

Permalink
Generated 2017-11-10 for Ens.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 25, 2024
1 parent 51939b7 commit 2758ad5
Show file tree
Hide file tree
Showing 106 changed files with 5,169 additions and 285 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.2006
1.36.2007
80 changes: 72 additions & 8 deletions ens/CMakeLists.txt

Large diffs are not rendered by default.

160 changes: 144 additions & 16 deletions ens/include/alibabacloud/ens/EnsClient.h

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions ens/include/alibabacloud/ens/model/AssociateHaVipRequest.h
Original file line number Diff line number Diff line change
@@ -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_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_

#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT AssociateHaVipRequest : public RpcServiceRequest {
public:
AssociateHaVipRequest();
~AssociateHaVipRequest();
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getHaVipId() const;
void setHaVipId(const std::string &haVipId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);

private:
std::string instanceType_;
std::string haVipId_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPREQUEST_H_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
#ifndef ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_

#include <string>
#include <vector>
Expand All @@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT DescribeApplicationResourceSummaryResult : public ServiceResult
class ALIBABACLOUD_ENS_EXPORT AssociateHaVipResult : public ServiceResult
{
public:


DescribeApplicationResourceSummaryResult();
explicit DescribeApplicationResourceSummaryResult(const std::string &payload);
~DescribeApplicationResourceSummaryResult();
std::string getApplicationResource()const;
AssociateHaVipResult();
explicit AssociateHaVipResult(const std::string &payload);
~AssociateHaVipResult();

protected:
void parse(const std::string &payload);
private:
std::string applicationResource_;

};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYRESULT_H_
#endif // !ALIBABACLOUD_ENS_MODEL_ASSOCIATEHAVIPRESULT_H_
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

#ifndef ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
#ifndef ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_

#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
Expand All @@ -26,20 +26,20 @@
namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT DescribeApplicationResourceSummaryRequest : public RpcServiceRequest {
class ALIBABACLOUD_ENS_EXPORT AttachNetworkInterfaceRequest : public RpcServiceRequest {
public:
DescribeApplicationResourceSummaryRequest();
~DescribeApplicationResourceSummaryRequest();
std::string getLevel() const;
void setLevel(const std::string &level);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
AttachNetworkInterfaceRequest();
~AttachNetworkInterfaceRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getNetworkInterfaceId() const;
void setNetworkInterfaceId(const std::string &networkInterfaceId);

private:
std::string level_;
std::string resourceType_;
std::string instanceId_;
std::string networkInterfaceId_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_DESCRIBEAPPLICATIONRESOURCESUMMARYREQUEST_H_
#endif // !ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACEREQUEST_H_
49 changes: 49 additions & 0 deletions ens/include/alibabacloud/ens/model/AttachNetworkInterfaceResult.h
Original file line number Diff line number Diff line change
@@ -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_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_
#define ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>

namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT AttachNetworkInterfaceResult : public ServiceResult
{
public:


AttachNetworkInterfaceResult();
explicit AttachNetworkInterfaceResult(const std::string &payload);
~AttachNetworkInterfaceResult();

protected:
void parse(const std::string &payload);
private:

};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_ATTACHNETWORKINTERFACERESULT_H_
45 changes: 45 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateClusterRequest.h
Original file line number Diff line number Diff line change
@@ -0,0 +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_ENS_MODEL_CREATECLUSTERREQUEST_H_
#define ALIBABACLOUD_ENS_MODEL_CREATECLUSTERREQUEST_H_

#include <alibabacloud/ens/EnsExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>

namespace AlibabaCloud {
namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateClusterRequest : public RpcServiceRequest {
public:
CreateClusterRequest();
~CreateClusterRequest();
std::string getClusterVersion() const;
void setClusterVersion(const std::string &clusterVersion);
std::string getName() const;
void setName(const std::string &name);

private:
std::string clusterVersion_;
std::string name_;
};
} // namespace Model
} // namespace Ens
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLUSTERREQUEST_H_
51 changes: 51 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateClusterResult.h
Original file line number Diff line number Diff line change
@@ -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_ENS_MODEL_CREATECLUSTERRESULT_H_
#define ALIBABACLOUD_ENS_MODEL_CREATECLUSTERRESULT_H_

#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ens/EnsExport.h>

namespace AlibabaCloud
{
namespace Ens
{
namespace Model
{
class ALIBABACLOUD_ENS_EXPORT CreateClusterResult : public ServiceResult
{
public:


CreateClusterResult();
explicit CreateClusterResult(const std::string &payload);
~CreateClusterResult();
std::string getClusterId()const;

protected:
void parse(const std::string &payload);
private:
std::string clusterId_;

};
}
}
}
#endif // !ALIBABACLOUD_ENS_MODEL_CREATECLUSTERRESULT_H_
7 changes: 7 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateDiskRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateDiskRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateDiskRequest();
~CreateDiskRequest();
std::string getDiskName() const;
void setDiskName(const std::string &diskName);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getSize() const;
void setSize(const std::string &size);
std::string getSnapshotId() const;
Expand All @@ -50,6 +56,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateDiskRequest : public RpcServiceRequest {
private:
std::string diskName_;
std::string ensRegionId_;
std::vector<Tag> tag_;
std::string size_;
std::string snapshotId_;
std::string instanceChargeType_;
Expand Down
7 changes: 7 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateEipInstanceRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateEipInstanceRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateEipInstanceRequest();
~CreateEipInstanceRequest();
std::string getIsp() const;
void setIsp(const std::string &isp);
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getInternetChargeType() const;
void setInternetChargeType(const std::string &internetChargeType);
std::string getName() const;
Expand All @@ -48,6 +54,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateEipInstanceRequest : public RpcServiceReques
private:
std::string isp_;
std::string ensRegionId_;
std::vector<Tag> tag_;
std::string internetChargeType_;
std::string name_;
std::string description_;
Expand Down
7 changes: 7 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateNatGatewayRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateNatGatewayRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateNatGatewayRequest();
~CreateNatGatewayRequest();
std::string getEnsRegionId() const;
void setEnsRegionId(const std::string &ensRegionId);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getVSwitchId() const;
void setVSwitchId(const std::string &vSwitchId);
std::string getName() const;
Expand All @@ -44,6 +50,7 @@ class ALIBABACLOUD_ENS_EXPORT CreateNatGatewayRequest : public RpcServiceRequest
private:
std::string ensRegionId_;
std::string instanceType_;
std::vector<Tag> tag_;
std::string vSwitchId_;
std::string name_;
std::string networkId_;
Expand Down
7 changes: 7 additions & 0 deletions ens/include/alibabacloud/ens/model/CreateNetworkRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ namespace Ens {
namespace Model {
class ALIBABACLOUD_ENS_EXPORT CreateNetworkRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
CreateNetworkRequest();
~CreateNetworkRequest();
std::string getDescription() const;
Expand All @@ -36,13 +40,16 @@ class ALIBABACLOUD_ENS_EXPORT CreateNetworkRequest : public RpcServiceRequest {
void setEnsRegionId(const std::string &ensRegionId);
std::string getNetworkName() const;
void setNetworkName(const std::string &networkName);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getCidrBlock() const;
void setCidrBlock(const std::string &cidrBlock);

private:
std::string description_;
std::string ensRegionId_;
std::string networkName_;
std::vector<Tag> tag_;
std::string cidrBlock_;
};
} // namespace Model
Expand Down
Loading

0 comments on commit 2758ad5

Please sign in to comment.