Skip to content

Commit 6f47821

Browse files
committed
Update API AllocateAnycastEipAddress: add request parameters Tag.
1 parent d38b9d6 commit 6f47821

File tree

67 files changed

+254
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+254
-158
lines changed

eipanycast-20200309/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
33

4-
project(alibabacloud_eipanycast_20200309 VERSION "1.0.0")
4+
project(alibabacloud_eipanycast20200309 VERSION "1.0.0")
55

66
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< General set up >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> #
77
set(CMAKE_CXX_STANDARD 11)
@@ -72,7 +72,7 @@ if(CMAKE_HOST_WIN32)
7272
_CRT_SECURE_NO_WARNINGS)
7373
elseif(APPLE)
7474
find_library(CFLIB CoreFoundation)
75-
find_library(UTIL_LIB alibabacloud_eipanycast_20200309 ${CMAKE_CURRENT_SOURCE_DIR}/deps/lib)
75+
find_library(UTIL_LIB alibabacloud_eipanycast20200309 ${CMAKE_CURRENT_SOURCE_DIR}/deps/lib)
7676
target_link_libraries(${PROJECT_NAME}
7777
OpenSSL::SSL OpenSSL::Crypto
7878
${CFLIB}
@@ -139,7 +139,7 @@ install(
139139
TARGETS
140140
${PROJECT_NAME}
141141
EXPORT
142-
alibabacloud_eipanycast_20200309Targets
142+
alibabacloud_eipanycast20200309Targets
143143
ARCHIVE
144144
DESTINATION ${INSTALL_LIBDIR}
145145
COMPONENT lib
@@ -157,9 +157,9 @@ install(
157157
# Install cmake config
158158
install(
159159
EXPORT
160-
alibabacloud_eipanycast_20200309Targets
160+
alibabacloud_eipanycast20200309Targets
161161
NAMESPACE
162-
"alibabacloud_eipanycast_20200309::"
162+
"alibabacloud_eipanycast20200309::"
163163
DESTINATION
164164
${INSTALL_CMAKEDIR}
165165
COMPONENT

eipanycast-20200309/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-10-31 Version: 1.1.1
2+
- Update API AllocateAnycastEipAddress: add request parameters Tag.
3+
4+
15
2025-08-06 Version: 1.1.0
26
- Support API ChangeResourceGroup.
37

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@PACKAGE_INIT@
2+
3+
include("${CMAKE_CURRENT_LIST_DIR}/alibabacloud_eipanycast20200309Targets.cmake")
4+
check_required_components("alibabacloud_eipanycast20200309")

eipanycast-20200309/cmake/alibabacloud_eipanycast_20200309Config.cmake.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

eipanycast-20200309/include/alibabacloud/Eipanycast20200309Model.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include <alibabacloud/models/UpdateAnycastEipAddressAssociationsRequest.hpp>
4848
#include <alibabacloud/models/UpdateAnycastEipAddressAssociationsResponseBody.hpp>
4949
#include <alibabacloud/models/UpdateAnycastEipAddressAssociationsResponse.hpp>
50+
#include <alibabacloud/models/AllocateAnycastEipAddressRequestTag.hpp>
5051
#include <alibabacloud/models/AssociateAnycastEipAddressRequestPopLocations.hpp>
5152
#include <alibabacloud/models/DescribeAnycastEipAddressResponseBodyAnycastEipBindInfoListPopLocations.hpp>
5253
#include <alibabacloud/models/DescribeAnycastEipAddressResponseBodyAnycastEipBindInfoList.hpp>

eipanycast-20200309/include/alibabacloud/models/AllocateAnycastEipAddressRequest.hpp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#ifndef ALIBABACLOUD_MODELS_ALLOCATEANYCASTEIPADDRESSREQUEST_HPP_
33
#define ALIBABACLOUD_MODELS_ALLOCATEANYCASTEIPADDRESSREQUEST_HPP_
44
#include <darabonba/Core.hpp>
5+
#include <vector>
6+
#include <alibabacloud/models/AllocateAnycastEipAddressRequestTag.hpp>
57
using namespace std;
68
using json = nlohmann::json;
79
namespace AlibabaCloud
@@ -21,6 +23,7 @@ namespace Models
2123
DARABONBA_PTR_TO_JSON(Name, name_);
2224
DARABONBA_PTR_TO_JSON(ResourceGroupId, resourceGroupId_);
2325
DARABONBA_PTR_TO_JSON(ServiceLocation, serviceLocation_);
26+
DARABONBA_PTR_TO_JSON(Tag, tag_);
2427
};
2528
friend void from_json(const Darabonba::Json& j, AllocateAnycastEipAddressRequest& obj) {
2629
DARABONBA_PTR_FROM_JSON(Bandwidth, bandwidth_);
@@ -31,6 +34,7 @@ namespace Models
3134
DARABONBA_PTR_FROM_JSON(Name, name_);
3235
DARABONBA_PTR_FROM_JSON(ResourceGroupId, resourceGroupId_);
3336
DARABONBA_PTR_FROM_JSON(ServiceLocation, serviceLocation_);
37+
DARABONBA_PTR_FROM_JSON(Tag, tag_);
3438
};
3539
AllocateAnycastEipAddressRequest() = default ;
3640
AllocateAnycastEipAddressRequest(const AllocateAnycastEipAddressRequest &) = default ;
@@ -43,9 +47,9 @@ namespace Models
4347
};
4448
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
4549
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
46-
virtual bool empty() const override { this->bandwidth_ != nullptr
47-
&& this->clientToken_ != nullptr && this->description_ != nullptr && this->instanceChargeType_ != nullptr && this->internetChargeType_ != nullptr && this->name_ != nullptr
48-
&& this->resourceGroupId_ != nullptr && this->serviceLocation_ != nullptr; };
50+
virtual bool empty() const override { return this->bandwidth_ == nullptr
51+
&& return this->clientToken_ == nullptr && return this->description_ == nullptr && return this->instanceChargeType_ == nullptr && return this->internetChargeType_ == nullptr && return this->name_ == nullptr
52+
&& return this->resourceGroupId_ == nullptr && return this->serviceLocation_ == nullptr && return this->tag_ == nullptr; };
4953
// bandwidth Field Functions
5054
bool hasBandwidth() const { return this->bandwidth_ != nullptr;};
5155
void deleteBandwidth() { this->bandwidth_ = nullptr;};
@@ -102,6 +106,15 @@ namespace Models
102106
inline AllocateAnycastEipAddressRequest& setServiceLocation(string serviceLocation) { DARABONBA_PTR_SET_VALUE(serviceLocation_, serviceLocation) };
103107

104108

109+
// tag Field Functions
110+
bool hasTag() const { return this->tag_ != nullptr;};
111+
void deleteTag() { this->tag_ = nullptr;};
112+
inline const vector<AllocateAnycastEipAddressRequestTag> & tag() const { DARABONBA_PTR_GET_CONST(tag_, vector<AllocateAnycastEipAddressRequestTag>) };
113+
inline vector<AllocateAnycastEipAddressRequestTag> tag() { DARABONBA_PTR_GET(tag_, vector<AllocateAnycastEipAddressRequestTag>) };
114+
inline AllocateAnycastEipAddressRequest& setTag(const vector<AllocateAnycastEipAddressRequestTag> & tag) { DARABONBA_PTR_SET_VALUE(tag_, tag) };
115+
inline AllocateAnycastEipAddressRequest& setTag(vector<AllocateAnycastEipAddressRequestTag> && tag) { DARABONBA_PTR_SET_RVALUE(tag_, tag) };
116+
117+
105118
protected:
106119
// The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.
107120
//
@@ -141,6 +154,7 @@ namespace Models
141154
//
142155
// This parameter is required.
143156
std::shared_ptr<string> serviceLocation_ = nullptr;
157+
std::shared_ptr<vector<AllocateAnycastEipAddressRequestTag>> tag_ = nullptr;
144158
};
145159

146160
} // namespace Models
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
#ifndef ALIBABACLOUD_MODELS_ALLOCATEANYCASTEIPADDRESSREQUESTTAG_HPP_
3+
#define ALIBABACLOUD_MODELS_ALLOCATEANYCASTEIPADDRESSREQUESTTAG_HPP_
4+
#include <darabonba/Core.hpp>
5+
using namespace std;
6+
using json = nlohmann::json;
7+
namespace AlibabaCloud
8+
{
9+
namespace Eipanycast20200309
10+
{
11+
namespace Models
12+
{
13+
class AllocateAnycastEipAddressRequestTag : public Darabonba::Model {
14+
public:
15+
friend void to_json(Darabonba::Json& j, const AllocateAnycastEipAddressRequestTag& obj) {
16+
DARABONBA_PTR_TO_JSON(Key, key_);
17+
DARABONBA_PTR_TO_JSON(Value, value_);
18+
};
19+
friend void from_json(const Darabonba::Json& j, AllocateAnycastEipAddressRequestTag& obj) {
20+
DARABONBA_PTR_FROM_JSON(Key, key_);
21+
DARABONBA_PTR_FROM_JSON(Value, value_);
22+
};
23+
AllocateAnycastEipAddressRequestTag() = default ;
24+
AllocateAnycastEipAddressRequestTag(const AllocateAnycastEipAddressRequestTag &) = default ;
25+
AllocateAnycastEipAddressRequestTag(AllocateAnycastEipAddressRequestTag &&) = default ;
26+
AllocateAnycastEipAddressRequestTag(const Darabonba::Json & obj) { from_json(obj, *this); };
27+
virtual ~AllocateAnycastEipAddressRequestTag() = default ;
28+
AllocateAnycastEipAddressRequestTag& operator=(const AllocateAnycastEipAddressRequestTag &) = default ;
29+
AllocateAnycastEipAddressRequestTag& operator=(AllocateAnycastEipAddressRequestTag &&) = default ;
30+
virtual void validate() const override {
31+
};
32+
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
33+
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
34+
virtual bool empty() const override { return this->key_ == nullptr
35+
&& return this->value_ == nullptr; };
36+
// key Field Functions
37+
bool hasKey() const { return this->key_ != nullptr;};
38+
void deleteKey() { this->key_ = nullptr;};
39+
inline string key() const { DARABONBA_PTR_GET_DEFAULT(key_, "") };
40+
inline AllocateAnycastEipAddressRequestTag& setKey(string key) { DARABONBA_PTR_SET_VALUE(key_, key) };
41+
42+
43+
// value Field Functions
44+
bool hasValue() const { return this->value_ != nullptr;};
45+
void deleteValue() { this->value_ = nullptr;};
46+
inline string value() const { DARABONBA_PTR_GET_DEFAULT(value_, "") };
47+
inline AllocateAnycastEipAddressRequestTag& setValue(string value) { DARABONBA_PTR_SET_VALUE(value_, value) };
48+
49+
50+
protected:
51+
std::shared_ptr<string> key_ = nullptr;
52+
std::shared_ptr<string> value_ = nullptr;
53+
};
54+
55+
} // namespace Models
56+
} // namespace AlibabaCloud
57+
} // namespace Eipanycast20200309
58+
#endif

