Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22a5112af0 | ||
|
|
99ae87ba10 | ||
|
|
b0c5f8414d | ||
|
|
b3e689b905 | ||
|
|
2e832b9098 | ||
|
|
9cc8d6643d | ||
|
|
47fda11426 | ||
|
|
85c4ce8295 | ||
|
|
7a898c20fc | ||
|
|
dae639ec05 | ||
|
|
4819dbb983 | ||
|
|
7e643e8a5d | ||
|
|
5d643e91c9 | ||
|
|
27cd07c728 | ||
|
|
a9de1411e4 | ||
|
|
022c13a360 | ||
|
|
ceba891a32 |
60
CHANGELOG
60
CHANGELOG
@@ -1,3 +1,63 @@
|
||||
2019-11-20 Version 1.36.185
|
||||
- Generated 2019-01-01 for `HBase`.
|
||||
|
||||
2019-11-20 Version 1.36.184
|
||||
- Add API ReportVoipProblems.
|
||||
- Add API QueryVoipNumberBindINfos.
|
||||
|
||||
2019-11-15 Version 1.36.183
|
||||
- Nlp Automl SDK.
|
||||
|
||||
2019-11-15 Version 1.36.182
|
||||
- Sync cdn APIs.
|
||||
|
||||
2019-11-15 Version 1.36.181
|
||||
- Fixed bugs.
|
||||
|
||||
2019-11-15 Version 1.36.180
|
||||
- Add Scdn APIS.
|
||||
- Sync cdn APIS.
|
||||
|
||||
2019-11-15 Version 1.36.179
|
||||
- Modify QueryAccountBill, support group by product.
|
||||
|
||||
2019-11-15 Version 1.36.178
|
||||
- Modify DescribeRestoreRangeInfo.
|
||||
|
||||
2019-11-15 Version 1.36.177
|
||||
- Add DescribeRestoreRangeInfo.
|
||||
|
||||
2019-11-14 Version 1.36.176
|
||||
- Released dysms OpenAPI.
|
||||
|
||||
2019-11-14 Version 1.36.175
|
||||
- Support Tag OpenAPI.
|
||||
- Fix endpoint problem.
|
||||
|
||||
2019-11-14 Version 1.36.174
|
||||
- Initial construction.
|
||||
- Public beta version.
|
||||
- Supported AliyunController for Interface.
|
||||
- Supported ConsoleController for Interface.
|
||||
- Supported AccountController for Interface.
|
||||
|
||||
2019-11-13 Version 1.36.173
|
||||
- Supported Stream analyse.
|
||||
|
||||
2019-11-13 Version 1.36.172
|
||||
- Fix ResourceId type from Long to String on QueryCostUnitResource.
|
||||
|
||||
2019-11-13 Version 1.36.171
|
||||
- Fix ResourceId type from Long to String on QueryCostUnitResource.
|
||||
|
||||
2019-11-13 Version 1.36.170
|
||||
- Add new API QueryBillToOSSSubscription.
|
||||
|
||||
2019-11-13 Version 1.36.169
|
||||
- Supported API UpdateDomainRemark for Update Domain Remark.
|
||||
- Supported API UpdateDomainRecordRemark for Update Record Remark.
|
||||
- Unsupported API CheckDomainRecord.
|
||||
|
||||
2019-11-13 Version 1.36.168
|
||||
- Support Go SDK.
|
||||
- Support C SDK.
|
||||
|
||||
@@ -57,6 +57,8 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/DescribeSlowLogTrendResult.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/GrantOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/adb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/adb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/adb/model/ModifyAutoRenewAttributeRequest.h
|
||||
@@ -72,7 +74,11 @@ set(adb_public_header_model
|
||||
include/alibabacloud/adb/model/ResetAccountPasswordRequest.h
|
||||
include/alibabacloud/adb/model/ResetAccountPasswordResult.h
|
||||
include/alibabacloud/adb/model/RevokeOperatorPermissionRequest.h
|
||||
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h )
|
||||
include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h
|
||||
include/alibabacloud/adb/model/TagResourcesRequest.h
|
||||
include/alibabacloud/adb/model/TagResourcesResult.h
|
||||
include/alibabacloud/adb/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/adb/model/UntagResourcesResult.h )
|
||||
|
||||
set(adb_src
|
||||
src/AdbClient.cc
|
||||
@@ -112,6 +118,8 @@ set(adb_src
|
||||
src/model/DescribeSlowLogTrendResult.cc
|
||||
src/model/GrantOperatorPermissionRequest.cc
|
||||
src/model/GrantOperatorPermissionResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAutoRenewAttributeRequest.cc
|
||||
@@ -127,7 +135,11 @@ set(adb_src
|
||||
src/model/ResetAccountPasswordRequest.cc
|
||||
src/model/ResetAccountPasswordResult.cc
|
||||
src/model/RevokeOperatorPermissionRequest.cc
|
||||
src/model/RevokeOperatorPermissionResult.cc )
|
||||
src/model/RevokeOperatorPermissionResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc )
|
||||
|
||||
add_library(adb ${LIB_TYPE}
|
||||
${adb_public_header}
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
#include "model/DescribeSlowLogTrendResult.h"
|
||||
#include "model/GrantOperatorPermissionRequest.h"
|
||||
#include "model/GrantOperatorPermissionResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAutoRenewAttributeRequest.h"
|
||||
@@ -74,6 +76,10 @@
|
||||
#include "model/ResetAccountPasswordResult.h"
|
||||
#include "model/RevokeOperatorPermissionRequest.h"
|
||||
#include "model/RevokeOperatorPermissionResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -137,6 +143,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GrantOperatorPermissionResult> GrantOperatorPermissionOutcome;
|
||||
typedef std::future<GrantOperatorPermissionOutcome> GrantOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::GrantOperatorPermissionRequest&, const GrantOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GrantOperatorPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
|
||||
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
|
||||
@@ -161,6 +170,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RevokeOperatorPermissionResult> RevokeOperatorPermissionOutcome;
|
||||
typedef std::future<RevokeOperatorPermissionOutcome> RevokeOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::RevokeOperatorPermissionRequest&, const RevokeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeOperatorPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const AdbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
|
||||
AdbClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AdbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -220,6 +235,9 @@ namespace AlibabaCloud
|
||||
GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const;
|
||||
void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
|
||||
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const;
|
||||
@@ -244,6 +262,12 @@ namespace AlibabaCloud
|
||||
RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const;
|
||||
void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
80
adb/include/alibabacloud/adb/model/ListTagResourcesRequest.h
Normal file
80
adb/include/alibabacloud/adb/model/ListTagResourcesRequest.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
60
adb/include/alibabacloud/adb/model/ListTagResourcesResult.h
Normal file
60
adb/include/alibabacloud/adb/model/ListTagResourcesResult.h
Normal 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_ADB_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT ListTagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TagResource
|
||||
{
|
||||
std::string resourceId;
|
||||
std::string tagKey;
|
||||
std::string resourceType;
|
||||
std::string tagValue;
|
||||
};
|
||||
|
||||
|
||||
ListTagResourcesResult();
|
||||
explicit ListTagResourcesResult(const std::string &payload);
|
||||
~ListTagResourcesResult();
|
||||
std::string getNextToken()const;
|
||||
std::vector<TagResource> getTagResources()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::vector<TagResource> tagResources_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_LISTTAGRESOURCESRESULT_H_
|
||||
77
adb/include/alibabacloud/adb/model/TagResourcesRequest.h
Normal file
77
adb/include/alibabacloud/adb/model/TagResourcesRequest.h
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/TagResourcesResult.h
Normal file
49
adb/include/alibabacloud/adb/model/TagResourcesResult.h
Normal 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_ADB_MODEL_TAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_TAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT TagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TagResourcesResult();
|
||||
explicit TagResourcesResult(const std::string &payload);
|
||||
~TagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_TAGRESOURCESRESULT_H_
|
||||
75
adb/include/alibabacloud/adb/model/UntagResourcesRequest.h
Normal file
75
adb/include/alibabacloud/adb/model/UntagResourcesRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
49
adb/include/alibabacloud/adb/model/UntagResourcesResult.h
Normal file
49
adb/include/alibabacloud/adb/model/UntagResourcesResult.h
Normal 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_ADB_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
#define ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/adb/AdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Adb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ADB_EXPORT UntagResourcesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UntagResourcesResult();
|
||||
explicit UntagResourcesResult(const std::string &payload);
|
||||
~UntagResourcesResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ADB_MODEL_UNTAGRESOURCESRESULT_H_
|
||||
@@ -699,6 +699,42 @@ AdbClient::GrantOperatorPermissionOutcomeCallable AdbClient::grantOperatorPermis
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ListTagResourcesOutcome AdbClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListTagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListTagResourcesOutcome(ListTagResourcesResult(outcome.result()));
|
||||
else
|
||||
return ListTagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::listTagResourcesAsync(const ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listTagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::ListTagResourcesOutcomeCallable AdbClient::listTagResourcesCallable(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListTagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listTagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::ModifyAccountDescriptionOutcome AdbClient::modifyAccountDescription(const ModifyAccountDescriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,3 +1023,75 @@ AdbClient::RevokeOperatorPermissionOutcomeCallable AdbClient::revokeOperatorPerm
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::TagResourcesOutcome AdbClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TagResourcesOutcome(TagResourcesResult(outcome.result()));
|
||||
else
|
||||
return TagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::tagResourcesAsync(const TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, tagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::TagResourcesOutcomeCallable AdbClient::tagResourcesCallable(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->tagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AdbClient::UntagResourcesOutcome AdbClient::untagResources(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UntagResourcesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UntagResourcesOutcome(UntagResourcesResult(outcome.result()));
|
||||
else
|
||||
return UntagResourcesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AdbClient::untagResourcesAsync(const UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, untagResources(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AdbClient::UntagResourcesOutcomeCallable AdbClient::untagResourcesCallable(const UntagResourcesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UntagResourcesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->untagResources(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
146
adb/src/model/ListTagResourcesRequest.cc
Normal file
146
adb/src/model/ListTagResourcesRequest.cc
Normal file
@@ -0,0 +1,146 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "ListTagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest()
|
||||
{}
|
||||
|
||||
long ListTagResourcesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setCoreParameter("NextToken", nextToken);
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long ListTagResourcesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
70
adb/src/model/ListTagResourcesResult.cc
Normal file
70
adb/src/model/ListTagResourcesResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/ListTagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListTagResourcesResult::ListTagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListTagResourcesResult::~ListTagResourcesResult()
|
||||
{}
|
||||
|
||||
void ListTagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagResourcesNode = value["TagResources"]["TagResource"];
|
||||
for (auto valueTagResourcesTagResource : allTagResourcesNode)
|
||||
{
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceType"].isNull())
|
||||
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListTagResourcesResult::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesResult::TagResource> ListTagResourcesResult::getTagResources()const
|
||||
{
|
||||
return tagResources_;
|
||||
}
|
||||
|
||||
135
adb/src/model/TagResourcesRequest.cc
Normal file
135
adb/src/model/TagResourcesRequest.cc
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/TagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::TagResourcesRequest;
|
||||
|
||||
TagResourcesRequest::TagResourcesRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "TagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagResourcesRequest::~TagResourcesRequest()
|
||||
{}
|
||||
|
||||
long TagResourcesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::vector<TagResourcesRequest::Tag> TagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= tag.size(); i++) {
|
||||
auto obj = tag.at(i);
|
||||
std::string str ="Tag."+ std::to_string(i);
|
||||
setCoreParameter(str + ".Value", obj.value);
|
||||
setCoreParameter(str + ".Key", obj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> TagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long TagResourcesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string TagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void TagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
44
adb/src/model/TagResourcesResult.cc
Normal file
44
adb/src/model/TagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/TagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
TagResourcesResult::TagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TagResourcesResult::TagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TagResourcesResult::~TagResourcesResult()
|
||||
{}
|
||||
|
||||
void TagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
141
adb/src/model/UntagResourcesRequest.cc
Normal file
141
adb/src/model/UntagResourcesRequest.cc
Normal file
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/UntagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Adb::Model::UntagResourcesRequest;
|
||||
|
||||
UntagResourcesRequest::UntagResourcesRequest() :
|
||||
RpcServiceRequest("adb", "2019-03-15", "UntagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UntagResourcesRequest::~UntagResourcesRequest()
|
||||
{}
|
||||
|
||||
long UntagResourcesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setCoreParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool UntagResourcesRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setCoreParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int i = 0; i!= resourceId.size(); i++)
|
||||
setCoreParameter("ResourceId."+ std::to_string(i), resourceId.at(i));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setCoreParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long UntagResourcesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string UntagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setCoreParameter("ResourceType", resourceType);
|
||||
}
|
||||
|
||||
std::vector<std::string> UntagResourcesRequest::getTagKey()const
|
||||
{
|
||||
return tagKey_;
|
||||
}
|
||||
|
||||
void UntagResourcesRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int i = 0; i!= tagKey.size(); i++)
|
||||
setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i));
|
||||
}
|
||||
|
||||
44
adb/src/model/UntagResourcesResult.cc
Normal file
44
adb/src/model/UntagResourcesResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/adb/model/UntagResourcesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Adb;
|
||||
using namespace AlibabaCloud::Adb::Model;
|
||||
|
||||
UntagResourcesResult::UntagResourcesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UntagResourcesResult::UntagResourcesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UntagResourcesResult::~UntagResourcesResult()
|
||||
{}
|
||||
|
||||
void UntagResourcesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -39,10 +39,6 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/ChangeDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductRequest.h
|
||||
include/alibabacloud/alidns/model/ChangeDomainOfDnsProductResult.h
|
||||
include/alibabacloud/alidns/model/CheckDomainRecordRequest.h
|
||||
include/alibabacloud/alidns/model/CheckDomainRecordResult.h
|
||||
include/alibabacloud/alidns/model/CreateInstanceRequest.h
|
||||
include/alibabacloud/alidns/model/CreateInstanceResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainResult.h
|
||||
include/alibabacloud/alidns/model/DeleteDomainGroupRequest.h
|
||||
@@ -137,8 +133,6 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/OperateBatchDomainResult.h
|
||||
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/PreviewGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/QueryCreateInstancePriceRequest.h
|
||||
include/alibabacloud/alidns/model/QueryCreateInstancePriceResult.h
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanRequest.h
|
||||
include/alibabacloud/alidns/model/RollbackGtmRecoveryPlanResult.h
|
||||
include/alibabacloud/alidns/model/SetDNSSLBStatusRequest.h
|
||||
@@ -155,6 +149,10 @@ set(alidns_public_header_model
|
||||
include/alibabacloud/alidns/model/UpdateDomainGroupResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRecordRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRecordResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRecordRemarkRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRecordRemarkResult.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRemarkRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateDomainRemarkResult.h
|
||||
include/alibabacloud/alidns/model/UpdateGtmAccessStrategyRequest.h
|
||||
include/alibabacloud/alidns/model/UpdateGtmAccessStrategyResult.h
|
||||
include/alibabacloud/alidns/model/UpdateGtmAddressPoolRequest.h
|
||||
@@ -186,10 +184,6 @@ set(alidns_src
|
||||
src/model/ChangeDomainGroupResult.cc
|
||||
src/model/ChangeDomainOfDnsProductRequest.cc
|
||||
src/model/ChangeDomainOfDnsProductResult.cc
|
||||
src/model/CheckDomainRecordRequest.cc
|
||||
src/model/CheckDomainRecordResult.cc
|
||||
src/model/CreateInstanceRequest.cc
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainGroupRequest.cc
|
||||
@@ -284,8 +278,6 @@ set(alidns_src
|
||||
src/model/OperateBatchDomainResult.cc
|
||||
src/model/PreviewGtmRecoveryPlanRequest.cc
|
||||
src/model/PreviewGtmRecoveryPlanResult.cc
|
||||
src/model/QueryCreateInstancePriceRequest.cc
|
||||
src/model/QueryCreateInstancePriceResult.cc
|
||||
src/model/RollbackGtmRecoveryPlanRequest.cc
|
||||
src/model/RollbackGtmRecoveryPlanResult.cc
|
||||
src/model/SetDNSSLBStatusRequest.cc
|
||||
@@ -302,6 +294,10 @@ set(alidns_src
|
||||
src/model/UpdateDomainGroupResult.cc
|
||||
src/model/UpdateDomainRecordRequest.cc
|
||||
src/model/UpdateDomainRecordResult.cc
|
||||
src/model/UpdateDomainRecordRemarkRequest.cc
|
||||
src/model/UpdateDomainRecordRemarkResult.cc
|
||||
src/model/UpdateDomainRemarkRequest.cc
|
||||
src/model/UpdateDomainRemarkResult.cc
|
||||
src/model/UpdateGtmAccessStrategyRequest.cc
|
||||
src/model/UpdateGtmAccessStrategyResult.cc
|
||||
src/model/UpdateGtmAddressPoolRequest.cc
|
||||
|
||||
@@ -40,10 +40,6 @@
|
||||
#include "model/ChangeDomainGroupResult.h"
|
||||
#include "model/ChangeDomainOfDnsProductRequest.h"
|
||||
#include "model/ChangeDomainOfDnsProductResult.h"
|
||||
#include "model/CheckDomainRecordRequest.h"
|
||||
#include "model/CheckDomainRecordResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainGroupRequest.h"
|
||||
@@ -138,8 +134,6 @@
|
||||
#include "model/OperateBatchDomainResult.h"
|
||||
#include "model/PreviewGtmRecoveryPlanRequest.h"
|
||||
#include "model/PreviewGtmRecoveryPlanResult.h"
|
||||
#include "model/QueryCreateInstancePriceRequest.h"
|
||||
#include "model/QueryCreateInstancePriceResult.h"
|
||||
#include "model/RollbackGtmRecoveryPlanRequest.h"
|
||||
#include "model/RollbackGtmRecoveryPlanResult.h"
|
||||
#include "model/SetDNSSLBStatusRequest.h"
|
||||
@@ -156,6 +150,10 @@
|
||||
#include "model/UpdateDomainGroupResult.h"
|
||||
#include "model/UpdateDomainRecordRequest.h"
|
||||
#include "model/UpdateDomainRecordResult.h"
|
||||
#include "model/UpdateDomainRecordRemarkRequest.h"
|
||||
#include "model/UpdateDomainRecordRemarkResult.h"
|
||||
#include "model/UpdateDomainRemarkRequest.h"
|
||||
#include "model/UpdateDomainRemarkResult.h"
|
||||
#include "model/UpdateGtmAccessStrategyRequest.h"
|
||||
#include "model/UpdateGtmAccessStrategyResult.h"
|
||||
#include "model/UpdateGtmAddressPoolRequest.h"
|
||||
@@ -202,12 +200,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ChangeDomainOfDnsProductResult> ChangeDomainOfDnsProductOutcome;
|
||||
typedef std::future<ChangeDomainOfDnsProductOutcome> ChangeDomainOfDnsProductOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::ChangeDomainOfDnsProductRequest&, const ChangeDomainOfDnsProductOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeDomainOfDnsProductAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckDomainRecordResult> CheckDomainRecordOutcome;
|
||||
typedef std::future<CheckDomainRecordOutcome> CheckDomainRecordOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::CheckDomainRecordRequest&, const CheckDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckDomainRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
|
||||
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -349,9 +341,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::PreviewGtmRecoveryPlanResult> PreviewGtmRecoveryPlanOutcome;
|
||||
typedef std::future<PreviewGtmRecoveryPlanOutcome> PreviewGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::PreviewGtmRecoveryPlanRequest&, const PreviewGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreviewGtmRecoveryPlanAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryCreateInstancePriceResult> QueryCreateInstancePriceOutcome;
|
||||
typedef std::future<QueryCreateInstancePriceOutcome> QueryCreateInstancePriceOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::QueryCreateInstancePriceRequest&, const QueryCreateInstancePriceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCreateInstancePriceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RollbackGtmRecoveryPlanResult> RollbackGtmRecoveryPlanOutcome;
|
||||
typedef std::future<RollbackGtmRecoveryPlanOutcome> RollbackGtmRecoveryPlanOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::RollbackGtmRecoveryPlanRequest&, const RollbackGtmRecoveryPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RollbackGtmRecoveryPlanAsyncHandler;
|
||||
@@ -376,6 +365,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateDomainRecordResult> UpdateDomainRecordOutcome;
|
||||
typedef std::future<UpdateDomainRecordOutcome> UpdateDomainRecordOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainRecordRequest&, const UpdateDomainRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDomainRecordRemarkResult> UpdateDomainRecordRemarkOutcome;
|
||||
typedef std::future<UpdateDomainRecordRemarkOutcome> UpdateDomainRecordRemarkOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainRecordRemarkRequest&, const UpdateDomainRecordRemarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainRecordRemarkAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDomainRemarkResult> UpdateDomainRemarkOutcome;
|
||||
typedef std::future<UpdateDomainRemarkOutcome> UpdateDomainRemarkOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateDomainRemarkRequest&, const UpdateDomainRemarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainRemarkAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateGtmAccessStrategyResult> UpdateGtmAccessStrategyOutcome;
|
||||
typedef std::future<UpdateGtmAccessStrategyOutcome> UpdateGtmAccessStrategyOutcomeCallable;
|
||||
typedef std::function<void(const AlidnsClient*, const Model::UpdateGtmAccessStrategyRequest&, const UpdateGtmAccessStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateGtmAccessStrategyAsyncHandler;
|
||||
@@ -423,12 +418,6 @@ namespace AlibabaCloud
|
||||
ChangeDomainOfDnsProductOutcome changeDomainOfDnsProduct(const Model::ChangeDomainOfDnsProductRequest &request)const;
|
||||
void changeDomainOfDnsProductAsync(const Model::ChangeDomainOfDnsProductRequest& request, const ChangeDomainOfDnsProductAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeDomainOfDnsProductOutcomeCallable changeDomainOfDnsProductCallable(const Model::ChangeDomainOfDnsProductRequest& request) const;
|
||||
CheckDomainRecordOutcome checkDomainRecord(const Model::CheckDomainRecordRequest &request)const;
|
||||
void checkDomainRecordAsync(const Model::CheckDomainRecordRequest& request, const CheckDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckDomainRecordOutcomeCallable checkDomainRecordCallable(const Model::CheckDomainRecordRequest& request) const;
|
||||
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
|
||||
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -570,9 +559,6 @@ namespace AlibabaCloud
|
||||
PreviewGtmRecoveryPlanOutcome previewGtmRecoveryPlan(const Model::PreviewGtmRecoveryPlanRequest &request)const;
|
||||
void previewGtmRecoveryPlanAsync(const Model::PreviewGtmRecoveryPlanRequest& request, const PreviewGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreviewGtmRecoveryPlanOutcomeCallable previewGtmRecoveryPlanCallable(const Model::PreviewGtmRecoveryPlanRequest& request) const;
|
||||
QueryCreateInstancePriceOutcome queryCreateInstancePrice(const Model::QueryCreateInstancePriceRequest &request)const;
|
||||
void queryCreateInstancePriceAsync(const Model::QueryCreateInstancePriceRequest& request, const QueryCreateInstancePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryCreateInstancePriceOutcomeCallable queryCreateInstancePriceCallable(const Model::QueryCreateInstancePriceRequest& request) const;
|
||||
RollbackGtmRecoveryPlanOutcome rollbackGtmRecoveryPlan(const Model::RollbackGtmRecoveryPlanRequest &request)const;
|
||||
void rollbackGtmRecoveryPlanAsync(const Model::RollbackGtmRecoveryPlanRequest& request, const RollbackGtmRecoveryPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RollbackGtmRecoveryPlanOutcomeCallable rollbackGtmRecoveryPlanCallable(const Model::RollbackGtmRecoveryPlanRequest& request) const;
|
||||
@@ -597,6 +583,12 @@ namespace AlibabaCloud
|
||||
UpdateDomainRecordOutcome updateDomainRecord(const Model::UpdateDomainRecordRequest &request)const;
|
||||
void updateDomainRecordAsync(const Model::UpdateDomainRecordRequest& request, const UpdateDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainRecordOutcomeCallable updateDomainRecordCallable(const Model::UpdateDomainRecordRequest& request) const;
|
||||
UpdateDomainRecordRemarkOutcome updateDomainRecordRemark(const Model::UpdateDomainRecordRemarkRequest &request)const;
|
||||
void updateDomainRecordRemarkAsync(const Model::UpdateDomainRecordRemarkRequest& request, const UpdateDomainRecordRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainRecordRemarkOutcomeCallable updateDomainRecordRemarkCallable(const Model::UpdateDomainRecordRemarkRequest& request) const;
|
||||
UpdateDomainRemarkOutcome updateDomainRemark(const Model::UpdateDomainRemarkRequest &request)const;
|
||||
void updateDomainRemarkAsync(const Model::UpdateDomainRemarkRequest& request, const UpdateDomainRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainRemarkOutcomeCallable updateDomainRemarkCallable(const Model::UpdateDomainRemarkRequest& request) const;
|
||||
UpdateGtmAccessStrategyOutcome updateGtmAccessStrategy(const Model::UpdateGtmAccessStrategyRequest &request)const;
|
||||
void updateGtmAccessStrategyAsync(const Model::UpdateGtmAccessStrategyRequest& request, const UpdateGtmAccessStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateGtmAccessStrategyOutcomeCallable updateGtmAccessStrategyCallable(const Model::UpdateGtmAccessStrategyRequest& request) const;
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
AddGtmRecoveryPlanRequest();
|
||||
~AddGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getFaultAddrPool()const;
|
||||
void setFaultAddrPool(const std::string& faultAddrPool);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getFaultAddrPool()const;
|
||||
void setFaultAddrPool(const std::string& faultAddrPool);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string faultAddrPool_;
|
||||
std::string remark_;
|
||||
std::string userClientIp_;
|
||||
std::string name_;
|
||||
std::string lang_;
|
||||
std::string faultAddrPool_;
|
||||
std::string remark_;
|
||||
std::string userClientIp_;
|
||||
std::string name_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT CreateInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateInstanceRequest();
|
||||
~CreateInstanceRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
int getMonth()const;
|
||||
void setMonth(int month);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getInstanceVersion()const;
|
||||
void setInstanceVersion(const std::string& instanceVersion);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string token_;
|
||||
int month_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string instanceVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CREATEINSTANCEREQUEST_H_
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
DeleteGtmRecoveryPlanRequest();
|
||||
~DeleteGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
DescribeDomainStatisticsRequest();
|
||||
~DescribeDomainStatisticsRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string domainName_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,41 +35,41 @@ namespace AlibabaCloud
|
||||
DescribeDomainStatisticsSummaryRequest();
|
||||
~DescribeDomainStatisticsSummaryRequest();
|
||||
|
||||
long getThreshold()const;
|
||||
void setThreshold(long threshold);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
void setSearchMode(const std::string& searchMode);
|
||||
long getThreshold()const;
|
||||
void setThreshold(long threshold);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
void setSearchMode(const std::string& searchMode);
|
||||
|
||||
private:
|
||||
long threshold_;
|
||||
std::string startDate_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
std::string direction_;
|
||||
std::string orderBy_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
long threshold_;
|
||||
std::string startDate_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
std::string direction_;
|
||||
std::string orderBy_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,8 +45,14 @@ namespace AlibabaCloud
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyWord()const;
|
||||
void setKeyWord(const std::string& keyWord);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
bool getStarmark()const;
|
||||
void setStarmark(bool starmark);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
@@ -58,7 +64,10 @@ namespace AlibabaCloud
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyWord_;
|
||||
std::string direction_;
|
||||
bool starmark_;
|
||||
std::string groupId_;
|
||||
std::string orderBy_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string instanceId;
|
||||
std::string punyCode;
|
||||
std::vector<std::string> dnsServers;
|
||||
bool starmark;
|
||||
std::string remark;
|
||||
std::string groupId;
|
||||
std::string versionCode;
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeGtmInstanceSystemCnameRequest();
|
||||
~DescribeGtmInstanceSystemCnameRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string instanceId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,7 +36,9 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string cityCode;
|
||||
bool mainland;
|
||||
std::string groupName;
|
||||
std::string ispName;
|
||||
std::string groupType;
|
||||
std::string cityName;
|
||||
std::string ispCode;
|
||||
bool defaultSelected;
|
||||
|
||||
@@ -35,9 +35,11 @@ namespace AlibabaCloud
|
||||
struct IspCityNode
|
||||
{
|
||||
std::string cityCode;
|
||||
std::string ispName;
|
||||
std::string countryName;
|
||||
std::string cityName;
|
||||
std::string countryCode;
|
||||
std::string ispCode;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,14 +35,14 @@ namespace AlibabaCloud
|
||||
DescribeGtmRecoveryPlanAvailableConfigRequest();
|
||||
~DescribeGtmRecoveryPlanAvailableConfigRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeGtmRecoveryPlanRequest();
|
||||
~DescribeGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
DescribeGtmRecoveryPlansRequest();
|
||||
~DescribeGtmRecoveryPlansRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
int pageNumber_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,26 +35,26 @@ namespace AlibabaCloud
|
||||
DescribeRecordStatisticsRequest();
|
||||
~DescribeRecordStatisticsRequest();
|
||||
|
||||
std::string getRr()const;
|
||||
void setRr(const std::string& rr);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getRr()const;
|
||||
void setRr(const std::string& rr);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string rr_;
|
||||
std::string domainName_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string rr_;
|
||||
std::string domainName_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,44 +35,44 @@ namespace AlibabaCloud
|
||||
DescribeRecordStatisticsSummaryRequest();
|
||||
~DescribeRecordStatisticsSummaryRequest();
|
||||
|
||||
long getThreshold()const;
|
||||
void setThreshold(long threshold);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
void setSearchMode(const std::string& searchMode);
|
||||
long getThreshold()const;
|
||||
void setThreshold(long threshold);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getDirection()const;
|
||||
void setDirection(const std::string& direction);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getSearchMode()const;
|
||||
void setSearchMode(const std::string& searchMode);
|
||||
|
||||
private:
|
||||
long threshold_;
|
||||
std::string startDate_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
std::string direction_;
|
||||
std::string domainName_;
|
||||
std::string orderBy_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
long threshold_;
|
||||
std::string startDate_;
|
||||
long pageNumber_;
|
||||
long pageSize_;
|
||||
std::string lang_;
|
||||
std::string keyword_;
|
||||
std::string direction_;
|
||||
std::string domainName_;
|
||||
std::string orderBy_;
|
||||
std::string endDate_;
|
||||
std::string userClientIp_;
|
||||
std::string searchMode_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
ExecuteGtmRecoveryPlanRequest();
|
||||
~ExecuteGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,23 +35,23 @@ namespace AlibabaCloud
|
||||
PreviewGtmRecoveryPlanRequest();
|
||||
~PreviewGtmRecoveryPlanRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
int pageNumber_;
|
||||
std::string userClientIp_;
|
||||
int pageSize_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,17 +35,17 @@ namespace AlibabaCloud
|
||||
RollbackGtmRecoveryPlanRequest();
|
||||
~RollbackGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
std::string userClientIp_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUserClientIp()const;
|
||||
@@ -50,6 +52,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
std::string userClientIp_;
|
||||
std::string subDomain_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICEREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,36 +28,33 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT QueryCreateInstancePriceRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRecordRemarkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryCreateInstancePriceRequest();
|
||||
~QueryCreateInstancePriceRequest();
|
||||
UpdateDomainRecordRemarkRequest();
|
||||
~UpdateDomainRecordRemarkRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getMonth()const;
|
||||
void setMonth(int month);
|
||||
std::string getRecordId()const;
|
||||
void setRecordId(const std::string& recordId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getInstanceVersion()const;
|
||||
void setInstanceVersion(const std::string& instanceVersion);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
int month_;
|
||||
std::string recordId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string instanceVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_QUERYCREATEINSTANCEPRICEREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKREQUEST_H_
|
||||
@@ -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_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alidns/AlidnsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alidns
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRecordRemarkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateDomainRecordRemarkResult();
|
||||
explicit UpdateDomainRecordRemarkResult(const std::string &payload);
|
||||
~UpdateDomainRecordRemarkResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINRECORDREMARKRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,39 +28,33 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT CheckDomainRecordRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRemarkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckDomainRecordRequest();
|
||||
~CheckDomainRecordRequest();
|
||||
UpdateDomainRemarkRequest();
|
||||
~UpdateDomainRemarkRequest();
|
||||
|
||||
std::string getRR()const;
|
||||
void setRR(const std::string& rR);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getValue()const;
|
||||
void setValue(const std::string& value);
|
||||
|
||||
private:
|
||||
std::string rR_;
|
||||
std::string domainName_;
|
||||
std::string type_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
std::string userClientIp_;
|
||||
std::string lang_;
|
||||
std::string value_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKRESULT_H_
|
||||
#define ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT CheckDomainRecordResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIDNS_EXPORT UpdateDomainRemarkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckDomainRecordResult();
|
||||
explicit CheckDomainRecordResult(const std::string &payload);
|
||||
~CheckDomainRecordResult();
|
||||
bool getIsExist()const;
|
||||
UpdateDomainRemarkResult();
|
||||
explicit UpdateDomainRemarkResult(const std::string &payload);
|
||||
~UpdateDomainRemarkResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isExist_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_CHECKDOMAINRECORDRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIDNS_MODEL_UPDATEDOMAINREMARKRESULT_H_
|
||||
@@ -35,26 +35,26 @@ namespace AlibabaCloud
|
||||
UpdateGtmRecoveryPlanRequest();
|
||||
~UpdateGtmRecoveryPlanRequest();
|
||||
|
||||
std::string getFaultAddrPool()const;
|
||||
void setFaultAddrPool(const std::string& faultAddrPool);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getFaultAddrPool()const;
|
||||
void setFaultAddrPool(const std::string& faultAddrPool);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getUserClientIp()const;
|
||||
void setUserClientIp(const std::string& userClientIp);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getRecoveryPlanId()const;
|
||||
void setRecoveryPlanId(long recoveryPlanId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
std::string faultAddrPool_;
|
||||
std::string remark_;
|
||||
std::string userClientIp_;
|
||||
std::string name_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
std::string faultAddrPool_;
|
||||
std::string remark_;
|
||||
std::string userClientIp_;
|
||||
std::string name_;
|
||||
long recoveryPlanId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -375,78 +375,6 @@ AlidnsClient::ChangeDomainOfDnsProductOutcomeCallable AlidnsClient::changeDomain
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::CheckDomainRecordOutcome AlidnsClient::checkDomainRecord(const CheckDomainRecordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckDomainRecordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckDomainRecordOutcome(CheckDomainRecordResult(outcome.result()));
|
||||
else
|
||||
return CheckDomainRecordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::checkDomainRecordAsync(const CheckDomainRecordRequest& request, const CheckDomainRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkDomainRecord(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::CheckDomainRecordOutcomeCallable AlidnsClient::checkDomainRecordCallable(const CheckDomainRecordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckDomainRecordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkDomainRecord(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::CreateInstanceOutcome AlidnsClient::createInstance(const CreateInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateInstanceOutcome(CreateInstanceResult(outcome.result()));
|
||||
else
|
||||
return CreateInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::createInstanceAsync(const CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::CreateInstanceOutcomeCallable AlidnsClient::createInstanceCallable(const CreateInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::DeleteDomainOutcome AlidnsClient::deleteDomain(const DeleteDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2139,42 +2067,6 @@ AlidnsClient::PreviewGtmRecoveryPlanOutcomeCallable AlidnsClient::previewGtmReco
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::QueryCreateInstancePriceOutcome AlidnsClient::queryCreateInstancePrice(const QueryCreateInstancePriceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return QueryCreateInstancePriceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return QueryCreateInstancePriceOutcome(QueryCreateInstancePriceResult(outcome.result()));
|
||||
else
|
||||
return QueryCreateInstancePriceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::queryCreateInstancePriceAsync(const QueryCreateInstancePriceRequest& request, const QueryCreateInstancePriceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, queryCreateInstancePrice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::QueryCreateInstancePriceOutcomeCallable AlidnsClient::queryCreateInstancePriceCallable(const QueryCreateInstancePriceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<QueryCreateInstancePriceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->queryCreateInstancePrice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::RollbackGtmRecoveryPlanOutcome AlidnsClient::rollbackGtmRecoveryPlan(const RollbackGtmRecoveryPlanRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2463,6 +2355,78 @@ AlidnsClient::UpdateDomainRecordOutcomeCallable AlidnsClient::updateDomainRecord
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDomainRecordRemarkOutcome AlidnsClient::updateDomainRecordRemark(const UpdateDomainRecordRemarkRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDomainRecordRemarkOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDomainRecordRemarkOutcome(UpdateDomainRecordRemarkResult(outcome.result()));
|
||||
else
|
||||
return UpdateDomainRecordRemarkOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::updateDomainRecordRemarkAsync(const UpdateDomainRecordRemarkRequest& request, const UpdateDomainRecordRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDomainRecordRemark(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDomainRecordRemarkOutcomeCallable AlidnsClient::updateDomainRecordRemarkCallable(const UpdateDomainRecordRemarkRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDomainRecordRemarkOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDomainRecordRemark(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDomainRemarkOutcome AlidnsClient::updateDomainRemark(const UpdateDomainRemarkRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateDomainRemarkOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateDomainRemarkOutcome(UpdateDomainRemarkResult(outcome.result()));
|
||||
else
|
||||
return UpdateDomainRemarkOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlidnsClient::updateDomainRemarkAsync(const UpdateDomainRemarkRequest& request, const UpdateDomainRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateDomainRemark(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateDomainRemarkOutcomeCallable AlidnsClient::updateDomainRemarkCallable(const UpdateDomainRemarkRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateDomainRemarkOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateDomainRemark(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlidnsClient::UpdateGtmAccessStrategyOutcome AlidnsClient::updateGtmAccessStrategy(const UpdateGtmAccessStrategyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddDomainGroupRequest;
|
||||
|
||||
AddDomainGroupRequest::AddDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainGroup")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainGroupRequest::~AddDomainGroupRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddDomainRecordRequest;
|
||||
|
||||
AddDomainRecordRequest::AddDomainRecordRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomainRecord")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainRecordRequest::~AddDomainRecordRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddDomainRequest;
|
||||
|
||||
AddDomainRequest::AddDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddDomain")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddDomainRequest::~AddDomainRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddGtmAccessStrategyRequest;
|
||||
|
||||
AddGtmAccessStrategyRequest::AddGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmAccessStrategy")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmAccessStrategyRequest::~AddGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddGtmAddressPoolRequest;
|
||||
|
||||
AddGtmAddressPoolRequest::AddGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmAddressPool")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmAddressPoolRequest::~AddGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::AddGtmMonitorRequest;
|
||||
|
||||
AddGtmMonitorRequest::AddGtmMonitorRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmMonitor")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmMonitorRequest::~AddGtmMonitorRequest()
|
||||
{}
|
||||
|
||||
@@ -20,63 +20,65 @@ using AlibabaCloud::Alidns::Model::AddGtmRecoveryPlanRequest;
|
||||
|
||||
AddGtmRecoveryPlanRequest::AddGtmRecoveryPlanRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "AddGtmRecoveryPlan")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddGtmRecoveryPlanRequest::~AddGtmRecoveryPlanRequest()
|
||||
{}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getFaultAddrPool()const
|
||||
{
|
||||
return faultAddrPool_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setFaultAddrPool(const std::string& faultAddrPool)
|
||||
{
|
||||
faultAddrPool_ = faultAddrPool;
|
||||
setCoreParameter("FaultAddrPool", faultAddrPool);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getFaultAddrPool()const
|
||||
{
|
||||
return faultAddrPool_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setFaultAddrPool(const std::string& faultAddrPool)
|
||||
{
|
||||
faultAddrPool_ = faultAddrPool;
|
||||
setCoreParameter("FaultAddrPool", faultAddrPool);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string AddGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void AddGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::ChangeDomainGroupRequest;
|
||||
|
||||
ChangeDomainGroupRequest::ChangeDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainGroup")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeDomainGroupRequest::~ChangeDomainGroupRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::ChangeDomainOfDnsProductRequest;
|
||||
|
||||
ChangeDomainOfDnsProductRequest::ChangeDomainOfDnsProductRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "ChangeDomainOfDnsProduct")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeDomainOfDnsProductRequest::~ChangeDomainOfDnsProductRequest()
|
||||
{}
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CheckDomainRecordRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CheckDomainRecordRequest;
|
||||
|
||||
CheckDomainRecordRequest::CheckDomainRecordRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "CheckDomainRecord")
|
||||
{}
|
||||
|
||||
CheckDomainRecordRequest::~CheckDomainRecordRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDomainRecordRequest::getRR()const
|
||||
{
|
||||
return rR_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setRR(const std::string& rR)
|
||||
{
|
||||
rR_ = rR;
|
||||
setCoreParameter("RR", rR);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CheckDomainRecordRequest::getValue()const
|
||||
{
|
||||
return value_;
|
||||
}
|
||||
|
||||
void CheckDomainRecordRequest::setValue(const std::string& value)
|
||||
{
|
||||
value_ = value;
|
||||
setCoreParameter("Value", value);
|
||||
}
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alidns/model/CreateInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alidns::Model::CreateInstanceRequest;
|
||||
|
||||
CreateInstanceRequest::CreateInstanceRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "CreateInstance")
|
||||
{}
|
||||
|
||||
CreateInstanceRequest::~CreateInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateInstanceRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long CreateInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setCoreParameter("Token", token);
|
||||
}
|
||||
|
||||
int CreateInstanceRequest::getMonth()const
|
||||
{
|
||||
return month_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setMonth(int month)
|
||||
{
|
||||
month_ = month;
|
||||
setCoreParameter("Month", std::to_string(month));
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getInstanceVersion()const
|
||||
{
|
||||
return instanceVersion_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setInstanceVersion(const std::string& instanceVersion)
|
||||
{
|
||||
instanceVersion_ = instanceVersion;
|
||||
setCoreParameter("InstanceVersion", instanceVersion);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteDomainGroupRequest;
|
||||
|
||||
DeleteDomainGroupRequest::DeleteDomainGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainGroup")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainGroupRequest::~DeleteDomainGroupRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteDomainRecordRequest;
|
||||
|
||||
DeleteDomainRecordRequest::DeleteDomainRecordRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomainRecord")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainRecordRequest::~DeleteDomainRecordRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteDomainRequest;
|
||||
|
||||
DeleteDomainRequest::DeleteDomainRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteDomain")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteDomainRequest::~DeleteDomainRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteGtmAccessStrategyRequest;
|
||||
|
||||
DeleteGtmAccessStrategyRequest::DeleteGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAccessStrategy")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmAccessStrategyRequest::~DeleteGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteGtmAddressPoolRequest;
|
||||
|
||||
DeleteGtmAddressPoolRequest::DeleteGtmAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmAddressPool")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmAddressPoolRequest::~DeleteGtmAddressPoolRequest()
|
||||
{}
|
||||
|
||||
@@ -20,41 +20,43 @@ using AlibabaCloud::Alidns::Model::DeleteGtmRecoveryPlanRequest;
|
||||
|
||||
DeleteGtmRecoveryPlanRequest::DeleteGtmRecoveryPlanRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteGtmRecoveryPlan")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteGtmRecoveryPlanRequest::~DeleteGtmRecoveryPlanRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DeleteGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
||||
{
|
||||
return recoveryPlanId_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
||||
{
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setCoreParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
||||
}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DeleteGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
||||
{
|
||||
return recoveryPlanId_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
||||
{
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setCoreParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
||||
}
|
||||
|
||||
std::string DeleteGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DeleteSubDomainRecordsRequest;
|
||||
|
||||
DeleteSubDomainRecordsRequest::DeleteSubDomainRecordsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DeleteSubDomainRecords")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSubDomainRecordsRequest::~DeleteSubDomainRecordsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeBatchResultCountRequest;
|
||||
|
||||
DescribeBatchResultCountRequest::DescribeBatchResultCountRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultCount")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBatchResultCountRequest::~DescribeBatchResultCountRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeBatchResultDetailRequest;
|
||||
|
||||
DescribeBatchResultDetailRequest::DescribeBatchResultDetailRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeBatchResultDetail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeBatchResultDetailRequest::~DescribeBatchResultDetailRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDNSSLBSubDomainsRequest;
|
||||
|
||||
DescribeDNSSLBSubDomainsRequest::DescribeDNSSLBSubDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDNSSLBSubDomains")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDNSSLBSubDomainsRequest::~DescribeDNSSLBSubDomainsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDnsProductInstanceRequest;
|
||||
|
||||
DescribeDnsProductInstanceRequest::DescribeDnsProductInstanceRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstance")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsProductInstanceRequest::~DescribeDnsProductInstanceRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDnsProductInstancesRequest;
|
||||
|
||||
DescribeDnsProductInstancesRequest::DescribeDnsProductInstancesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDnsProductInstances")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDnsProductInstancesRequest::~DescribeDnsProductInstancesRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainGroupsRequest;
|
||||
|
||||
DescribeDomainGroupsRequest::DescribeDomainGroupsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainGroups")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainGroupsRequest::~DescribeDomainGroupsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainInfoRequest;
|
||||
|
||||
DescribeDomainInfoRequest::DescribeDomainInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainInfo")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainInfoRequest::~DescribeDomainInfoRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainLogsRequest;
|
||||
|
||||
DescribeDomainLogsRequest::DescribeDomainLogsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainLogs")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainLogsRequest::~DescribeDomainLogsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainNsRequest;
|
||||
|
||||
DescribeDomainNsRequest::DescribeDomainNsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainNs")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainNsRequest::~DescribeDomainNsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainRecordInfoRequest;
|
||||
|
||||
DescribeDomainRecordInfoRequest::DescribeDomainRecordInfoRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainRecordInfo")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainRecordInfoRequest::~DescribeDomainRecordInfoRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainRecordsRequest;
|
||||
|
||||
DescribeDomainRecordsRequest::DescribeDomainRecordsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainRecords")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainRecordsRequest::~DescribeDomainRecordsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,63 +20,65 @@ using AlibabaCloud::Alidns::Model::DescribeDomainStatisticsRequest;
|
||||
|
||||
DescribeDomainStatisticsRequest::DescribeDomainStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainStatistics")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainStatisticsRequest::~DescribeDomainStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,129 +20,131 @@ using AlibabaCloud::Alidns::Model::DescribeDomainStatisticsSummaryRequest;
|
||||
|
||||
DescribeDomainStatisticsSummaryRequest::DescribeDomainStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomainStatisticsSummary")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainStatisticsSummaryRequest::~DescribeDomainStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setThreshold(long threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setCoreParameter("Threshold", std::to_string(threshold));
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getSearchMode()const
|
||||
{
|
||||
return searchMode_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setSearchMode(const std::string& searchMode)
|
||||
{
|
||||
searchMode_ = searchMode;
|
||||
setCoreParameter("SearchMode", searchMode);
|
||||
}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setThreshold(long threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setCoreParameter("Threshold", std::to_string(threshold));
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeDomainStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeDomainStatisticsSummaryRequest::getSearchMode()const
|
||||
{
|
||||
return searchMode_;
|
||||
}
|
||||
|
||||
void DescribeDomainStatisticsSummaryRequest::setSearchMode(const std::string& searchMode)
|
||||
{
|
||||
searchMode_ = searchMode;
|
||||
setCoreParameter("SearchMode", searchMode);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeDomainsRequest;
|
||||
|
||||
DescribeDomainsRequest::DescribeDomainsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeDomains")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainsRequest::~DescribeDomainsRequest()
|
||||
{}
|
||||
@@ -80,6 +82,28 @@ void DescribeDomainsRequest::setKeyWord(const std::string& keyWord)
|
||||
setCoreParameter("KeyWord", keyWord);
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
}
|
||||
|
||||
bool DescribeDomainsRequest::getStarmark()const
|
||||
{
|
||||
return starmark_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setStarmark(bool starmark)
|
||||
{
|
||||
starmark_ = starmark;
|
||||
setCoreParameter("Starmark", starmark ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
@@ -91,6 +115,17 @@ void DescribeDomainsRequest::setGroupId(const std::string& groupId)
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeDomainsRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeDomainsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
|
||||
@@ -71,6 +71,8 @@ void DescribeDomainsResult::parse(const std::string &payload)
|
||||
domainsObject.instanceEndTime = valueDomainsDomain["InstanceEndTime"].asString();
|
||||
if(!valueDomainsDomain["InstanceExpired"].isNull())
|
||||
domainsObject.instanceExpired = valueDomainsDomain["InstanceExpired"].asString() == "true";
|
||||
if(!valueDomainsDomain["Starmark"].isNull())
|
||||
domainsObject.starmark = valueDomainsDomain["Starmark"].asString() == "true";
|
||||
auto allDnsServers = value["DnsServers"]["DnsServer"];
|
||||
for (auto value : allDnsServers)
|
||||
domainsObject.dnsServers.push_back(value.asString());
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategiesRequest;
|
||||
|
||||
DescribeGtmAccessStrategiesRequest::DescribeGtmAccessStrategiesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategies")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmAccessStrategiesRequest::~DescribeGtmAccessStrategiesRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategyAvailableConfigReque
|
||||
|
||||
DescribeGtmAccessStrategyAvailableConfigRequest::DescribeGtmAccessStrategyAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategyAvailableConfig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmAccessStrategyAvailableConfigRequest::~DescribeGtmAccessStrategyAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmAccessStrategyRequest;
|
||||
|
||||
DescribeGtmAccessStrategyRequest::DescribeGtmAccessStrategyRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAccessStrategy")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmAccessStrategyRequest::~DescribeGtmAccessStrategyRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmAvailableAlertGroupRequest;
|
||||
|
||||
DescribeGtmAvailableAlertGroupRequest::DescribeGtmAvailableAlertGroupRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmAvailableAlertGroup")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmAvailableAlertGroupRequest::~DescribeGtmAvailableAlertGroupRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstanceAddressPoolRequest;
|
||||
|
||||
DescribeGtmInstanceAddressPoolRequest::DescribeGtmInstanceAddressPoolRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceAddressPool")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstanceAddressPoolRequest::~DescribeGtmInstanceAddressPoolRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstanceAddressPoolsRequest;
|
||||
|
||||
DescribeGtmInstanceAddressPoolsRequest::DescribeGtmInstanceAddressPoolsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceAddressPools")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstanceAddressPoolsRequest::~DescribeGtmInstanceAddressPoolsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstanceRequest;
|
||||
|
||||
DescribeGtmInstanceRequest::DescribeGtmInstanceRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstance")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstanceRequest::~DescribeGtmInstanceRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstanceStatusRequest;
|
||||
|
||||
DescribeGtmInstanceStatusRequest::DescribeGtmInstanceStatusRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceStatus")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstanceStatusRequest::~DescribeGtmInstanceStatusRequest()
|
||||
{}
|
||||
|
||||
@@ -20,41 +20,43 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstanceSystemCnameRequest;
|
||||
|
||||
DescribeGtmInstanceSystemCnameRequest::DescribeGtmInstanceSystemCnameRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstanceSystemCname")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstanceSystemCnameRequest::~DescribeGtmInstanceSystemCnameRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeGtmInstanceSystemCnameRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmInstanceSystemCnameRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmInstancesRequest;
|
||||
|
||||
DescribeGtmInstancesRequest::DescribeGtmInstancesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmInstances")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmInstancesRequest::~DescribeGtmInstancesRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmLogsRequest;
|
||||
|
||||
DescribeGtmLogsRequest::DescribeGtmLogsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmLogs")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmLogsRequest::~DescribeGtmLogsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmMonitorAvailableConfigRequest;
|
||||
|
||||
DescribeGtmMonitorAvailableConfigRequest::DescribeGtmMonitorAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmMonitorAvailableConfig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmMonitorAvailableConfigRequest::~DescribeGtmMonitorAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
@@ -55,6 +55,10 @@ void DescribeGtmMonitorAvailableConfigResult::parse(const std::string &payload)
|
||||
ispCityNodesObject.defaultSelected = valueIspCityNodesIspCityNode["DefaultSelected"].asString() == "true";
|
||||
if(!valueIspCityNodesIspCityNode["Mainland"].isNull())
|
||||
ispCityNodesObject.mainland = valueIspCityNodesIspCityNode["Mainland"].asString() == "true";
|
||||
if(!valueIspCityNodesIspCityNode["GroupType"].isNull())
|
||||
ispCityNodesObject.groupType = valueIspCityNodesIspCityNode["GroupType"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["GroupName"].isNull())
|
||||
ispCityNodesObject.groupName = valueIspCityNodesIspCityNode["GroupName"].asString();
|
||||
ispCityNodes_.push_back(ispCityNodesObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeGtmMonitorConfigRequest;
|
||||
|
||||
DescribeGtmMonitorConfigRequest::DescribeGtmMonitorConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmMonitorConfig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmMonitorConfigRequest::~DescribeGtmMonitorConfigRequest()
|
||||
{}
|
||||
|
||||
@@ -51,6 +51,10 @@ void DescribeGtmMonitorConfigResult::parse(const std::string &payload)
|
||||
ispCityNodesObject.cityName = valueIspCityNodesIspCityNode["CityName"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["CityCode"].isNull())
|
||||
ispCityNodesObject.cityCode = valueIspCityNodesIspCityNode["CityCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["IspCode"].isNull())
|
||||
ispCityNodesObject.ispCode = valueIspCityNodesIspCityNode["IspCode"].asString();
|
||||
if(!valueIspCityNodesIspCityNode["IspName"].isNull())
|
||||
ispCityNodesObject.ispName = valueIspCityNodesIspCityNode["IspName"].asString();
|
||||
ispCityNodes_.push_back(ispCityNodesObject);
|
||||
}
|
||||
if(!value["MonitorConfigId"].isNull())
|
||||
|
||||
@@ -20,30 +20,32 @@ using AlibabaCloud::Alidns::Model::DescribeGtmRecoveryPlanAvailableConfigRequest
|
||||
|
||||
DescribeGtmRecoveryPlanAvailableConfigRequest::DescribeGtmRecoveryPlanAvailableConfigRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmRecoveryPlanAvailableConfig")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmRecoveryPlanAvailableConfigRequest::~DescribeGtmRecoveryPlanAvailableConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanAvailableConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanAvailableConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanAvailableConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanAvailableConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanAvailableConfigRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanAvailableConfigRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanAvailableConfigRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanAvailableConfigRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,41 +20,43 @@ using AlibabaCloud::Alidns::Model::DescribeGtmRecoveryPlanRequest;
|
||||
|
||||
DescribeGtmRecoveryPlanRequest::DescribeGtmRecoveryPlanRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmRecoveryPlan")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmRecoveryPlanRequest::~DescribeGtmRecoveryPlanRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
||||
{
|
||||
return recoveryPlanId_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
||||
{
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setCoreParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
long DescribeGtmRecoveryPlanRequest::getRecoveryPlanId()const
|
||||
{
|
||||
return recoveryPlanId_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setRecoveryPlanId(long recoveryPlanId)
|
||||
{
|
||||
recoveryPlanId_ = recoveryPlanId;
|
||||
setCoreParameter("RecoveryPlanId", std::to_string(recoveryPlanId));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlanRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlanRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,63 +20,65 @@ using AlibabaCloud::Alidns::Model::DescribeGtmRecoveryPlansRequest;
|
||||
|
||||
DescribeGtmRecoveryPlansRequest::DescribeGtmRecoveryPlansRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeGtmRecoveryPlans")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeGtmRecoveryPlansRequest::~DescribeGtmRecoveryPlansRequest()
|
||||
{}
|
||||
|
||||
int DescribeGtmRecoveryPlansRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int DescribeGtmRecoveryPlansRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
int DescribeGtmRecoveryPlansRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
int DescribeGtmRecoveryPlansRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeGtmRecoveryPlansRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeGtmRecoveryPlansRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeRecordLogsRequest;
|
||||
|
||||
DescribeRecordLogsRequest::DescribeRecordLogsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeRecordLogs")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRecordLogsRequest::~DescribeRecordLogsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,74 +20,76 @@ using AlibabaCloud::Alidns::Model::DescribeRecordStatisticsRequest;
|
||||
|
||||
DescribeRecordStatisticsRequest::DescribeRecordStatisticsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeRecordStatistics")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRecordStatisticsRequest::~DescribeRecordStatisticsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getRr()const
|
||||
{
|
||||
return rr_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setRr(const std::string& rr)
|
||||
{
|
||||
rr_ = rr;
|
||||
setCoreParameter("Rr", rr);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getRr()const
|
||||
{
|
||||
return rr_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setRr(const std::string& rr)
|
||||
{
|
||||
rr_ = rr;
|
||||
setCoreParameter("Rr", rr);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,140 +20,142 @@ using AlibabaCloud::Alidns::Model::DescribeRecordStatisticsSummaryRequest;
|
||||
|
||||
DescribeRecordStatisticsSummaryRequest::DescribeRecordStatisticsSummaryRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeRecordStatisticsSummary")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeRecordStatisticsSummaryRequest::~DescribeRecordStatisticsSummaryRequest()
|
||||
{}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setThreshold(long threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setCoreParameter("Threshold", std::to_string(threshold));
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getSearchMode()const
|
||||
{
|
||||
return searchMode_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setSearchMode(const std::string& searchMode)
|
||||
{
|
||||
searchMode_ = searchMode;
|
||||
setCoreParameter("SearchMode", searchMode);
|
||||
}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getThreshold()const
|
||||
{
|
||||
return threshold_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setThreshold(long threshold)
|
||||
{
|
||||
threshold_ = threshold;
|
||||
setCoreParameter("Threshold", std::to_string(threshold));
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getStartDate()const
|
||||
{
|
||||
return startDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setStartDate(const std::string& startDate)
|
||||
{
|
||||
startDate_ = startDate;
|
||||
setCoreParameter("StartDate", startDate);
|
||||
}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
long DescribeRecordStatisticsSummaryRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getDirection()const
|
||||
{
|
||||
return direction_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setCoreParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getEndDate()const
|
||||
{
|
||||
return endDate_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setEndDate(const std::string& endDate)
|
||||
{
|
||||
endDate_ = endDate;
|
||||
setCoreParameter("EndDate", endDate);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getUserClientIp()const
|
||||
{
|
||||
return userClientIp_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setUserClientIp(const std::string& userClientIp)
|
||||
{
|
||||
userClientIp_ = userClientIp;
|
||||
setCoreParameter("UserClientIp", userClientIp);
|
||||
}
|
||||
|
||||
std::string DescribeRecordStatisticsSummaryRequest::getSearchMode()const
|
||||
{
|
||||
return searchMode_;
|
||||
}
|
||||
|
||||
void DescribeRecordStatisticsSummaryRequest::setSearchMode(const std::string& searchMode)
|
||||
{
|
||||
searchMode_ = searchMode;
|
||||
setCoreParameter("SearchMode", searchMode);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeSubDomainRecordsRequest;
|
||||
|
||||
DescribeSubDomainRecordsRequest::DescribeSubDomainRecordsRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeSubDomainRecords")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSubDomainRecordsRequest::~DescribeSubDomainRecordsRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::Alidns::Model::DescribeSupportLinesRequest;
|
||||
|
||||
DescribeSupportLinesRequest::DescribeSupportLinesRequest() :
|
||||
RpcServiceRequest("alidns", "2015-01-09", "DescribeSupportLines")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSupportLinesRequest::~DescribeSupportLinesRequest()
|
||||
{}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user