eipanycast-20200309/include/alibabacloud/models/AllocateAnycastEipAddressResponse.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define ALIBABACLOUD_MODELS_ALLOCATEANYCASTEIPADDRESSRESPONSE_HPP_
44
#include <darabonba/Core.hpp>
55
#include <map>
6+
#include <alibabacloud/models/AllocateAnycastEipAddressResponseBody.hpp>
67
using namespace std;
78
using json = nlohmann::json;
89
namespace AlibabaCloud
@@ -34,8 +35,8 @@ namespace Models
3435
};
3536
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3637
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
37-
virtual bool empty() const override { this->headers_ != nullptr
38-
&& this->statusCode_ != nullptr && this->body_ != nullptr; };
38+
virtual bool empty() const override { return this->headers_ == nullptr
39+
&& return this->statusCode_ == nullptr && return this->body_ == nullptr; };
3940
// headers Field Functions
4041
bool hasHeaders() const { return this->headers_ != nullptr;};
4142
void deleteHeaders() { this->headers_ = nullptr;};

eipanycast-20200309/include/alibabacloud/models/AllocateAnycastEipAddressResponseBody.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ namespace Models
3333
};
3434
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3535
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
36-
virtual bool empty() const override { this->anycastId_ != nullptr
37-
&& this->orderId_ != nullptr && this->requestId_ != nullptr; };
36+
virtual bool empty() const override { return this->anycastId_ == nullptr
37+
&& return this->orderId_ == nullptr && return this->requestId_ == nullptr; };
3838
// anycastId Field Functions
3939
bool hasAnycastId() const { return this->anycastId_ != nullptr;};
4040
void deleteAnycastId() { this->anycastId_ = nullptr;};

eipanycast-20200309/include/alibabacloud/models/AssociateAnycastEipAddressRequest.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ namespace Models
4747
};
4848
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
4949
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
50-
virtual bool empty() const override { this->anycastId_ != nullptr
51-
&& this->associationMode_ != nullptr && this->bindInstanceId_ != nullptr && this->bindInstanceRegionId_ != nullptr && this->bindInstanceType_ != nullptr && this->clientToken_ != nullptr
52-
&& this->dryRun_ != nullptr && this->popLocations_ != nullptr && this->privateIpAddress_ != nullptr; };
50+
virtual bool empty() const override { return this->anycastId_ == nullptr
51+
&& return this->associationMode_ == nullptr && return this->bindInstanceId_ == nullptr && return this->bindInstanceRegionId_ == nullptr && return this->bindInstanceType_ == nullptr && return this->clientToken_ == nullptr
52+
&& return this->dryRun_ == nullptr && return this->popLocations_ == nullptr && return this->privateIpAddress_ == nullptr; };
5353
// anycastId Field Functions
5454
bool hasAnycastId() const { return this->anycastId_ != nullptr;};
5555
void deleteAnycastId() { this->anycastId_ = nullptr;};

0 commit comments

Comments
 (0)