From ac0162b3c7709393c3bdd9c1e96fc7e8c6696b08 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 14 Jan 2022 07:26:15 +0000 Subject: [PATCH] Supported more query conditions when searching resource group. --- CHANGELOG | 3 + VERSION | 2 +- .../model/AcceptHandshakeRequest.h | 68 +++++---- .../model/AttachControlPolicyRequest.h | 74 +++++----- .../model/AttachPolicyRequest.h | 92 ++++++------- .../model/BindSecureMobilePhoneRequest.h | 80 +++++------ .../model/CancelCreateCloudAccountRequest.h | 68 +++++---- .../model/CancelHandshakeRequest.h | 68 +++++---- .../CancelPromoteResourceAccountRequest.h | 68 +++++---- .../model/CreateCloudAccountRequest.h | 86 ++++++------ .../model/CreateControlPolicyRequest.h | 86 ++++++------ .../model/CreateFolderRequest.h | 74 +++++----- .../model/CreatePolicyRequest.h | 80 +++++------ .../model/CreatePolicyResult.h | 2 +- .../model/CreatePolicyVersionRequest.h | 80 +++++------ .../model/CreateResourceAccountRequest.h | 86 ++++++------ .../model/CreateResourceGroupRequest.h | 74 +++++----- .../resourcemanager/model/CreateRoleRequest.h | 86 ++++++------ .../resourcemanager/model/CreateRoleResult.h | 2 +- .../model/CreateServiceLinkedRoleRequest.h | 80 +++++------ .../model/CreateServiceLinkedRoleResult.h | 4 +- .../model/DeclineHandshakeRequest.h | 68 +++++---- .../model/DeleteControlPolicyRequest.h | 68 +++++---- .../model/DeleteFolderRequest.h | 68 +++++---- .../model/DeletePolicyRequest.h | 68 +++++---- .../model/DeletePolicyVersionRequest.h | 74 +++++----- .../model/DeleteResourceGroupRequest.h | 68 +++++---- .../resourcemanager/model/DeleteRoleRequest.h | 68 +++++---- .../model/DeleteServiceLinkedRoleRequest.h | 68 +++++---- .../DeregisterDelegatedAdministratorRequest.h | 74 +++++----- .../model/DestroyResourceDirectoryRequest.h | 62 ++++----- .../model/DetachControlPolicyRequest.h | 74 +++++----- .../model/DetachPolicyRequest.h | 92 ++++++------- .../model/DisableControlPolicyRequest.h | 62 ++++----- .../model/EnableControlPolicyRequest.h | 62 ++++----- .../model/EnableResourceDirectoryRequest.h | 86 ++++++------ .../resourcemanager/model/GetAccountRequest.h | 68 +++++---- .../GetControlPolicyEnablementStatusRequest.h | 62 ++++----- .../model/GetControlPolicyRequest.h | 74 +++++----- .../resourcemanager/model/GetFolderRequest.h | 68 +++++---- .../model/GetHandshakeRequest.h | 68 +++++---- .../model/GetPayerForAccountRequest.h | 68 +++++---- .../resourcemanager/model/GetPolicyRequest.h | 80 +++++------ .../resourcemanager/model/GetPolicyResult.h | 4 +- .../model/GetPolicyVersionRequest.h | 80 +++++------ .../model/GetResourceDirectoryRequest.h | 62 ++++----- .../model/GetResourceGroupRequest.h | 68 +++++---- .../resourcemanager/model/GetRoleRequest.h | 74 +++++----- .../resourcemanager/model/GetRoleResult.h | 8 +- ...etServiceLinkedRoleDeletionStatusRequest.h | 68 +++++---- .../model/InitResourceDirectoryRequest.h | 62 ++++----- .../InviteAccountToResourceDirectoryRequest.h | 80 +++++------ .../model/ListAccountsForParentRequest.h | 86 ++++++------ .../model/ListAccountsRequest.h | 74 +++++----- .../model/ListAncestorsRequest.h | 68 +++++---- .../model/ListControlPoliciesRequest.h | 86 ++++++------ ...ControlPolicyAttachmentsForTargetRequest.h | 74 +++++----- .../ListDelegatedAdministratorsRequest.h | 80 +++++------ .../ListDelegatedServicesForAccountRequest.h | 68 +++++---- .../model/ListFoldersForParentRequest.h | 86 ++++++------ .../model/ListHandshakesForAccountRequest.h | 74 +++++----- ...istHandshakesForResourceDirectoryRequest.h | 74 +++++----- .../model/ListPoliciesRequest.h | 86 ++++++------ .../model/ListPoliciesResult.h | 4 +- .../model/ListPolicyAttachmentsRequest.h | 110 +++++++-------- .../model/ListPolicyVersionsRequest.h | 74 +++++----- .../model/ListResourceGroupsRequest.h | 98 +++++++------ .../model/ListResourcesRequest.h | 110 +++++++-------- .../resourcemanager/model/ListRolesRequest.h | 80 +++++------ .../resourcemanager/model/ListRolesResult.h | 8 +- ...TargetAttachmentsForControlPolicyRequest.h | 80 +++++------ .../model/ListTrustedServiceStatusRequest.h | 80 +++++------ .../model/MoveAccountRequest.h | 74 +++++----- .../model/MoveResourcesRequest.h | 80 +++++------ .../model/PromoteResourceAccountRequest.h | 74 +++++----- .../RegisterDelegatedAdministratorRequest.h | 74 +++++----- .../model/RemoveCloudAccountRequest.h | 68 +++++---- .../ResendCreateCloudAccountEmailRequest.h | 68 +++++---- ...ResendPromoteResourceAccountEmailRequest.h | 68 +++++---- ...ationCodeForBindSecureMobilePhoneRequest.h | 74 +++++----- .../SendVerificationCodeForEnableRDRequest.h | 68 +++++---- .../model/SetDefaultPolicyVersionRequest.h | 74 +++++----- .../model/UpdateAccountRequest.h | 80 +++++------ .../model/UpdateControlPolicyRequest.h | 86 ++++++------ .../model/UpdateFolderRequest.h | 74 +++++----- .../model/UpdateResourceGroupRequest.h | 74 +++++----- .../resourcemanager/model/UpdateRoleRequest.h | 86 ++++++------ .../resourcemanager/model/UpdateRoleResult.h | 4 +- .../src/model/AcceptHandshakeRequest.cc | 46 +++---- .../src/model/AttachControlPolicyRequest.cc | 58 ++++---- .../src/model/AttachPolicyRequest.cc | 94 ++++++------- .../src/model/BindSecureMobilePhoneRequest.cc | 70 +++++----- .../model/CancelCreateCloudAccountRequest.cc | 46 +++---- .../src/model/CancelHandshakeRequest.cc | 46 +++---- .../CancelPromoteResourceAccountRequest.cc | 46 +++---- .../src/model/CreateCloudAccountRequest.cc | 82 +++++------ .../src/model/CreateControlPolicyRequest.cc | 82 +++++------ .../src/model/CreateFolderRequest.cc | 58 ++++---- .../src/model/CreatePolicyRequest.cc | 70 +++++----- .../src/model/CreatePolicyResult.cc | 8 +- .../src/model/CreatePolicyVersionRequest.cc | 70 +++++----- .../src/model/CreatePolicyVersionResult.cc | 4 +- .../src/model/CreateResourceAccountRequest.cc | 82 +++++------ .../src/model/CreateResourceGroupRequest.cc | 58 ++++---- .../src/model/CreateResourceGroupResult.cc | 12 +- .../src/model/CreateRoleRequest.cc | 82 +++++------ resourcemanager/src/model/CreateRoleResult.cc | 16 +-- .../model/CreateServiceLinkedRoleRequest.cc | 70 +++++----- .../model/CreateServiceLinkedRoleResult.cc | 20 +-- .../src/model/DeclineHandshakeRequest.cc | 46 +++---- .../src/model/DeleteControlPolicyRequest.cc | 46 +++---- .../src/model/DeleteFolderRequest.cc | 46 +++---- .../src/model/DeletePolicyRequest.cc | 46 +++---- .../src/model/DeletePolicyVersionRequest.cc | 58 ++++---- .../src/model/DeleteResourceGroupRequest.cc | 46 +++---- .../src/model/DeleteResourceGroupResult.cc | 12 +- .../src/model/DeleteRoleRequest.cc | 46 +++---- .../model/DeleteServiceLinkedRoleRequest.cc | 46 +++---- ...DeregisterDelegatedAdministratorRequest.cc | 58 ++++---- .../model/DestroyResourceDirectoryRequest.cc | 34 +++-- .../src/model/DetachControlPolicyRequest.cc | 58 ++++---- .../src/model/DetachPolicyRequest.cc | 94 ++++++------- .../src/model/DisableControlPolicyRequest.cc | 34 +++-- .../src/model/EnableControlPolicyRequest.cc | 34 +++-- .../model/EnableResourceDirectoryRequest.cc | 82 +++++------ .../src/model/GetAccountRequest.cc | 46 +++---- ...GetControlPolicyEnablementStatusRequest.cc | 34 +++-- .../src/model/GetControlPolicyRequest.cc | 58 ++++---- resourcemanager/src/model/GetFolderRequest.cc | 46 +++---- .../src/model/GetHandshakeRequest.cc | 46 +++---- .../src/model/GetPayerForAccountRequest.cc | 46 +++---- resourcemanager/src/model/GetPolicyRequest.cc | 70 +++++----- resourcemanager/src/model/GetPolicyResult.cc | 12 +- .../src/model/GetPolicyVersionRequest.cc | 70 +++++----- .../src/model/GetPolicyVersionResult.cc | 4 +- .../src/model/GetResourceDirectoryRequest.cc | 34 +++-- .../src/model/GetResourceGroupRequest.cc | 46 +++---- .../src/model/GetResourceGroupResult.cc | 12 +- resourcemanager/src/model/GetRoleRequest.cc | 58 ++++---- resourcemanager/src/model/GetRoleResult.cc | 36 ++--- ...tServiceLinkedRoleDeletionStatusRequest.cc | 46 +++---- .../src/model/InitResourceDirectoryRequest.cc | 34 +++-- ...InviteAccountToResourceDirectoryRequest.cc | 70 +++++----- .../src/model/ListAccountsForParentRequest.cc | 82 +++++------ .../src/model/ListAccountsRequest.cc | 58 ++++---- .../src/model/ListAncestorsRequest.cc | 46 +++---- .../src/model/ListControlPoliciesRequest.cc | 82 +++++------ ...ontrolPolicyAttachmentsForTargetRequest.cc | 58 ++++---- .../ListDelegatedAdministratorsRequest.cc | 70 +++++----- .../ListDelegatedServicesForAccountRequest.cc | 46 +++---- .../src/model/ListFoldersForParentRequest.cc | 82 +++++------ .../model/ListHandshakesForAccountRequest.cc | 58 ++++---- ...stHandshakesForResourceDirectoryRequest.cc | 58 ++++---- .../src/model/ListPoliciesRequest.cc | 82 +++++------ .../src/model/ListPoliciesResult.cc | 12 +- .../src/model/ListPolicyAttachmentsRequest.cc | 130 ++++++++---------- .../src/model/ListPolicyAttachmentsResult.cc | 8 +- .../src/model/ListPolicyVersionsRequest.cc | 58 ++++---- .../src/model/ListPolicyVersionsResult.cc | 4 +- .../src/model/ListResourceGroupsRequest.cc | 106 +++++++------- .../src/model/ListResourcesRequest.cc | 130 ++++++++---------- resourcemanager/src/model/ListRolesRequest.cc | 70 +++++----- resourcemanager/src/model/ListRolesResult.cc | 36 ++--- ...argetAttachmentsForControlPolicyRequest.cc | 70 +++++----- .../model/ListTrustedServiceStatusRequest.cc | 70 +++++----- .../src/model/MoveAccountRequest.cc | 58 ++++---- .../src/model/MoveResourcesRequest.cc | 63 +++++---- .../model/PromoteResourceAccountRequest.cc | 58 ++++---- .../RegisterDelegatedAdministratorRequest.cc | 58 ++++---- .../src/model/RemoveCloudAccountRequest.cc | 46 +++---- .../ResendCreateCloudAccountEmailRequest.cc | 46 +++---- ...esendPromoteResourceAccountEmailRequest.cc | 46 +++---- ...tionCodeForBindSecureMobilePhoneRequest.cc | 58 ++++---- .../SendVerificationCodeForEnableRDRequest.cc | 46 +++---- .../model/SetDefaultPolicyVersionRequest.cc | 58 ++++---- .../src/model/UpdateAccountRequest.cc | 70 +++++----- .../src/model/UpdateControlPolicyRequest.cc | 82 +++++------ .../src/model/UpdateFolderRequest.cc | 58 ++++---- .../src/model/UpdateResourceGroupRequest.cc | 58 ++++---- .../src/model/UpdateResourceGroupResult.cc | 12 +- .../src/model/UpdateRoleRequest.cc | 82 +++++------ resourcemanager/src/model/UpdateRoleResult.cc | 28 ++-- 182 files changed, 4999 insertions(+), 5963 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ca256701c..400fd8f06 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-01-14 Version: 1.36.1028 +- Supported more query conditions when searching resource group. + 2022-01-14 Version: 1.36.1027 - Supported more query conditions when searching resource group. diff --git a/VERSION b/VERSION index 1f77e77f1..35020109b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1027 \ No newline at end of file +1.36.1028 \ No newline at end of file diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/AcceptHandshakeRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/AcceptHandshakeRequest.h index 6896eafdd..43beea41a 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/AcceptHandshakeRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/AcceptHandshakeRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AcceptHandshakeRequest : public RpcServiceRequest - { - - public: - AcceptHandshakeRequest(); - ~AcceptHandshakeRequest(); - - std::string getHandshakeId()const; - void setHandshakeId(const std::string& handshakeId); - - private: - std::string handshakeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AcceptHandshakeRequest : public RpcServiceRequest { +public: + AcceptHandshakeRequest(); + ~AcceptHandshakeRequest(); + std::string getHandshakeId() const; + void setHandshakeId(const std::string &handshakeId); + +private: + std::string handshakeId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ACCEPTHANDSHAKEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/AttachControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/AttachControlPolicyRequest.h index abd661424..9cba2cfa1 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/AttachControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/AttachControlPolicyRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AttachControlPolicyRequest : public RpcServiceRequest - { - - public: - AttachControlPolicyRequest(); - ~AttachControlPolicyRequest(); - - std::string getTargetId()const; - void setTargetId(const std::string& targetId); - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - - private: - std::string targetId_; - std::string policyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AttachControlPolicyRequest : public RpcServiceRequest { +public: + AttachControlPolicyRequest(); + ~AttachControlPolicyRequest(); + std::string getTargetId() const; + void setTargetId(const std::string &targetId); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + +private: + std::string targetId_; + std::string policyId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHCONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/AttachPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/AttachPolicyRequest.h index 2fe800896..f0454d4b8 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/AttachPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/AttachPolicyRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AttachPolicyRequest : public RpcServiceRequest - { - - public: - AttachPolicyRequest(); - ~AttachPolicyRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getPrincipalType()const; - void setPrincipalType(const std::string& principalType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPrincipalName()const; - void setPrincipalName(const std::string& principalName); - - private: - std::string policyType_; - std::string principalType_; - std::string resourceGroupId_; - std::string policyName_; - std::string principalName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT AttachPolicyRequest : public RpcServiceRequest { +public: + AttachPolicyRequest(); + ~AttachPolicyRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getPrincipalType() const; + void setPrincipalType(const std::string &principalType); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPrincipalName() const; + void setPrincipalName(const std::string &principalName); + +private: + std::string policyType_; + std::string principalType_; + std::string resourceGroupId_; + std::string policyName_; + std::string principalName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ATTACHPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/BindSecureMobilePhoneRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/BindSecureMobilePhoneRequest.h index 40e66096b..f4899dc49 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/BindSecureMobilePhoneRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/BindSecureMobilePhoneRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT BindSecureMobilePhoneRequest : public RpcServiceRequest - { - - public: - BindSecureMobilePhoneRequest(); - ~BindSecureMobilePhoneRequest(); - - std::string getSecureMobilePhone()const; - void setSecureMobilePhone(const std::string& secureMobilePhone); - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - std::string getVerificationCode()const; - void setVerificationCode(const std::string& verificationCode); - - private: - std::string secureMobilePhone_; - std::string accountId_; - std::string verificationCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT BindSecureMobilePhoneRequest : public RpcServiceRequest { +public: + BindSecureMobilePhoneRequest(); + ~BindSecureMobilePhoneRequest(); + std::string getSecureMobilePhone() const; + void setSecureMobilePhone(const std::string &secureMobilePhone); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getVerificationCode() const; + void setVerificationCode(const std::string &verificationCode); + +private: + std::string secureMobilePhone_; + std::string accountId_; + std::string verificationCode_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_BINDSECUREMOBILEPHONEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelCreateCloudAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelCreateCloudAccountRequest.h index d6350b1b1..43be68953 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelCreateCloudAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelCreateCloudAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelCreateCloudAccountRequest : public RpcServiceRequest - { - - public: - CancelCreateCloudAccountRequest(); - ~CancelCreateCloudAccountRequest(); - - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelCreateCloudAccountRequest : public RpcServiceRequest { +public: + CancelCreateCloudAccountRequest(); + ~CancelCreateCloudAccountRequest(); + std::string getRecordId() const; + void setRecordId(const std::string &recordId); + +private: + std::string recordId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELCREATECLOUDACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelHandshakeRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelHandshakeRequest.h index 2e996c1f7..e75f1b64b 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelHandshakeRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelHandshakeRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelHandshakeRequest : public RpcServiceRequest - { - - public: - CancelHandshakeRequest(); - ~CancelHandshakeRequest(); - - std::string getHandshakeId()const; - void setHandshakeId(const std::string& handshakeId); - - private: - std::string handshakeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelHandshakeRequest : public RpcServiceRequest { +public: + CancelHandshakeRequest(); + ~CancelHandshakeRequest(); + std::string getHandshakeId() const; + void setHandshakeId(const std::string &handshakeId); + +private: + std::string handshakeId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELHANDSHAKEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelPromoteResourceAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelPromoteResourceAccountRequest.h index ffbcab01f..9309e6a89 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CancelPromoteResourceAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CancelPromoteResourceAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelPromoteResourceAccountRequest : public RpcServiceRequest - { - - public: - CancelPromoteResourceAccountRequest(); - ~CancelPromoteResourceAccountRequest(); - - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CancelPromoteResourceAccountRequest : public RpcServiceRequest { +public: + CancelPromoteResourceAccountRequest(); + ~CancelPromoteResourceAccountRequest(); + std::string getRecordId() const; + void setRecordId(const std::string &recordId); + +private: + std::string recordId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CANCELPROMOTERESOURCEACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateCloudAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateCloudAccountRequest.h index 6a7fe3546..137ecde43 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateCloudAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateCloudAccountRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateCloudAccountRequest : public RpcServiceRequest - { - - public: - CreateCloudAccountRequest(); - ~CreateCloudAccountRequest(); - - std::string getParentFolderId()const; - void setParentFolderId(const std::string& parentFolderId); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - std::string getEmail()const; - void setEmail(const std::string& email); - std::string getPayerAccountId()const; - void setPayerAccountId(const std::string& payerAccountId); - - private: - std::string parentFolderId_; - std::string displayName_; - std::string email_; - std::string payerAccountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateCloudAccountRequest : public RpcServiceRequest { +public: + CreateCloudAccountRequest(); + ~CreateCloudAccountRequest(); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + std::string getEmail() const; + void setEmail(const std::string &email); + std::string getPayerAccountId() const; + void setPayerAccountId(const std::string &payerAccountId); + +private: + std::string parentFolderId_; + std::string displayName_; + std::string email_; + std::string payerAccountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECLOUDACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateControlPolicyRequest.h index f39518470..c9ac25b97 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateControlPolicyRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateControlPolicyRequest : public RpcServiceRequest - { - - public: - CreateControlPolicyRequest(); - ~CreateControlPolicyRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getEffectScope()const; - void setEffectScope(const std::string& effectScope); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPolicyDocument()const; - void setPolicyDocument(const std::string& policyDocument); - - private: - std::string description_; - std::string effectScope_; - std::string policyName_; - std::string policyDocument_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateControlPolicyRequest : public RpcServiceRequest { +public: + CreateControlPolicyRequest(); + ~CreateControlPolicyRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getEffectScope() const; + void setEffectScope(const std::string &effectScope); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPolicyDocument() const; + void setPolicyDocument(const std::string &policyDocument); + +private: + std::string description_; + std::string effectScope_; + std::string policyName_; + std::string policyDocument_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATECONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateFolderRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateFolderRequest.h index 1798218e4..8ca21885c 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateFolderRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateFolderRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateFolderRequest : public RpcServiceRequest - { - - public: - CreateFolderRequest(); - ~CreateFolderRequest(); - - std::string getFolderName()const; - void setFolderName(const std::string& folderName); - std::string getParentFolderId()const; - void setParentFolderId(const std::string& parentFolderId); - - private: - std::string folderName_; - std::string parentFolderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateFolderRequest : public RpcServiceRequest { +public: + CreateFolderRequest(); + ~CreateFolderRequest(); + std::string getFolderName() const; + void setFolderName(const std::string &folderName); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + +private: + std::string folderName_; + std::string parentFolderId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEFOLDERREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyRequest.h index a918c672e..2d683b110 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreatePolicyRequest : public RpcServiceRequest - { - - public: - CreatePolicyRequest(); - ~CreatePolicyRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPolicyDocument()const; - void setPolicyDocument(const std::string& policyDocument); - - private: - std::string description_; - std::string policyName_; - std::string policyDocument_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreatePolicyRequest : public RpcServiceRequest { +public: + CreatePolicyRequest(); + ~CreatePolicyRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPolicyDocument() const; + void setPolicyDocument(const std::string &policyDocument); + +private: + std::string description_; + std::string policyName_; + std::string policyDocument_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyResult.h index 777016791..ec0e11808 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string policyType; std::string description; - std::string policyName; std::string defaultVersion; + std::string policyName; std::string createDate; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyVersionRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyVersionRequest.h index 7bd820df6..eaf46435f 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyVersionRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreatePolicyVersionRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreatePolicyVersionRequest : public RpcServiceRequest - { - - public: - CreatePolicyVersionRequest(); - ~CreatePolicyVersionRequest(); - - bool getSetAsDefault()const; - void setSetAsDefault(bool setAsDefault); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPolicyDocument()const; - void setPolicyDocument(const std::string& policyDocument); - - private: - bool setAsDefault_; - std::string policyName_; - std::string policyDocument_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreatePolicyVersionRequest : public RpcServiceRequest { +public: + CreatePolicyVersionRequest(); + ~CreatePolicyVersionRequest(); + bool getSetAsDefault() const; + void setSetAsDefault(bool setAsDefault); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPolicyDocument() const; + void setPolicyDocument(const std::string &policyDocument); + +private: + bool setAsDefault_; + std::string policyName_; + std::string policyDocument_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEPOLICYVERSIONREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceAccountRequest.h index 2235d887b..56c79bf93 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceAccountRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateResourceAccountRequest : public RpcServiceRequest - { - - public: - CreateResourceAccountRequest(); - ~CreateResourceAccountRequest(); - - std::string getAccountNamePrefix()const; - void setAccountNamePrefix(const std::string& accountNamePrefix); - std::string getParentFolderId()const; - void setParentFolderId(const std::string& parentFolderId); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - std::string getPayerAccountId()const; - void setPayerAccountId(const std::string& payerAccountId); - - private: - std::string accountNamePrefix_; - std::string parentFolderId_; - std::string displayName_; - std::string payerAccountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateResourceAccountRequest : public RpcServiceRequest { +public: + CreateResourceAccountRequest(); + ~CreateResourceAccountRequest(); + std::string getAccountNamePrefix() const; + void setAccountNamePrefix(const std::string &accountNamePrefix); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + std::string getPayerAccountId() const; + void setPayerAccountId(const std::string &payerAccountId); + +private: + std::string accountNamePrefix_; + std::string parentFolderId_; + std::string displayName_; + std::string payerAccountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceGroupRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceGroupRequest.h index f5e33b6b4..84eb96e3e 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceGroupRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateResourceGroupRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateResourceGroupRequest : public RpcServiceRequest - { - - public: - CreateResourceGroupRequest(); - ~CreateResourceGroupRequest(); - - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string displayName_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateResourceGroupRequest : public RpcServiceRequest { +public: + CreateResourceGroupRequest(); + ~CreateResourceGroupRequest(); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string displayName_; + std::string name_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATERESOURCEGROUPREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleRequest.h index d4e7bd427..c4abc8f2c 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateRoleRequest : public RpcServiceRequest - { - - public: - CreateRoleRequest(); - ~CreateRoleRequest(); - - long getMaxSessionDuration()const; - void setMaxSessionDuration(long maxSessionDuration); - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getAssumeRolePolicyDocument()const; - void setAssumeRolePolicyDocument(const std::string& assumeRolePolicyDocument); - - private: - long maxSessionDuration_; - std::string roleName_; - std::string description_; - std::string assumeRolePolicyDocument_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateRoleRequest : public RpcServiceRequest { +public: + CreateRoleRequest(); + ~CreateRoleRequest(); + long getMaxSessionDuration() const; + void setMaxSessionDuration(long maxSessionDuration); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getAssumeRolePolicyDocument() const; + void setAssumeRolePolicyDocument(const std::string &assumeRolePolicyDocument); + +private: + long maxSessionDuration_; + std::string roleName_; + std::string description_; + std::string assumeRolePolicyDocument_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATEROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleResult.h index 71bbe4f43..334d168dd 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateRoleResult.h @@ -39,8 +39,8 @@ namespace AlibabaCloud std::string description; std::string assumeRolePolicyDocument; std::string arn; - std::string roleId; std::string createDate; + std::string roleId; std::string rolePrincipalName; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleRequest.h index 57686a6ab..06071524b 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest - { - - public: - CreateServiceLinkedRoleRequest(); - ~CreateServiceLinkedRoleRequest(); - - std::string getCustomSuffix()const; - void setCustomSuffix(const std::string& customSuffix); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getServiceName()const; - void setServiceName(const std::string& serviceName); - - private: - std::string customSuffix_; - std::string description_; - std::string serviceName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest { +public: + CreateServiceLinkedRoleRequest(); + ~CreateServiceLinkedRoleRequest(); + std::string getCustomSuffix() const; + void setCustomSuffix(const std::string &customSuffix); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getServiceName() const; + void setServiceName(const std::string &serviceName); + +private: + std::string customSuffix_; + std::string description_; + std::string serviceName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleResult.h index 6f649f4ac..d5df943f6 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/CreateServiceLinkedRoleResult.h @@ -37,10 +37,10 @@ namespace AlibabaCloud std::string roleName; std::string description; std::string assumeRolePolicyDocument; - bool isServiceLinkedRole; std::string arn; - std::string roleId; + bool isServiceLinkedRole; std::string createDate; + std::string roleId; std::string rolePrincipalName; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeclineHandshakeRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeclineHandshakeRequest.h index 71b351a24..fa6a87294 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeclineHandshakeRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeclineHandshakeRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeclineHandshakeRequest : public RpcServiceRequest - { - - public: - DeclineHandshakeRequest(); - ~DeclineHandshakeRequest(); - - std::string getHandshakeId()const; - void setHandshakeId(const std::string& handshakeId); - - private: - std::string handshakeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeclineHandshakeRequest : public RpcServiceRequest { +public: + DeclineHandshakeRequest(); + ~DeclineHandshakeRequest(); + std::string getHandshakeId() const; + void setHandshakeId(const std::string &handshakeId); + +private: + std::string handshakeId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DECLINEHANDSHAKEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteControlPolicyRequest.h index 4e1d34e97..2548166a9 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteControlPolicyRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteControlPolicyRequest : public RpcServiceRequest - { - - public: - DeleteControlPolicyRequest(); - ~DeleteControlPolicyRequest(); - - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - - private: - std::string policyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteControlPolicyRequest : public RpcServiceRequest { +public: + DeleteControlPolicyRequest(); + ~DeleteControlPolicyRequest(); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + +private: + std::string policyId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETECONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteFolderRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteFolderRequest.h index 4a61cba18..7b60a2051 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteFolderRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteFolderRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteFolderRequest : public RpcServiceRequest - { - - public: - DeleteFolderRequest(); - ~DeleteFolderRequest(); - - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteFolderRequest : public RpcServiceRequest { +public: + DeleteFolderRequest(); + ~DeleteFolderRequest(); + std::string getFolderId() const; + void setFolderId(const std::string &folderId); + +private: + std::string folderId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEFOLDERREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyRequest.h index 0e61c6de1..1eede7a5d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeletePolicyRequest : public RpcServiceRequest - { - - public: - DeletePolicyRequest(); - ~DeletePolicyRequest(); - - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeletePolicyRequest : public RpcServiceRequest { +public: + DeletePolicyRequest(); + ~DeletePolicyRequest(); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyVersionRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyVersionRequest.h index a831da90f..acc68561d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyVersionRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeletePolicyVersionRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeletePolicyVersionRequest : public RpcServiceRequest - { - - public: - DeletePolicyVersionRequest(); - ~DeletePolicyVersionRequest(); - - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string versionId_; - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeletePolicyVersionRequest : public RpcServiceRequest { +public: + DeletePolicyVersionRequest(); + ~DeletePolicyVersionRequest(); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string versionId_; + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEPOLICYVERSIONREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteResourceGroupRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteResourceGroupRequest.h index a710b71ff..5fde6d36d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteResourceGroupRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteResourceGroupRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteResourceGroupRequest : public RpcServiceRequest - { - - public: - DeleteResourceGroupRequest(); - ~DeleteResourceGroupRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - - private: - std::string resourceGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteResourceGroupRequest : public RpcServiceRequest { +public: + DeleteResourceGroupRequest(); + ~DeleteResourceGroupRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + +private: + std::string resourceGroupId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETERESOURCEGROUPREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteRoleRequest.h index 8e903c7c0..85752bda0 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteRoleRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteRoleRequest : public RpcServiceRequest - { - - public: - DeleteRoleRequest(); - ~DeleteRoleRequest(); - - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - - private: - std::string roleName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteRoleRequest : public RpcServiceRequest { +public: + DeleteRoleRequest(); + ~DeleteRoleRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + +private: + std::string roleName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETEROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteServiceLinkedRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteServiceLinkedRoleRequest.h index 7661d3cf4..e4c1bc7f6 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteServiceLinkedRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeleteServiceLinkedRoleRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteServiceLinkedRoleRequest : public RpcServiceRequest - { - - public: - DeleteServiceLinkedRoleRequest(); - ~DeleteServiceLinkedRoleRequest(); - - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - - private: - std::string roleName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeleteServiceLinkedRoleRequest : public RpcServiceRequest { +public: + DeleteServiceLinkedRoleRequest(); + ~DeleteServiceLinkedRoleRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + +private: + std::string roleName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DELETESERVICELINKEDROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DeregisterDelegatedAdministratorRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DeregisterDelegatedAdministratorRequest.h index 9d11bf88f..beaae9155 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DeregisterDelegatedAdministratorRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DeregisterDelegatedAdministratorRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeregisterDelegatedAdministratorRequest : public RpcServiceRequest - { - - public: - DeregisterDelegatedAdministratorRequest(); - ~DeregisterDelegatedAdministratorRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - std::string getServicePrincipal()const; - void setServicePrincipal(const std::string& servicePrincipal); - - private: - std::string accountId_; - std::string servicePrincipal_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DeregisterDelegatedAdministratorRequest : public RpcServiceRequest { +public: + DeregisterDelegatedAdministratorRequest(); + ~DeregisterDelegatedAdministratorRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getServicePrincipal() const; + void setServicePrincipal(const std::string &servicePrincipal); + +private: + std::string accountId_; + std::string servicePrincipal_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DEREGISTERDELEGATEDADMINISTRATORREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DestroyResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DestroyResourceDirectoryRequest.h index 24874c5ef..79405f993 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DestroyResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DestroyResourceDirectoryRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DestroyResourceDirectoryRequest : public RpcServiceRequest - { - - public: - DestroyResourceDirectoryRequest(); - ~DestroyResourceDirectoryRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DestroyResourceDirectoryRequest : public RpcServiceRequest { +public: + DestroyResourceDirectoryRequest(); + ~DestroyResourceDirectoryRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DESTROYRESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DetachControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DetachControlPolicyRequest.h index a68216bf9..4e02a3a97 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DetachControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DetachControlPolicyRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DetachControlPolicyRequest : public RpcServiceRequest - { - - public: - DetachControlPolicyRequest(); - ~DetachControlPolicyRequest(); - - std::string getTargetId()const; - void setTargetId(const std::string& targetId); - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - - private: - std::string targetId_; - std::string policyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DetachControlPolicyRequest : public RpcServiceRequest { +public: + DetachControlPolicyRequest(); + ~DetachControlPolicyRequest(); + std::string getTargetId() const; + void setTargetId(const std::string &targetId); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + +private: + std::string targetId_; + std::string policyId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHCONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DetachPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DetachPolicyRequest.h index 2be6feab0..749298d48 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DetachPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DetachPolicyRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DetachPolicyRequest : public RpcServiceRequest - { - - public: - DetachPolicyRequest(); - ~DetachPolicyRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getPrincipalType()const; - void setPrincipalType(const std::string& principalType); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPrincipalName()const; - void setPrincipalName(const std::string& principalName); - - private: - std::string policyType_; - std::string principalType_; - std::string resourceGroupId_; - std::string policyName_; - std::string principalName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DetachPolicyRequest : public RpcServiceRequest { +public: + DetachPolicyRequest(); + ~DetachPolicyRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getPrincipalType() const; + void setPrincipalType(const std::string &principalType); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPrincipalName() const; + void setPrincipalName(const std::string &principalName); + +private: + std::string policyType_; + std::string principalType_; + std::string resourceGroupId_; + std::string policyName_; + std::string principalName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DETACHPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/DisableControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/DisableControlPolicyRequest.h index 3cbc8939c..c3e6a874f 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/DisableControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/DisableControlPolicyRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DisableControlPolicyRequest : public RpcServiceRequest - { - - public: - DisableControlPolicyRequest(); - ~DisableControlPolicyRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT DisableControlPolicyRequest : public RpcServiceRequest { +public: + DisableControlPolicyRequest(); + ~DisableControlPolicyRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_DISABLECONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/EnableControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/EnableControlPolicyRequest.h index db55f3862..ce5fcb1dc 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/EnableControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/EnableControlPolicyRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT EnableControlPolicyRequest : public RpcServiceRequest - { - - public: - EnableControlPolicyRequest(); - ~EnableControlPolicyRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT EnableControlPolicyRequest : public RpcServiceRequest { +public: + EnableControlPolicyRequest(); + ~EnableControlPolicyRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLECONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/EnableResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/EnableResourceDirectoryRequest.h index b6c550f9f..98473b0b6 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/EnableResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/EnableResourceDirectoryRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT EnableResourceDirectoryRequest : public RpcServiceRequest - { - - public: - EnableResourceDirectoryRequest(); - ~EnableResourceDirectoryRequest(); - - std::string getEnableMode()const; - void setEnableMode(const std::string& enableMode); - std::string getMASecureMobilePhone()const; - void setMASecureMobilePhone(const std::string& mASecureMobilePhone); - std::string getMAName()const; - void setMAName(const std::string& mAName); - std::string getVerificationCode()const; - void setVerificationCode(const std::string& verificationCode); - - private: - std::string enableMode_; - std::string mASecureMobilePhone_; - std::string mAName_; - std::string verificationCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT EnableResourceDirectoryRequest : public RpcServiceRequest { +public: + EnableResourceDirectoryRequest(); + ~EnableResourceDirectoryRequest(); + std::string getEnableMode() const; + void setEnableMode(const std::string &enableMode); + std::string getMASecureMobilePhone() const; + void setMASecureMobilePhone(const std::string &mASecureMobilePhone); + std::string getMAName() const; + void setMAName(const std::string &mAName); + std::string getVerificationCode() const; + void setVerificationCode(const std::string &verificationCode); + +private: + std::string enableMode_; + std::string mASecureMobilePhone_; + std::string mAName_; + std::string verificationCode_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_ENABLERESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetAccountRequest.h index 573baa6b6..daab2e6b5 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetAccountRequest : public RpcServiceRequest - { - - public: - GetAccountRequest(); - ~GetAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetAccountRequest : public RpcServiceRequest { +public: + GetAccountRequest(); + ~GetAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyEnablementStatusRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyEnablementStatusRequest.h index 9407d6378..d84c2f19d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyEnablementStatusRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyEnablementStatusRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetControlPolicyEnablementStatusRequest : public RpcServiceRequest - { - - public: - GetControlPolicyEnablementStatusRequest(); - ~GetControlPolicyEnablementStatusRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetControlPolicyEnablementStatusRequest : public RpcServiceRequest { +public: + GetControlPolicyEnablementStatusRequest(); + ~GetControlPolicyEnablementStatusRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYENABLEMENTSTATUSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyRequest.h index 242b31479..ed3f47fb2 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetControlPolicyRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetControlPolicyRequest : public RpcServiceRequest - { - - public: - GetControlPolicyRequest(); - ~GetControlPolicyRequest(); - - std::string getLanguage()const; - void setLanguage(const std::string& language); - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - - private: - std::string language_; - std::string policyId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetControlPolicyRequest : public RpcServiceRequest { +public: + GetControlPolicyRequest(); + ~GetControlPolicyRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + +private: + std::string language_; + std::string policyId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETCONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetFolderRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetFolderRequest.h index fe931dc34..52dc72cf0 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetFolderRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetFolderRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetFolderRequest : public RpcServiceRequest - { - - public: - GetFolderRequest(); - ~GetFolderRequest(); - - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - - private: - std::string folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetFolderRequest : public RpcServiceRequest { +public: + GetFolderRequest(); + ~GetFolderRequest(); + std::string getFolderId() const; + void setFolderId(const std::string &folderId); + +private: + std::string folderId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETFOLDERREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetHandshakeRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetHandshakeRequest.h index a65cab527..27e0c3316 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetHandshakeRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetHandshakeRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetHandshakeRequest : public RpcServiceRequest - { - - public: - GetHandshakeRequest(); - ~GetHandshakeRequest(); - - std::string getHandshakeId()const; - void setHandshakeId(const std::string& handshakeId); - - private: - std::string handshakeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetHandshakeRequest : public RpcServiceRequest { +public: + GetHandshakeRequest(); + ~GetHandshakeRequest(); + std::string getHandshakeId() const; + void setHandshakeId(const std::string &handshakeId); + +private: + std::string handshakeId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETHANDSHAKEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPayerForAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPayerForAccountRequest.h index a2a49366e..e3359cce3 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPayerForAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPayerForAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPayerForAccountRequest : public RpcServiceRequest - { - - public: - GetPayerForAccountRequest(); - ~GetPayerForAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPayerForAccountRequest : public RpcServiceRequest { +public: + GetPayerForAccountRequest(); + ~GetPayerForAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPAYERFORACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyRequest.h index a1942bcf1..eb09cd3b4 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPolicyRequest : public RpcServiceRequest - { - - public: - GetPolicyRequest(); - ~GetPolicyRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getLanguage()const; - void setLanguage(const std::string& language); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string policyType_; - std::string language_; - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPolicyRequest : public RpcServiceRequest { +public: + GetPolicyRequest(); + ~GetPolicyRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getLanguage() const; + void setLanguage(const std::string &language); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string policyType_; + std::string language_; + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyResult.h index 463055bd4..d752e76d4 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyResult.h @@ -34,12 +34,12 @@ namespace AlibabaCloud public: struct Policy { - std::string policyType; std::string updateDate; + std::string policyType; std::string description; int attachmentCount; - std::string policyName; std::string defaultVersion; + std::string policyName; std::string policyDocument; std::string createDate; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyVersionRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyVersionRequest.h index e4fe8dcef..c0740d40e 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyVersionRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetPolicyVersionRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPolicyVersionRequest : public RpcServiceRequest - { - - public: - GetPolicyVersionRequest(); - ~GetPolicyVersionRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string policyType_; - std::string versionId_; - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetPolicyVersionRequest : public RpcServiceRequest { +public: + GetPolicyVersionRequest(); + ~GetPolicyVersionRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string policyType_; + std::string versionId_; + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETPOLICYVERSIONREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceDirectoryRequest.h index 8539593d6..06be0cf8d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceDirectoryRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetResourceDirectoryRequest : public RpcServiceRequest - { - - public: - GetResourceDirectoryRequest(); - ~GetResourceDirectoryRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetResourceDirectoryRequest : public RpcServiceRequest { +public: + GetResourceDirectoryRequest(); + ~GetResourceDirectoryRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceGroupRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceGroupRequest.h index 7245def4d..dab403927 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceGroupRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetResourceGroupRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetResourceGroupRequest : public RpcServiceRequest - { - - public: - GetResourceGroupRequest(); - ~GetResourceGroupRequest(); - - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - - private: - std::string resourceGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetResourceGroupRequest : public RpcServiceRequest { +public: + GetResourceGroupRequest(); + ~GetResourceGroupRequest(); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + +private: + std::string resourceGroupId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETRESOURCEGROUPREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleRequest.h index 0203aa70f..321633c17 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetRoleRequest : public RpcServiceRequest - { - - public: - GetRoleRequest(); - ~GetRoleRequest(); - - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - std::string getLanguage()const; - void setLanguage(const std::string& language); - - private: - std::string roleName_; - std::string language_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetRoleRequest : public RpcServiceRequest { +public: + GetRoleRequest(); + ~GetRoleRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + std::string getLanguage() const; + void setLanguage(const std::string &language); + +private: + std::string roleName_; + std::string language_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleResult.h index 47b5b3e8d..d8b57af10 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetRoleResult.h @@ -36,19 +36,19 @@ namespace AlibabaCloud { struct LatestDeletionTask { - std::string createDate; std::string deletionTaskId; + std::string createDate; }; - long maxSessionDuration; std::string updateDate; + long maxSessionDuration; std::string roleName; std::string description; std::string assumeRolePolicyDocument; LatestDeletionTask latestDeletionTask; - bool isServiceLinkedRole; std::string arn; - std::string roleId; + bool isServiceLinkedRole; std::string createDate; + std::string roleId; std::string rolePrincipalName; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/GetServiceLinkedRoleDeletionStatusRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/GetServiceLinkedRoleDeletionStatusRequest.h index 892d92946..8c28aee2a 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/GetServiceLinkedRoleDeletionStatusRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/GetServiceLinkedRoleDeletionStatusRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetServiceLinkedRoleDeletionStatusRequest : public RpcServiceRequest - { - - public: - GetServiceLinkedRoleDeletionStatusRequest(); - ~GetServiceLinkedRoleDeletionStatusRequest(); - - std::string getDeletionTaskId()const; - void setDeletionTaskId(const std::string& deletionTaskId); - - private: - std::string deletionTaskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT GetServiceLinkedRoleDeletionStatusRequest : public RpcServiceRequest { +public: + GetServiceLinkedRoleDeletionStatusRequest(); + ~GetServiceLinkedRoleDeletionStatusRequest(); + std::string getDeletionTaskId() const; + void setDeletionTaskId(const std::string &deletionTaskId); + +private: + std::string deletionTaskId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_GETSERVICELINKEDROLEDELETIONSTATUSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/InitResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/InitResourceDirectoryRequest.h index 28fd3cb8a..4f481d6d9 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/InitResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/InitResourceDirectoryRequest.h @@ -1,45 +1,39 @@ /* * 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_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT InitResourceDirectoryRequest : public RpcServiceRequest - { - - public: - InitResourceDirectoryRequest(); - ~InitResourceDirectoryRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT InitResourceDirectoryRequest : public RpcServiceRequest { +public: + InitResourceDirectoryRequest(); + ~InitResourceDirectoryRequest(); + +private: +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_INITRESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/InviteAccountToResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/InviteAccountToResourceDirectoryRequest.h index c731d4ef7..0d704eac4 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/InviteAccountToResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/InviteAccountToResourceDirectoryRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT InviteAccountToResourceDirectoryRequest : public RpcServiceRequest - { - - public: - InviteAccountToResourceDirectoryRequest(); - ~InviteAccountToResourceDirectoryRequest(); - - std::string getNote()const; - void setNote(const std::string& note); - std::string getTargetType()const; - void setTargetType(const std::string& targetType); - std::string getTargetEntity()const; - void setTargetEntity(const std::string& targetEntity); - - private: - std::string note_; - std::string targetType_; - std::string targetEntity_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT InviteAccountToResourceDirectoryRequest : public RpcServiceRequest { +public: + InviteAccountToResourceDirectoryRequest(); + ~InviteAccountToResourceDirectoryRequest(); + std::string getNote() const; + void setNote(const std::string ¬e); + std::string getTargetType() const; + void setTargetType(const std::string &targetType); + std::string getTargetEntity() const; + void setTargetEntity(const std::string &targetEntity); + +private: + std::string note_; + std::string targetType_; + std::string targetEntity_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_INVITEACCOUNTTORESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsForParentRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsForParentRequest.h index d292d4a78..c649abd0b 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsForParentRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsForParentRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAccountsForParentRequest : public RpcServiceRequest - { - - public: - ListAccountsForParentRequest(); - ~ListAccountsForParentRequest(); - - std::string getQueryKeyword()const; - void setQueryKeyword(const std::string& queryKeyword); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getParentFolderId()const; - void setParentFolderId(const std::string& parentFolderId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string queryKeyword_; - int pageNumber_; - std::string parentFolderId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAccountsForParentRequest : public RpcServiceRequest { +public: + ListAccountsForParentRequest(); + ~ListAccountsForParentRequest(); + std::string getQueryKeyword() const; + void setQueryKeyword(const std::string &queryKeyword); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string queryKeyword_; + int pageNumber_; + std::string parentFolderId_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSFORPARENTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsRequest.h index a9767be80..1d8faab82 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAccountsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAccountsRequest : public RpcServiceRequest - { - - public: - ListAccountsRequest(); - ~ListAccountsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAccountsRequest : public RpcServiceRequest { +public: + ListAccountsRequest(); + ~ListAccountsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTACCOUNTSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAncestorsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAncestorsRequest.h index 541f17f5e..7703d0f8a 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListAncestorsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListAncestorsRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAncestorsRequest : public RpcServiceRequest - { - - public: - ListAncestorsRequest(); - ~ListAncestorsRequest(); - - std::string getChildId()const; - void setChildId(const std::string& childId); - - private: - std::string childId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListAncestorsRequest : public RpcServiceRequest { +public: + ListAncestorsRequest(); + ~ListAncestorsRequest(); + std::string getChildId() const; + void setChildId(const std::string &childId); + +private: + std::string childId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTANCESTORSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPoliciesRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPoliciesRequest.h index 882abff4a..fe1ebdb75 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPoliciesRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPoliciesRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListControlPoliciesRequest : public RpcServiceRequest - { - - public: - ListControlPoliciesRequest(); - ~ListControlPoliciesRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getLanguage()const; - void setLanguage(const std::string& language); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string policyType_; - std::string language_; - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListControlPoliciesRequest : public RpcServiceRequest { +public: + ListControlPoliciesRequest(); + ~ListControlPoliciesRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getLanguage() const; + void setLanguage(const std::string &language); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string policyType_; + std::string language_; + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICIESREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPolicyAttachmentsForTargetRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPolicyAttachmentsForTargetRequest.h index 7ff8972b2..5f68f14a9 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPolicyAttachmentsForTargetRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListControlPolicyAttachmentsForTargetRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListControlPolicyAttachmentsForTargetRequest : public RpcServiceRequest - { - - public: - ListControlPolicyAttachmentsForTargetRequest(); - ~ListControlPolicyAttachmentsForTargetRequest(); - - std::string getTargetId()const; - void setTargetId(const std::string& targetId); - std::string getLanguage()const; - void setLanguage(const std::string& language); - - private: - std::string targetId_; - std::string language_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListControlPolicyAttachmentsForTargetRequest : public RpcServiceRequest { +public: + ListControlPolicyAttachmentsForTargetRequest(); + ~ListControlPolicyAttachmentsForTargetRequest(); + std::string getTargetId() const; + void setTargetId(const std::string &targetId); + std::string getLanguage() const; + void setLanguage(const std::string &language); + +private: + std::string targetId_; + std::string language_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTCONTROLPOLICYATTACHMENTSFORTARGETREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedAdministratorsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedAdministratorsRequest.h index 6d8f1dcbf..7ef9e5770 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedAdministratorsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedAdministratorsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListDelegatedAdministratorsRequest : public RpcServiceRequest - { - - public: - ListDelegatedAdministratorsRequest(); - ~ListDelegatedAdministratorsRequest(); - - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getServicePrincipal()const; - void setServicePrincipal(const std::string& servicePrincipal); - - private: - long pageNumber_; - long pageSize_; - std::string servicePrincipal_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListDelegatedAdministratorsRequest : public RpcServiceRequest { +public: + ListDelegatedAdministratorsRequest(); + ~ListDelegatedAdministratorsRequest(); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getServicePrincipal() const; + void setServicePrincipal(const std::string &servicePrincipal); + +private: + long pageNumber_; + long pageSize_; + std::string servicePrincipal_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDADMINISTRATORSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedServicesForAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedServicesForAccountRequest.h index 9cc1e698c..863ca560e 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedServicesForAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListDelegatedServicesForAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListDelegatedServicesForAccountRequest : public RpcServiceRequest - { - - public: - ListDelegatedServicesForAccountRequest(); - ~ListDelegatedServicesForAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListDelegatedServicesForAccountRequest : public RpcServiceRequest { +public: + ListDelegatedServicesForAccountRequest(); + ~ListDelegatedServicesForAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTDELEGATEDSERVICESFORACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListFoldersForParentRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListFoldersForParentRequest.h index 5d90c2842..3efda82e1 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListFoldersForParentRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListFoldersForParentRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListFoldersForParentRequest : public RpcServiceRequest - { - - public: - ListFoldersForParentRequest(); - ~ListFoldersForParentRequest(); - - std::string getQueryKeyword()const; - void setQueryKeyword(const std::string& queryKeyword); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getParentFolderId()const; - void setParentFolderId(const std::string& parentFolderId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string queryKeyword_; - int pageNumber_; - std::string parentFolderId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListFoldersForParentRequest : public RpcServiceRequest { +public: + ListFoldersForParentRequest(); + ~ListFoldersForParentRequest(); + std::string getQueryKeyword() const; + void setQueryKeyword(const std::string &queryKeyword); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getParentFolderId() const; + void setParentFolderId(const std::string &parentFolderId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string queryKeyword_; + int pageNumber_; + std::string parentFolderId_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTFOLDERSFORPARENTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForAccountRequest.h index ab577896a..af947b9f5 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForAccountRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListHandshakesForAccountRequest : public RpcServiceRequest - { - - public: - ListHandshakesForAccountRequest(); - ~ListHandshakesForAccountRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListHandshakesForAccountRequest : public RpcServiceRequest { +public: + ListHandshakesForAccountRequest(); + ~ListHandshakesForAccountRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForResourceDirectoryRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForResourceDirectoryRequest.h index ab020ecae..68a0746d9 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForResourceDirectoryRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListHandshakesForResourceDirectoryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListHandshakesForResourceDirectoryRequest : public RpcServiceRequest - { - - public: - ListHandshakesForResourceDirectoryRequest(); - ~ListHandshakesForResourceDirectoryRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListHandshakesForResourceDirectoryRequest : public RpcServiceRequest { +public: + ListHandshakesForResourceDirectoryRequest(); + ~ListHandshakesForResourceDirectoryRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTHANDSHAKESFORRESOURCEDIRECTORYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesRequest.h index 5d8a78100..b0b908f6b 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPoliciesRequest : public RpcServiceRequest - { - - public: - ListPoliciesRequest(); - ~ListPoliciesRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getLanguage()const; - void setLanguage(const std::string& language); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string policyType_; - std::string language_; - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPoliciesRequest : public RpcServiceRequest { +public: + ListPoliciesRequest(); + ~ListPoliciesRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getLanguage() const; + void setLanguage(const std::string &language); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string policyType_; + std::string language_; + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICIESREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesResult.h index 925919b2b..a1624a744 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPoliciesResult.h @@ -34,12 +34,12 @@ namespace AlibabaCloud public: struct Policy { - std::string policyType; std::string updateDate; + std::string policyType; std::string description; int attachmentCount; - std::string policyName; std::string defaultVersion; + std::string policyName; std::string createDate; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyAttachmentsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyAttachmentsRequest.h index b1d1eb6c9..686db69aa 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyAttachmentsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyAttachmentsRequest.h @@ -1,69 +1,63 @@ /* * 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_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPolicyAttachmentsRequest : public RpcServiceRequest - { - - public: - ListPolicyAttachmentsRequest(); - ~ListPolicyAttachmentsRequest(); - - std::string getLanguage()const; - void setLanguage(const std::string& language); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getPrincipalType()const; - void setPrincipalType(const std::string& principalType); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - std::string getPrincipalName()const; - void setPrincipalName(const std::string& principalName); - - private: - std::string language_; - int pageNumber_; - std::string resourceGroupId_; - int pageSize_; - std::string policyType_; - std::string principalType_; - std::string policyName_; - std::string principalName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPolicyAttachmentsRequest : public RpcServiceRequest { +public: + ListPolicyAttachmentsRequest(); + ~ListPolicyAttachmentsRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getPrincipalType() const; + void setPrincipalType(const std::string &principalType); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + std::string getPrincipalName() const; + void setPrincipalName(const std::string &principalName); + +private: + std::string language_; + int pageNumber_; + std::string resourceGroupId_; + int pageSize_; + std::string policyType_; + std::string principalType_; + std::string policyName_; + std::string principalName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYATTACHMENTSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyVersionsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyVersionsRequest.h index 7808b478e..5d5e3e26a 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyVersionsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListPolicyVersionsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPolicyVersionsRequest : public RpcServiceRequest - { - - public: - ListPolicyVersionsRequest(); - ~ListPolicyVersionsRequest(); - - std::string getPolicyType()const; - void setPolicyType(const std::string& policyType); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string policyType_; - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListPolicyVersionsRequest : public RpcServiceRequest { +public: + ListPolicyVersionsRequest(); + ~ListPolicyVersionsRequest(); + std::string getPolicyType() const; + void setPolicyType(const std::string &policyType); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string policyType_; + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTPOLICYVERSIONSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourceGroupsRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourceGroupsRequest.h index 3f6c192b5..46c5d4400 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourceGroupsRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourceGroupsRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListResourceGroupsRequest : public RpcServiceRequest - { - - public: - ListResourceGroupsRequest(); - ~ListResourceGroupsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - std::string getName()const; - void setName(const std::string& name); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int pageNumber_; - std::string resourceGroupId_; - int pageSize_; - std::string displayName_; - std::string name_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListResourceGroupsRequest : public RpcServiceRequest { +public: + ListResourceGroupsRequest(); + ~ListResourceGroupsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + std::string getName() const; + void setName(const std::string &name); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + int pageNumber_; + std::string resourceGroupId_; + int pageSize_; + std::string displayName_; + std::string name_; + std::string status_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCEGROUPSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourcesRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourcesRequest.h index 19b57f3cc..47d4b92c0 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourcesRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListResourcesRequest.h @@ -1,69 +1,63 @@ /* * 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_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListResourcesRequest : public RpcServiceRequest - { - - public: - ListResourcesRequest(); - ~ListResourcesRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getResourceId()const; - void setResourceId(const std::string& resourceId); - std::string getResourceType()const; - void setResourceType(const std::string& resourceType); - std::string getService()const; - void setService(const std::string& service); - std::string getRegion()const; - void setRegion(const std::string& region); - std::string getResourceIds()const; - void setResourceIds(const std::string& resourceIds); - - private: - int pageNumber_; - std::string resourceGroupId_; - int pageSize_; - std::string resourceId_; - std::string resourceType_; - std::string service_; - std::string region_; - std::string resourceIds_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListResourcesRequest : public RpcServiceRequest { +public: + ListResourcesRequest(); + ~ListResourcesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getResourceId() const; + void setResourceId(const std::string &resourceId); + std::string getResourceType() const; + void setResourceType(const std::string &resourceType); + std::string getService() const; + void setService(const std::string &service); + std::string getRegion() const; + void setRegion(const std::string ®ion); + std::string getResourceIds() const; + void setResourceIds(const std::string &resourceIds); + +private: + int pageNumber_; + std::string resourceGroupId_; + int pageSize_; + std::string resourceId_; + std::string resourceType_; + std::string service_; + std::string region_; + std::string resourceIds_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTRESOURCESREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesRequest.h index 15c83ec0c..ca15d0601 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListRolesRequest : public RpcServiceRequest - { - - public: - ListRolesRequest(); - ~ListRolesRequest(); - - std::string getLanguage()const; - void setLanguage(const std::string& language); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string language_; - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListRolesRequest : public RpcServiceRequest { +public: + ListRolesRequest(); + ~ListRolesRequest(); + std::string getLanguage() const; + void setLanguage(const std::string &language); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string language_; + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTROLESREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesResult.h index 245723994..1e16ed467 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListRolesResult.h @@ -36,18 +36,18 @@ namespace AlibabaCloud { struct LatestDeletionTask { - std::string createDate; std::string deletionTaskId; + std::string createDate; }; - long maxSessionDuration; std::string updateDate; + long maxSessionDuration; std::string roleName; std::string description; LatestDeletionTask latestDeletionTask; - bool isServiceLinkedRole; std::string arn; - std::string roleId; + bool isServiceLinkedRole; std::string createDate; + std::string roleId; std::string rolePrincipalName; }; diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListTargetAttachmentsForControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListTargetAttachmentsForControlPolicyRequest.h index 0f0c9a62b..40f04fc55 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListTargetAttachmentsForControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListTargetAttachmentsForControlPolicyRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListTargetAttachmentsForControlPolicyRequest : public RpcServiceRequest - { - - public: - ListTargetAttachmentsForControlPolicyRequest(); - ~ListTargetAttachmentsForControlPolicyRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string policyId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListTargetAttachmentsForControlPolicyRequest : public RpcServiceRequest { +public: + ListTargetAttachmentsForControlPolicyRequest(); + ~ListTargetAttachmentsForControlPolicyRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string policyId_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTARGETATTACHMENTSFORCONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ListTrustedServiceStatusRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ListTrustedServiceStatusRequest.h index 5e2113592..35b46308b 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ListTrustedServiceStatusRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ListTrustedServiceStatusRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListTrustedServiceStatusRequest : public RpcServiceRequest - { - - public: - ListTrustedServiceStatusRequest(); - ~ListTrustedServiceStatusRequest(); - - std::string getAdminAccountId()const; - void setAdminAccountId(const std::string& adminAccountId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string adminAccountId_; - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ListTrustedServiceStatusRequest : public RpcServiceRequest { +public: + ListTrustedServiceStatusRequest(); + ~ListTrustedServiceStatusRequest(); + std::string getAdminAccountId() const; + void setAdminAccountId(const std::string &adminAccountId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string adminAccountId_; + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_LISTTRUSTEDSERVICESTATUSREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/MoveAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/MoveAccountRequest.h index 39bd28169..50de6007c 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/MoveAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/MoveAccountRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT MoveAccountRequest : public RpcServiceRequest - { - - public: - MoveAccountRequest(); - ~MoveAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - std::string getDestinationFolderId()const; - void setDestinationFolderId(const std::string& destinationFolderId); - - private: - std::string accountId_; - std::string destinationFolderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT MoveAccountRequest : public RpcServiceRequest { +public: + MoveAccountRequest(); + ~MoveAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getDestinationFolderId() const; + void setDestinationFolderId(const std::string &destinationFolderId); + +private: + std::string accountId_; + std::string destinationFolderId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVEACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/MoveResourcesRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/MoveResourcesRequest.h index 8da26f585..960d7f71d 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/MoveResourcesRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/MoveResourcesRequest.h @@ -1,51 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT MoveResourcesRequest : public RpcServiceRequest - { - - public: - MoveResourcesRequest(); - ~MoveResourcesRequest(); - - Array getResources()const; - void setResources(const Array& resources); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - - private: - Array resources_; - std::string resourceGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT MoveResourcesRequest : public RpcServiceRequest { +public: + struct Resources { + std::string resourceId; + std::string regionId; + std::string service; + std::string resourceType; + }; + MoveResourcesRequest(); + ~MoveResourcesRequest(); + std::vector getResources() const; + void setResources(const std::vector &resources); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + +private: + std::vector resources_; + std::string resourceGroupId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_MOVERESOURCESREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/PromoteResourceAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/PromoteResourceAccountRequest.h index f72fb7dca..fbd3d5aa1 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/PromoteResourceAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/PromoteResourceAccountRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT PromoteResourceAccountRequest : public RpcServiceRequest - { - - public: - PromoteResourceAccountRequest(); - ~PromoteResourceAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - std::string getEmail()const; - void setEmail(const std::string& email); - - private: - std::string accountId_; - std::string email_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT PromoteResourceAccountRequest : public RpcServiceRequest { +public: + PromoteResourceAccountRequest(); + ~PromoteResourceAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getEmail() const; + void setEmail(const std::string &email); + +private: + std::string accountId_; + std::string email_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_PROMOTERESOURCEACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/RegisterDelegatedAdministratorRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/RegisterDelegatedAdministratorRequest.h index 68cf6306b..4d10fbced 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/RegisterDelegatedAdministratorRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/RegisterDelegatedAdministratorRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT RegisterDelegatedAdministratorRequest : public RpcServiceRequest - { - - public: - RegisterDelegatedAdministratorRequest(); - ~RegisterDelegatedAdministratorRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - std::string getServicePrincipal()const; - void setServicePrincipal(const std::string& servicePrincipal); - - private: - std::string accountId_; - std::string servicePrincipal_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT RegisterDelegatedAdministratorRequest : public RpcServiceRequest { +public: + RegisterDelegatedAdministratorRequest(); + ~RegisterDelegatedAdministratorRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + std::string getServicePrincipal() const; + void setServicePrincipal(const std::string &servicePrincipal); + +private: + std::string accountId_; + std::string servicePrincipal_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_REGISTERDELEGATEDADMINISTRATORREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/RemoveCloudAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/RemoveCloudAccountRequest.h index ac0c1c802..92ff6e8a9 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/RemoveCloudAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/RemoveCloudAccountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT RemoveCloudAccountRequest : public RpcServiceRequest - { - - public: - RemoveCloudAccountRequest(); - ~RemoveCloudAccountRequest(); - - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT RemoveCloudAccountRequest : public RpcServiceRequest { +public: + RemoveCloudAccountRequest(); + ~RemoveCloudAccountRequest(); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_REMOVECLOUDACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ResendCreateCloudAccountEmailRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ResendCreateCloudAccountEmailRequest.h index 9e09fcefa..128ebd2cc 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ResendCreateCloudAccountEmailRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ResendCreateCloudAccountEmailRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ResendCreateCloudAccountEmailRequest : public RpcServiceRequest - { - - public: - ResendCreateCloudAccountEmailRequest(); - ~ResendCreateCloudAccountEmailRequest(); - - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ResendCreateCloudAccountEmailRequest : public RpcServiceRequest { +public: + ResendCreateCloudAccountEmailRequest(); + ~ResendCreateCloudAccountEmailRequest(); + std::string getRecordId() const; + void setRecordId(const std::string &recordId); + +private: + std::string recordId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDCREATECLOUDACCOUNTEMAILREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/ResendPromoteResourceAccountEmailRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/ResendPromoteResourceAccountEmailRequest.h index 19e345bcd..1703192b3 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/ResendPromoteResourceAccountEmailRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/ResendPromoteResourceAccountEmailRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ResendPromoteResourceAccountEmailRequest : public RpcServiceRequest - { - - public: - ResendPromoteResourceAccountEmailRequest(); - ~ResendPromoteResourceAccountEmailRequest(); - - std::string getRecordId()const; - void setRecordId(const std::string& recordId); - - private: - std::string recordId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT ResendPromoteResourceAccountEmailRequest : public RpcServiceRequest { +public: + ResendPromoteResourceAccountEmailRequest(); + ~ResendPromoteResourceAccountEmailRequest(); + std::string getRecordId() const; + void setRecordId(const std::string &recordId); + +private: + std::string recordId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_RESENDPROMOTERESOURCEACCOUNTEMAILREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForBindSecureMobilePhoneRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForBindSecureMobilePhoneRequest.h index c93ad12cf..5991627d7 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForBindSecureMobilePhoneRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForBindSecureMobilePhoneRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SendVerificationCodeForBindSecureMobilePhoneRequest : public RpcServiceRequest - { - - public: - SendVerificationCodeForBindSecureMobilePhoneRequest(); - ~SendVerificationCodeForBindSecureMobilePhoneRequest(); - - std::string getSecureMobilePhone()const; - void setSecureMobilePhone(const std::string& secureMobilePhone); - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string secureMobilePhone_; - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SendVerificationCodeForBindSecureMobilePhoneRequest : public RpcServiceRequest { +public: + SendVerificationCodeForBindSecureMobilePhoneRequest(); + ~SendVerificationCodeForBindSecureMobilePhoneRequest(); + std::string getSecureMobilePhone() const; + void setSecureMobilePhone(const std::string &secureMobilePhone); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string secureMobilePhone_; + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORBINDSECUREMOBILEPHONEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForEnableRDRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForEnableRDRequest.h index 69d0402a9..866935298 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForEnableRDRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/SendVerificationCodeForEnableRDRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SendVerificationCodeForEnableRDRequest : public RpcServiceRequest - { - - public: - SendVerificationCodeForEnableRDRequest(); - ~SendVerificationCodeForEnableRDRequest(); - - std::string getSecureMobilePhone()const; - void setSecureMobilePhone(const std::string& secureMobilePhone); - - private: - std::string secureMobilePhone_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SendVerificationCodeForEnableRDRequest : public RpcServiceRequest { +public: + SendVerificationCodeForEnableRDRequest(); + ~SendVerificationCodeForEnableRDRequest(); + std::string getSecureMobilePhone() const; + void setSecureMobilePhone(const std::string &secureMobilePhone); + +private: + std::string secureMobilePhone_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SENDVERIFICATIONCODEFORENABLERDREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/SetDefaultPolicyVersionRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/SetDefaultPolicyVersionRequest.h index 46a38c1a7..57f6e162c 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/SetDefaultPolicyVersionRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/SetDefaultPolicyVersionRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SetDefaultPolicyVersionRequest : public RpcServiceRequest - { - - public: - SetDefaultPolicyVersionRequest(); - ~SetDefaultPolicyVersionRequest(); - - std::string getVersionId()const; - void setVersionId(const std::string& versionId); - std::string getPolicyName()const; - void setPolicyName(const std::string& policyName); - - private: - std::string versionId_; - std::string policyName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT SetDefaultPolicyVersionRequest : public RpcServiceRequest { +public: + SetDefaultPolicyVersionRequest(); + ~SetDefaultPolicyVersionRequest(); + std::string getVersionId() const; + void setVersionId(const std::string &versionId); + std::string getPolicyName() const; + void setPolicyName(const std::string &policyName); + +private: + std::string versionId_; + std::string policyName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_SETDEFAULTPOLICYVERSIONREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateAccountRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateAccountRequest.h index dd5adcafd..11b0542ff 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateAccountRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateAccountRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateAccountRequest : public RpcServiceRequest - { - - public: - UpdateAccountRequest(); - ~UpdateAccountRequest(); - - std::string getNewDisplayName()const; - void setNewDisplayName(const std::string& newDisplayName); - std::string getNewAccountType()const; - void setNewAccountType(const std::string& newAccountType); - std::string getAccountId()const; - void setAccountId(const std::string& accountId); - - private: - std::string newDisplayName_; - std::string newAccountType_; - std::string accountId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateAccountRequest : public RpcServiceRequest { +public: + UpdateAccountRequest(); + ~UpdateAccountRequest(); + std::string getNewDisplayName() const; + void setNewDisplayName(const std::string &newDisplayName); + std::string getNewAccountType() const; + void setNewAccountType(const std::string &newAccountType); + std::string getAccountId() const; + void setAccountId(const std::string &accountId); + +private: + std::string newDisplayName_; + std::string newAccountType_; + std::string accountId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEACCOUNTREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateControlPolicyRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateControlPolicyRequest.h index 5ae992134..6b4fc149c 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateControlPolicyRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateControlPolicyRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateControlPolicyRequest : public RpcServiceRequest - { - - public: - UpdateControlPolicyRequest(); - ~UpdateControlPolicyRequest(); - - std::string getNewPolicyName()const; - void setNewPolicyName(const std::string& newPolicyName); - std::string getPolicyId()const; - void setPolicyId(const std::string& policyId); - std::string getNewPolicyDocument()const; - void setNewPolicyDocument(const std::string& newPolicyDocument); - std::string getNewDescription()const; - void setNewDescription(const std::string& newDescription); - - private: - std::string newPolicyName_; - std::string policyId_; - std::string newPolicyDocument_; - std::string newDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateControlPolicyRequest : public RpcServiceRequest { +public: + UpdateControlPolicyRequest(); + ~UpdateControlPolicyRequest(); + std::string getNewPolicyName() const; + void setNewPolicyName(const std::string &newPolicyName); + std::string getPolicyId() const; + void setPolicyId(const std::string &policyId); + std::string getNewPolicyDocument() const; + void setNewPolicyDocument(const std::string &newPolicyDocument); + std::string getNewDescription() const; + void setNewDescription(const std::string &newDescription); + +private: + std::string newPolicyName_; + std::string policyId_; + std::string newPolicyDocument_; + std::string newDescription_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATECONTROLPOLICYREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateFolderRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateFolderRequest.h index 067baebd7..1299d8cde 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateFolderRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateFolderRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateFolderRequest : public RpcServiceRequest - { - - public: - UpdateFolderRequest(); - ~UpdateFolderRequest(); - - std::string getFolderId()const; - void setFolderId(const std::string& folderId); - std::string getNewFolderName()const; - void setNewFolderName(const std::string& newFolderName); - - private: - std::string folderId_; - std::string newFolderName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateFolderRequest : public RpcServiceRequest { +public: + UpdateFolderRequest(); + ~UpdateFolderRequest(); + std::string getFolderId() const; + void setFolderId(const std::string &folderId); + std::string getNewFolderName() const; + void setNewFolderName(const std::string &newFolderName); + +private: + std::string folderId_; + std::string newFolderName_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEFOLDERREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateResourceGroupRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateResourceGroupRequest.h index 3fbcf0c22..32b93c0db 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateResourceGroupRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateResourceGroupRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateResourceGroupRequest : public RpcServiceRequest - { - - public: - UpdateResourceGroupRequest(); - ~UpdateResourceGroupRequest(); - - std::string getNewDisplayName()const; - void setNewDisplayName(const std::string& newDisplayName); - std::string getResourceGroupId()const; - void setResourceGroupId(const std::string& resourceGroupId); - - private: - std::string newDisplayName_; - std::string resourceGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateResourceGroupRequest : public RpcServiceRequest { +public: + UpdateResourceGroupRequest(); + ~UpdateResourceGroupRequest(); + std::string getNewDisplayName() const; + void setNewDisplayName(const std::string &newDisplayName); + std::string getResourceGroupId() const; + void setResourceGroupId(const std::string &resourceGroupId); + +private: + std::string newDisplayName_; + std::string resourceGroupId_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATERESOURCEGROUPREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleRequest.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleRequest.h index 829b3c57b..7e8823f04 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleRequest.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ -#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace ResourceManager - { - namespace Model - { - class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateRoleRequest : public RpcServiceRequest - { - - public: - UpdateRoleRequest(); - ~UpdateRoleRequest(); - - std::string getNewAssumeRolePolicyDocument()const; - void setNewAssumeRolePolicyDocument(const std::string& newAssumeRolePolicyDocument); - std::string getRoleName()const; - void setRoleName(const std::string& roleName); - long getNewMaxSessionDuration()const; - void setNewMaxSessionDuration(long newMaxSessionDuration); - std::string getNewDescription()const; - void setNewDescription(const std::string& newDescription); - - private: - std::string newAssumeRolePolicyDocument_; - std::string roleName_; - long newMaxSessionDuration_; - std::string newDescription_; - - }; - } - } -} -#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ +#define ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace ResourceManager { +namespace Model { +class ALIBABACLOUD_RESOURCEMANAGER_EXPORT UpdateRoleRequest : public RpcServiceRequest { +public: + UpdateRoleRequest(); + ~UpdateRoleRequest(); + std::string getNewAssumeRolePolicyDocument() const; + void setNewAssumeRolePolicyDocument(const std::string &newAssumeRolePolicyDocument); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + long getNewMaxSessionDuration() const; + void setNewMaxSessionDuration(long newMaxSessionDuration); + std::string getNewDescription() const; + void setNewDescription(const std::string &newDescription); + +private: + std::string newAssumeRolePolicyDocument_; + std::string roleName_; + long newMaxSessionDuration_; + std::string newDescription_; +}; +} // namespace Model +} // namespace ResourceManager +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_RESOURCEMANAGER_MODEL_UPDATEROLEREQUEST_H_ diff --git a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleResult.h b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleResult.h index 92be7e25b..5cfb265f1 100644 --- a/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleResult.h +++ b/resourcemanager/include/alibabacloud/resourcemanager/model/UpdateRoleResult.h @@ -34,14 +34,14 @@ namespace AlibabaCloud public: struct Role { - long maxSessionDuration; std::string updateDate; + long maxSessionDuration; std::string roleName; std::string description; std::string assumeRolePolicyDocument; std::string arn; - std::string roleId; std::string createDate; + std::string roleId; std::string rolePrincipalName; }; diff --git a/resourcemanager/src/model/AcceptHandshakeRequest.cc b/resourcemanager/src/model/AcceptHandshakeRequest.cc index 4c9f485f3..0a202feec 100644 --- a/resourcemanager/src/model/AcceptHandshakeRequest.cc +++ b/resourcemanager/src/model/AcceptHandshakeRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::AcceptHandshakeRequest; - -AcceptHandshakeRequest::AcceptHandshakeRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "AcceptHandshake") -{ - setMethod(HttpRequest::Method::Post); -} - -AcceptHandshakeRequest::~AcceptHandshakeRequest() -{} - -std::string AcceptHandshakeRequest::getHandshakeId()const -{ - return handshakeId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::AcceptHandshakeRequest; + +AcceptHandshakeRequest::AcceptHandshakeRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "AcceptHandshake") { + setMethod(HttpRequest::Method::Post); } -void AcceptHandshakeRequest::setHandshakeId(const std::string& handshakeId) -{ - handshakeId_ = handshakeId; - setParameter("HandshakeId", handshakeId); +AcceptHandshakeRequest::~AcceptHandshakeRequest() {} + +std::string AcceptHandshakeRequest::getHandshakeId() const { + return handshakeId_; +} + +void AcceptHandshakeRequest::setHandshakeId(const std::string &handshakeId) { + handshakeId_ = handshakeId; + setParameter(std::string("HandshakeId"), handshakeId); } diff --git a/resourcemanager/src/model/AttachControlPolicyRequest.cc b/resourcemanager/src/model/AttachControlPolicyRequest.cc index 186ac667c..7aa3e2209 100644 --- a/resourcemanager/src/model/AttachControlPolicyRequest.cc +++ b/resourcemanager/src/model/AttachControlPolicyRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::AttachControlPolicyRequest; - -AttachControlPolicyRequest::AttachControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "AttachControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -AttachControlPolicyRequest::~AttachControlPolicyRequest() -{} - -std::string AttachControlPolicyRequest::getTargetId()const -{ - return targetId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::AttachControlPolicyRequest; + +AttachControlPolicyRequest::AttachControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "AttachControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void AttachControlPolicyRequest::setTargetId(const std::string& targetId) -{ - targetId_ = targetId; - setParameter("TargetId", targetId); +AttachControlPolicyRequest::~AttachControlPolicyRequest() {} + +std::string AttachControlPolicyRequest::getTargetId() const { + return targetId_; } -std::string AttachControlPolicyRequest::getPolicyId()const -{ - return policyId_; +void AttachControlPolicyRequest::setTargetId(const std::string &targetId) { + targetId_ = targetId; + setParameter(std::string("TargetId"), targetId); } -void AttachControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +std::string AttachControlPolicyRequest::getPolicyId() const { + return policyId_; +} + +void AttachControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } diff --git a/resourcemanager/src/model/AttachPolicyRequest.cc b/resourcemanager/src/model/AttachPolicyRequest.cc index 4e7cade2f..c53394f06 100644 --- a/resourcemanager/src/model/AttachPolicyRequest.cc +++ b/resourcemanager/src/model/AttachPolicyRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::AttachPolicyRequest; - -AttachPolicyRequest::AttachPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "AttachPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -AttachPolicyRequest::~AttachPolicyRequest() -{} - -std::string AttachPolicyRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::AttachPolicyRequest; + +AttachPolicyRequest::AttachPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "AttachPolicy") { + setMethod(HttpRequest::Method::Post); } -void AttachPolicyRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +AttachPolicyRequest::~AttachPolicyRequest() {} + +std::string AttachPolicyRequest::getPolicyType() const { + return policyType_; } -std::string AttachPolicyRequest::getPrincipalType()const -{ - return principalType_; +void AttachPolicyRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void AttachPolicyRequest::setPrincipalType(const std::string& principalType) -{ - principalType_ = principalType; - setParameter("PrincipalType", principalType); +std::string AttachPolicyRequest::getPrincipalType() const { + return principalType_; } -std::string AttachPolicyRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void AttachPolicyRequest::setPrincipalType(const std::string &principalType) { + principalType_ = principalType; + setParameter(std::string("PrincipalType"), principalType); } -void AttachPolicyRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string AttachPolicyRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string AttachPolicyRequest::getPolicyName()const -{ - return policyName_; +void AttachPolicyRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void AttachPolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string AttachPolicyRequest::getPolicyName() const { + return policyName_; } -std::string AttachPolicyRequest::getPrincipalName()const -{ - return principalName_; +void AttachPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void AttachPolicyRequest::setPrincipalName(const std::string& principalName) -{ - principalName_ = principalName; - setParameter("PrincipalName", principalName); +std::string AttachPolicyRequest::getPrincipalName() const { + return principalName_; +} + +void AttachPolicyRequest::setPrincipalName(const std::string &principalName) { + principalName_ = principalName; + setParameter(std::string("PrincipalName"), principalName); } diff --git a/resourcemanager/src/model/BindSecureMobilePhoneRequest.cc b/resourcemanager/src/model/BindSecureMobilePhoneRequest.cc index a0507017d..04eef6408 100644 --- a/resourcemanager/src/model/BindSecureMobilePhoneRequest.cc +++ b/resourcemanager/src/model/BindSecureMobilePhoneRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::BindSecureMobilePhoneRequest; - -BindSecureMobilePhoneRequest::BindSecureMobilePhoneRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "BindSecureMobilePhone") -{ - setMethod(HttpRequest::Method::Post); -} - -BindSecureMobilePhoneRequest::~BindSecureMobilePhoneRequest() -{} - -std::string BindSecureMobilePhoneRequest::getSecureMobilePhone()const -{ - return secureMobilePhone_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::BindSecureMobilePhoneRequest; + +BindSecureMobilePhoneRequest::BindSecureMobilePhoneRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "BindSecureMobilePhone") { + setMethod(HttpRequest::Method::Post); } -void BindSecureMobilePhoneRequest::setSecureMobilePhone(const std::string& secureMobilePhone) -{ - secureMobilePhone_ = secureMobilePhone; - setParameter("SecureMobilePhone", secureMobilePhone); +BindSecureMobilePhoneRequest::~BindSecureMobilePhoneRequest() {} + +std::string BindSecureMobilePhoneRequest::getSecureMobilePhone() const { + return secureMobilePhone_; } -std::string BindSecureMobilePhoneRequest::getAccountId()const -{ - return accountId_; +void BindSecureMobilePhoneRequest::setSecureMobilePhone(const std::string &secureMobilePhone) { + secureMobilePhone_ = secureMobilePhone; + setParameter(std::string("SecureMobilePhone"), secureMobilePhone); } -void BindSecureMobilePhoneRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +std::string BindSecureMobilePhoneRequest::getAccountId() const { + return accountId_; } -std::string BindSecureMobilePhoneRequest::getVerificationCode()const -{ - return verificationCode_; +void BindSecureMobilePhoneRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } -void BindSecureMobilePhoneRequest::setVerificationCode(const std::string& verificationCode) -{ - verificationCode_ = verificationCode; - setParameter("VerificationCode", verificationCode); +std::string BindSecureMobilePhoneRequest::getVerificationCode() const { + return verificationCode_; +} + +void BindSecureMobilePhoneRequest::setVerificationCode(const std::string &verificationCode) { + verificationCode_ = verificationCode; + setParameter(std::string("VerificationCode"), verificationCode); } diff --git a/resourcemanager/src/model/CancelCreateCloudAccountRequest.cc b/resourcemanager/src/model/CancelCreateCloudAccountRequest.cc index 3b24a6f1d..297ae2ff8 100644 --- a/resourcemanager/src/model/CancelCreateCloudAccountRequest.cc +++ b/resourcemanager/src/model/CancelCreateCloudAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CancelCreateCloudAccountRequest; - -CancelCreateCloudAccountRequest::CancelCreateCloudAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CancelCreateCloudAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelCreateCloudAccountRequest::~CancelCreateCloudAccountRequest() -{} - -std::string CancelCreateCloudAccountRequest::getRecordId()const -{ - return recordId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CancelCreateCloudAccountRequest; + +CancelCreateCloudAccountRequest::CancelCreateCloudAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CancelCreateCloudAccount") { + setMethod(HttpRequest::Method::Post); } -void CancelCreateCloudAccountRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); +CancelCreateCloudAccountRequest::~CancelCreateCloudAccountRequest() {} + +std::string CancelCreateCloudAccountRequest::getRecordId() const { + return recordId_; +} + +void CancelCreateCloudAccountRequest::setRecordId(const std::string &recordId) { + recordId_ = recordId; + setParameter(std::string("RecordId"), recordId); } diff --git a/resourcemanager/src/model/CancelHandshakeRequest.cc b/resourcemanager/src/model/CancelHandshakeRequest.cc index 5397d0f88..81ee48d2a 100644 --- a/resourcemanager/src/model/CancelHandshakeRequest.cc +++ b/resourcemanager/src/model/CancelHandshakeRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CancelHandshakeRequest; - -CancelHandshakeRequest::CancelHandshakeRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CancelHandshake") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelHandshakeRequest::~CancelHandshakeRequest() -{} - -std::string CancelHandshakeRequest::getHandshakeId()const -{ - return handshakeId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CancelHandshakeRequest; + +CancelHandshakeRequest::CancelHandshakeRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CancelHandshake") { + setMethod(HttpRequest::Method::Post); } -void CancelHandshakeRequest::setHandshakeId(const std::string& handshakeId) -{ - handshakeId_ = handshakeId; - setParameter("HandshakeId", handshakeId); +CancelHandshakeRequest::~CancelHandshakeRequest() {} + +std::string CancelHandshakeRequest::getHandshakeId() const { + return handshakeId_; +} + +void CancelHandshakeRequest::setHandshakeId(const std::string &handshakeId) { + handshakeId_ = handshakeId; + setParameter(std::string("HandshakeId"), handshakeId); } diff --git a/resourcemanager/src/model/CancelPromoteResourceAccountRequest.cc b/resourcemanager/src/model/CancelPromoteResourceAccountRequest.cc index 1450b0b6c..a97d90048 100644 --- a/resourcemanager/src/model/CancelPromoteResourceAccountRequest.cc +++ b/resourcemanager/src/model/CancelPromoteResourceAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CancelPromoteResourceAccountRequest; - -CancelPromoteResourceAccountRequest::CancelPromoteResourceAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CancelPromoteResourceAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelPromoteResourceAccountRequest::~CancelPromoteResourceAccountRequest() -{} - -std::string CancelPromoteResourceAccountRequest::getRecordId()const -{ - return recordId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CancelPromoteResourceAccountRequest; + +CancelPromoteResourceAccountRequest::CancelPromoteResourceAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CancelPromoteResourceAccount") { + setMethod(HttpRequest::Method::Post); } -void CancelPromoteResourceAccountRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); +CancelPromoteResourceAccountRequest::~CancelPromoteResourceAccountRequest() {} + +std::string CancelPromoteResourceAccountRequest::getRecordId() const { + return recordId_; +} + +void CancelPromoteResourceAccountRequest::setRecordId(const std::string &recordId) { + recordId_ = recordId; + setParameter(std::string("RecordId"), recordId); } diff --git a/resourcemanager/src/model/CreateCloudAccountRequest.cc b/resourcemanager/src/model/CreateCloudAccountRequest.cc index 377c4169a..ec92dcb84 100644 --- a/resourcemanager/src/model/CreateCloudAccountRequest.cc +++ b/resourcemanager/src/model/CreateCloudAccountRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CreateCloudAccountRequest; - -CreateCloudAccountRequest::CreateCloudAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateCloudAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCloudAccountRequest::~CreateCloudAccountRequest() -{} - -std::string CreateCloudAccountRequest::getParentFolderId()const -{ - return parentFolderId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateCloudAccountRequest; + +CreateCloudAccountRequest::CreateCloudAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateCloudAccount") { + setMethod(HttpRequest::Method::Post); } -void CreateCloudAccountRequest::setParentFolderId(const std::string& parentFolderId) -{ - parentFolderId_ = parentFolderId; - setParameter("ParentFolderId", parentFolderId); +CreateCloudAccountRequest::~CreateCloudAccountRequest() {} + +std::string CreateCloudAccountRequest::getParentFolderId() const { + return parentFolderId_; } -std::string CreateCloudAccountRequest::getDisplayName()const -{ - return displayName_; +void CreateCloudAccountRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); } -void CreateCloudAccountRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string CreateCloudAccountRequest::getDisplayName() const { + return displayName_; } -std::string CreateCloudAccountRequest::getEmail()const -{ - return email_; +void CreateCloudAccountRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void CreateCloudAccountRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); +std::string CreateCloudAccountRequest::getEmail() const { + return email_; } -std::string CreateCloudAccountRequest::getPayerAccountId()const -{ - return payerAccountId_; +void CreateCloudAccountRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); } -void CreateCloudAccountRequest::setPayerAccountId(const std::string& payerAccountId) -{ - payerAccountId_ = payerAccountId; - setParameter("PayerAccountId", payerAccountId); +std::string CreateCloudAccountRequest::getPayerAccountId() const { + return payerAccountId_; +} + +void CreateCloudAccountRequest::setPayerAccountId(const std::string &payerAccountId) { + payerAccountId_ = payerAccountId; + setParameter(std::string("PayerAccountId"), payerAccountId); } diff --git a/resourcemanager/src/model/CreateControlPolicyRequest.cc b/resourcemanager/src/model/CreateControlPolicyRequest.cc index 94c423a37..906cf66f8 100644 --- a/resourcemanager/src/model/CreateControlPolicyRequest.cc +++ b/resourcemanager/src/model/CreateControlPolicyRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CreateControlPolicyRequest; - -CreateControlPolicyRequest::CreateControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateControlPolicyRequest::~CreateControlPolicyRequest() -{} - -std::string CreateControlPolicyRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateControlPolicyRequest; + +CreateControlPolicyRequest::CreateControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void CreateControlPolicyRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +CreateControlPolicyRequest::~CreateControlPolicyRequest() {} + +std::string CreateControlPolicyRequest::getDescription() const { + return description_; } -std::string CreateControlPolicyRequest::getEffectScope()const -{ - return effectScope_; +void CreateControlPolicyRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateControlPolicyRequest::setEffectScope(const std::string& effectScope) -{ - effectScope_ = effectScope; - setParameter("EffectScope", effectScope); +std::string CreateControlPolicyRequest::getEffectScope() const { + return effectScope_; } -std::string CreateControlPolicyRequest::getPolicyName()const -{ - return policyName_; +void CreateControlPolicyRequest::setEffectScope(const std::string &effectScope) { + effectScope_ = effectScope; + setParameter(std::string("EffectScope"), effectScope); } -void CreateControlPolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string CreateControlPolicyRequest::getPolicyName() const { + return policyName_; } -std::string CreateControlPolicyRequest::getPolicyDocument()const -{ - return policyDocument_; +void CreateControlPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void CreateControlPolicyRequest::setPolicyDocument(const std::string& policyDocument) -{ - policyDocument_ = policyDocument; - setParameter("PolicyDocument", policyDocument); +std::string CreateControlPolicyRequest::getPolicyDocument() const { + return policyDocument_; +} + +void CreateControlPolicyRequest::setPolicyDocument(const std::string &policyDocument) { + policyDocument_ = policyDocument; + setParameter(std::string("PolicyDocument"), policyDocument); } diff --git a/resourcemanager/src/model/CreateFolderRequest.cc b/resourcemanager/src/model/CreateFolderRequest.cc index 244ca55b5..f9069a582 100644 --- a/resourcemanager/src/model/CreateFolderRequest.cc +++ b/resourcemanager/src/model/CreateFolderRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::CreateFolderRequest; - -CreateFolderRequest::CreateFolderRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateFolderRequest::~CreateFolderRequest() -{} - -std::string CreateFolderRequest::getFolderName()const -{ - return folderName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateFolderRequest; + +CreateFolderRequest::CreateFolderRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateFolder") { + setMethod(HttpRequest::Method::Post); } -void CreateFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setParameter("FolderName", folderName); +CreateFolderRequest::~CreateFolderRequest() {} + +std::string CreateFolderRequest::getFolderName() const { + return folderName_; } -std::string CreateFolderRequest::getParentFolderId()const -{ - return parentFolderId_; +void CreateFolderRequest::setFolderName(const std::string &folderName) { + folderName_ = folderName; + setParameter(std::string("FolderName"), folderName); } -void CreateFolderRequest::setParentFolderId(const std::string& parentFolderId) -{ - parentFolderId_ = parentFolderId; - setParameter("ParentFolderId", parentFolderId); +std::string CreateFolderRequest::getParentFolderId() const { + return parentFolderId_; +} + +void CreateFolderRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); } diff --git a/resourcemanager/src/model/CreatePolicyRequest.cc b/resourcemanager/src/model/CreatePolicyRequest.cc index 76887dc20..fc5535af7 100644 --- a/resourcemanager/src/model/CreatePolicyRequest.cc +++ b/resourcemanager/src/model/CreatePolicyRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::CreatePolicyRequest; - -CreatePolicyRequest::CreatePolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreatePolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -CreatePolicyRequest::~CreatePolicyRequest() -{} - -std::string CreatePolicyRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreatePolicyRequest; + +CreatePolicyRequest::CreatePolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreatePolicy") { + setMethod(HttpRequest::Method::Post); } -void CreatePolicyRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +CreatePolicyRequest::~CreatePolicyRequest() {} + +std::string CreatePolicyRequest::getDescription() const { + return description_; } -std::string CreatePolicyRequest::getPolicyName()const -{ - return policyName_; +void CreatePolicyRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreatePolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string CreatePolicyRequest::getPolicyName() const { + return policyName_; } -std::string CreatePolicyRequest::getPolicyDocument()const -{ - return policyDocument_; +void CreatePolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void CreatePolicyRequest::setPolicyDocument(const std::string& policyDocument) -{ - policyDocument_ = policyDocument; - setParameter("PolicyDocument", policyDocument); +std::string CreatePolicyRequest::getPolicyDocument() const { + return policyDocument_; +} + +void CreatePolicyRequest::setPolicyDocument(const std::string &policyDocument) { + policyDocument_ = policyDocument; + setParameter(std::string("PolicyDocument"), policyDocument); } diff --git a/resourcemanager/src/model/CreatePolicyResult.cc b/resourcemanager/src/model/CreatePolicyResult.cc index 589ecd9b4..171c5ef0c 100644 --- a/resourcemanager/src/model/CreatePolicyResult.cc +++ b/resourcemanager/src/model/CreatePolicyResult.cc @@ -40,16 +40,16 @@ void CreatePolicyResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto policyNode = value["Policy"]; - if(!policyNode["PolicyType"].isNull()) - policy_.policyType = policyNode["PolicyType"].asString(); + if(!policyNode["DefaultVersion"].isNull()) + policy_.defaultVersion = policyNode["DefaultVersion"].asString(); if(!policyNode["Description"].isNull()) policy_.description = policyNode["Description"].asString(); if(!policyNode["PolicyName"].isNull()) policy_.policyName = policyNode["PolicyName"].asString(); - if(!policyNode["DefaultVersion"].isNull()) - policy_.defaultVersion = policyNode["DefaultVersion"].asString(); if(!policyNode["CreateDate"].isNull()) policy_.createDate = policyNode["CreateDate"].asString(); + if(!policyNode["PolicyType"].isNull()) + policy_.policyType = policyNode["PolicyType"].asString(); } diff --git a/resourcemanager/src/model/CreatePolicyVersionRequest.cc b/resourcemanager/src/model/CreatePolicyVersionRequest.cc index 2279efdf6..2f85ba5b0 100644 --- a/resourcemanager/src/model/CreatePolicyVersionRequest.cc +++ b/resourcemanager/src/model/CreatePolicyVersionRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::CreatePolicyVersionRequest; - -CreatePolicyVersionRequest::CreatePolicyVersionRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreatePolicyVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -CreatePolicyVersionRequest::~CreatePolicyVersionRequest() -{} - -bool CreatePolicyVersionRequest::getSetAsDefault()const -{ - return setAsDefault_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreatePolicyVersionRequest; + +CreatePolicyVersionRequest::CreatePolicyVersionRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreatePolicyVersion") { + setMethod(HttpRequest::Method::Post); } -void CreatePolicyVersionRequest::setSetAsDefault(bool setAsDefault) -{ - setAsDefault_ = setAsDefault; - setParameter("SetAsDefault", setAsDefault ? "true" : "false"); +CreatePolicyVersionRequest::~CreatePolicyVersionRequest() {} + +bool CreatePolicyVersionRequest::getSetAsDefault() const { + return setAsDefault_; } -std::string CreatePolicyVersionRequest::getPolicyName()const -{ - return policyName_; +void CreatePolicyVersionRequest::setSetAsDefault(bool setAsDefault) { + setAsDefault_ = setAsDefault; + setParameter(std::string("SetAsDefault"), setAsDefault ? "true" : "false"); } -void CreatePolicyVersionRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string CreatePolicyVersionRequest::getPolicyName() const { + return policyName_; } -std::string CreatePolicyVersionRequest::getPolicyDocument()const -{ - return policyDocument_; +void CreatePolicyVersionRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void CreatePolicyVersionRequest::setPolicyDocument(const std::string& policyDocument) -{ - policyDocument_ = policyDocument; - setParameter("PolicyDocument", policyDocument); +std::string CreatePolicyVersionRequest::getPolicyDocument() const { + return policyDocument_; +} + +void CreatePolicyVersionRequest::setPolicyDocument(const std::string &policyDocument) { + policyDocument_ = policyDocument; + setParameter(std::string("PolicyDocument"), policyDocument); } diff --git a/resourcemanager/src/model/CreatePolicyVersionResult.cc b/resourcemanager/src/model/CreatePolicyVersionResult.cc index 021001a75..29eb724c7 100644 --- a/resourcemanager/src/model/CreatePolicyVersionResult.cc +++ b/resourcemanager/src/model/CreatePolicyVersionResult.cc @@ -40,10 +40,10 @@ void CreatePolicyVersionResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto policyVersionNode = value["PolicyVersion"]; - if(!policyVersionNode["VersionId"].isNull()) - policyVersion_.versionId = policyVersionNode["VersionId"].asString(); if(!policyVersionNode["IsDefaultVersion"].isNull()) policyVersion_.isDefaultVersion = policyVersionNode["IsDefaultVersion"].asString() == "true"; + if(!policyVersionNode["VersionId"].isNull()) + policyVersion_.versionId = policyVersionNode["VersionId"].asString(); if(!policyVersionNode["CreateDate"].isNull()) policyVersion_.createDate = policyVersionNode["CreateDate"].asString(); diff --git a/resourcemanager/src/model/CreateResourceAccountRequest.cc b/resourcemanager/src/model/CreateResourceAccountRequest.cc index 4ca26173a..55ad09ba7 100644 --- a/resourcemanager/src/model/CreateResourceAccountRequest.cc +++ b/resourcemanager/src/model/CreateResourceAccountRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CreateResourceAccountRequest; - -CreateResourceAccountRequest::CreateResourceAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateResourceAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateResourceAccountRequest::~CreateResourceAccountRequest() -{} - -std::string CreateResourceAccountRequest::getAccountNamePrefix()const -{ - return accountNamePrefix_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateResourceAccountRequest; + +CreateResourceAccountRequest::CreateResourceAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateResourceAccount") { + setMethod(HttpRequest::Method::Post); } -void CreateResourceAccountRequest::setAccountNamePrefix(const std::string& accountNamePrefix) -{ - accountNamePrefix_ = accountNamePrefix; - setParameter("AccountNamePrefix", accountNamePrefix); +CreateResourceAccountRequest::~CreateResourceAccountRequest() {} + +std::string CreateResourceAccountRequest::getAccountNamePrefix() const { + return accountNamePrefix_; } -std::string CreateResourceAccountRequest::getParentFolderId()const -{ - return parentFolderId_; +void CreateResourceAccountRequest::setAccountNamePrefix(const std::string &accountNamePrefix) { + accountNamePrefix_ = accountNamePrefix; + setParameter(std::string("AccountNamePrefix"), accountNamePrefix); } -void CreateResourceAccountRequest::setParentFolderId(const std::string& parentFolderId) -{ - parentFolderId_ = parentFolderId; - setParameter("ParentFolderId", parentFolderId); +std::string CreateResourceAccountRequest::getParentFolderId() const { + return parentFolderId_; } -std::string CreateResourceAccountRequest::getDisplayName()const -{ - return displayName_; +void CreateResourceAccountRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); } -void CreateResourceAccountRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string CreateResourceAccountRequest::getDisplayName() const { + return displayName_; } -std::string CreateResourceAccountRequest::getPayerAccountId()const -{ - return payerAccountId_; +void CreateResourceAccountRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void CreateResourceAccountRequest::setPayerAccountId(const std::string& payerAccountId) -{ - payerAccountId_ = payerAccountId; - setParameter("PayerAccountId", payerAccountId); +std::string CreateResourceAccountRequest::getPayerAccountId() const { + return payerAccountId_; +} + +void CreateResourceAccountRequest::setPayerAccountId(const std::string &payerAccountId) { + payerAccountId_ = payerAccountId; + setParameter(std::string("PayerAccountId"), payerAccountId); } diff --git a/resourcemanager/src/model/CreateResourceGroupRequest.cc b/resourcemanager/src/model/CreateResourceGroupRequest.cc index 74c88468e..680b7e358 100644 --- a/resourcemanager/src/model/CreateResourceGroupRequest.cc +++ b/resourcemanager/src/model/CreateResourceGroupRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::CreateResourceGroupRequest; - -CreateResourceGroupRequest::CreateResourceGroupRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateResourceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateResourceGroupRequest::~CreateResourceGroupRequest() -{} - -std::string CreateResourceGroupRequest::getDisplayName()const -{ - return displayName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateResourceGroupRequest; + +CreateResourceGroupRequest::CreateResourceGroupRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateResourceGroup") { + setMethod(HttpRequest::Method::Post); } -void CreateResourceGroupRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +CreateResourceGroupRequest::~CreateResourceGroupRequest() {} + +std::string CreateResourceGroupRequest::getDisplayName() const { + return displayName_; } -std::string CreateResourceGroupRequest::getName()const -{ - return name_; +void CreateResourceGroupRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void CreateResourceGroupRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateResourceGroupRequest::getName() const { + return name_; +} + +void CreateResourceGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/resourcemanager/src/model/CreateResourceGroupResult.cc b/resourcemanager/src/model/CreateResourceGroupResult.cc index c67f571e3..883fcc772 100644 --- a/resourcemanager/src/model/CreateResourceGroupResult.cc +++ b/resourcemanager/src/model/CreateResourceGroupResult.cc @@ -40,18 +40,18 @@ void CreateResourceGroupResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto resourceGroupNode = value["ResourceGroup"]; + if(!resourceGroupNode["DisplayName"].isNull()) + resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); if(!resourceGroupNode["Status"].isNull()) resourceGroup_.status = resourceGroupNode["Status"].asString(); if(!resourceGroupNode["AccountId"].isNull()) resourceGroup_.accountId = resourceGroupNode["AccountId"].asString(); - if(!resourceGroupNode["DisplayName"].isNull()) - resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); - if(!resourceGroupNode["Id"].isNull()) - resourceGroup_.id = resourceGroupNode["Id"].asString(); - if(!resourceGroupNode["CreateDate"].isNull()) - resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); if(!resourceGroupNode["Name"].isNull()) resourceGroup_.name = resourceGroupNode["Name"].asString(); + if(!resourceGroupNode["CreateDate"].isNull()) + resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); + if(!resourceGroupNode["Id"].isNull()) + resourceGroup_.id = resourceGroupNode["Id"].asString(); auto allRegionStatusesNode = resourceGroupNode["RegionStatuses"]["RegionStatus"]; for (auto resourceGroupNodeRegionStatusesRegionStatus : allRegionStatusesNode) { diff --git a/resourcemanager/src/model/CreateRoleRequest.cc b/resourcemanager/src/model/CreateRoleRequest.cc index f5e4c14c1..b82872db4 100644 --- a/resourcemanager/src/model/CreateRoleRequest.cc +++ b/resourcemanager/src/model/CreateRoleRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::CreateRoleRequest; - -CreateRoleRequest::CreateRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateRole") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateRoleRequest::~CreateRoleRequest() -{} - -long CreateRoleRequest::getMaxSessionDuration()const -{ - return maxSessionDuration_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateRoleRequest; + +CreateRoleRequest::CreateRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateRole") { + setMethod(HttpRequest::Method::Post); } -void CreateRoleRequest::setMaxSessionDuration(long maxSessionDuration) -{ - maxSessionDuration_ = maxSessionDuration; - setParameter("MaxSessionDuration", std::to_string(maxSessionDuration)); +CreateRoleRequest::~CreateRoleRequest() {} + +long CreateRoleRequest::getMaxSessionDuration() const { + return maxSessionDuration_; } -std::string CreateRoleRequest::getRoleName()const -{ - return roleName_; +void CreateRoleRequest::setMaxSessionDuration(long maxSessionDuration) { + maxSessionDuration_ = maxSessionDuration; + setParameter(std::string("MaxSessionDuration"), std::to_string(maxSessionDuration)); } -void CreateRoleRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setParameter("RoleName", roleName); +std::string CreateRoleRequest::getRoleName() const { + return roleName_; } -std::string CreateRoleRequest::getDescription()const -{ - return description_; +void CreateRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); } -void CreateRoleRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateRoleRequest::getDescription() const { + return description_; } -std::string CreateRoleRequest::getAssumeRolePolicyDocument()const -{ - return assumeRolePolicyDocument_; +void CreateRoleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateRoleRequest::setAssumeRolePolicyDocument(const std::string& assumeRolePolicyDocument) -{ - assumeRolePolicyDocument_ = assumeRolePolicyDocument; - setParameter("AssumeRolePolicyDocument", assumeRolePolicyDocument); +std::string CreateRoleRequest::getAssumeRolePolicyDocument() const { + return assumeRolePolicyDocument_; +} + +void CreateRoleRequest::setAssumeRolePolicyDocument(const std::string &assumeRolePolicyDocument) { + assumeRolePolicyDocument_ = assumeRolePolicyDocument; + setParameter(std::string("AssumeRolePolicyDocument"), assumeRolePolicyDocument); } diff --git a/resourcemanager/src/model/CreateRoleResult.cc b/resourcemanager/src/model/CreateRoleResult.cc index 50c21b664..be434ba39 100644 --- a/resourcemanager/src/model/CreateRoleResult.cc +++ b/resourcemanager/src/model/CreateRoleResult.cc @@ -40,22 +40,22 @@ void CreateRoleResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto roleNode = value["Role"]; + if(!roleNode["AssumeRolePolicyDocument"].isNull()) + role_.assumeRolePolicyDocument = roleNode["AssumeRolePolicyDocument"].asString(); + if(!roleNode["RolePrincipalName"].isNull()) + role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); + if(!roleNode["Description"].isNull()) + role_.description = roleNode["Description"].asString(); if(!roleNode["MaxSessionDuration"].isNull()) role_.maxSessionDuration = std::stol(roleNode["MaxSessionDuration"].asString()); if(!roleNode["RoleName"].isNull()) role_.roleName = roleNode["RoleName"].asString(); - if(!roleNode["Description"].isNull()) - role_.description = roleNode["Description"].asString(); - if(!roleNode["AssumeRolePolicyDocument"].isNull()) - role_.assumeRolePolicyDocument = roleNode["AssumeRolePolicyDocument"].asString(); + if(!roleNode["CreateDate"].isNull()) + role_.createDate = roleNode["CreateDate"].asString(); if(!roleNode["Arn"].isNull()) role_.arn = roleNode["Arn"].asString(); if(!roleNode["RoleId"].isNull()) role_.roleId = roleNode["RoleId"].asString(); - if(!roleNode["CreateDate"].isNull()) - role_.createDate = roleNode["CreateDate"].asString(); - if(!roleNode["RolePrincipalName"].isNull()) - role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); } diff --git a/resourcemanager/src/model/CreateServiceLinkedRoleRequest.cc b/resourcemanager/src/model/CreateServiceLinkedRoleRequest.cc index 108823fe6..b3ab8c387 100644 --- a/resourcemanager/src/model/CreateServiceLinkedRoleRequest.cc +++ b/resourcemanager/src/model/CreateServiceLinkedRoleRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::CreateServiceLinkedRoleRequest; - -CreateServiceLinkedRoleRequest::CreateServiceLinkedRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "CreateServiceLinkedRole") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateServiceLinkedRoleRequest::~CreateServiceLinkedRoleRequest() -{} - -std::string CreateServiceLinkedRoleRequest::getCustomSuffix()const -{ - return customSuffix_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::CreateServiceLinkedRoleRequest; + +CreateServiceLinkedRoleRequest::CreateServiceLinkedRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "CreateServiceLinkedRole") { + setMethod(HttpRequest::Method::Post); } -void CreateServiceLinkedRoleRequest::setCustomSuffix(const std::string& customSuffix) -{ - customSuffix_ = customSuffix; - setParameter("CustomSuffix", customSuffix); +CreateServiceLinkedRoleRequest::~CreateServiceLinkedRoleRequest() {} + +std::string CreateServiceLinkedRoleRequest::getCustomSuffix() const { + return customSuffix_; } -std::string CreateServiceLinkedRoleRequest::getDescription()const -{ - return description_; +void CreateServiceLinkedRoleRequest::setCustomSuffix(const std::string &customSuffix) { + customSuffix_ = customSuffix; + setParameter(std::string("CustomSuffix"), customSuffix); } -void CreateServiceLinkedRoleRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateServiceLinkedRoleRequest::getDescription() const { + return description_; } -std::string CreateServiceLinkedRoleRequest::getServiceName()const -{ - return serviceName_; +void CreateServiceLinkedRoleRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateServiceLinkedRoleRequest::setServiceName(const std::string& serviceName) -{ - serviceName_ = serviceName; - setParameter("ServiceName", serviceName); +std::string CreateServiceLinkedRoleRequest::getServiceName() const { + return serviceName_; +} + +void CreateServiceLinkedRoleRequest::setServiceName(const std::string &serviceName) { + serviceName_ = serviceName; + setParameter(std::string("ServiceName"), serviceName); } diff --git a/resourcemanager/src/model/CreateServiceLinkedRoleResult.cc b/resourcemanager/src/model/CreateServiceLinkedRoleResult.cc index df396b789..3d3556397 100644 --- a/resourcemanager/src/model/CreateServiceLinkedRoleResult.cc +++ b/resourcemanager/src/model/CreateServiceLinkedRoleResult.cc @@ -40,22 +40,22 @@ void CreateServiceLinkedRoleResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto roleNode = value["Role"]; - if(!roleNode["RoleName"].isNull()) - role_.roleName = roleNode["RoleName"].asString(); - if(!roleNode["Description"].isNull()) - role_.description = roleNode["Description"].asString(); if(!roleNode["AssumeRolePolicyDocument"].isNull()) role_.assumeRolePolicyDocument = roleNode["AssumeRolePolicyDocument"].asString(); - if(!roleNode["IsServiceLinkedRole"].isNull()) - role_.isServiceLinkedRole = roleNode["IsServiceLinkedRole"].asString() == "true"; + if(!roleNode["RolePrincipalName"].isNull()) + role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); + if(!roleNode["Description"].isNull()) + role_.description = roleNode["Description"].asString(); + if(!roleNode["RoleName"].isNull()) + role_.roleName = roleNode["RoleName"].asString(); + if(!roleNode["CreateDate"].isNull()) + role_.createDate = roleNode["CreateDate"].asString(); if(!roleNode["Arn"].isNull()) role_.arn = roleNode["Arn"].asString(); if(!roleNode["RoleId"].isNull()) role_.roleId = roleNode["RoleId"].asString(); - if(!roleNode["CreateDate"].isNull()) - role_.createDate = roleNode["CreateDate"].asString(); - if(!roleNode["RolePrincipalName"].isNull()) - role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); + if(!roleNode["IsServiceLinkedRole"].isNull()) + role_.isServiceLinkedRole = roleNode["IsServiceLinkedRole"].asString() == "true"; } diff --git a/resourcemanager/src/model/DeclineHandshakeRequest.cc b/resourcemanager/src/model/DeclineHandshakeRequest.cc index 4c01ecc28..2d328e374 100644 --- a/resourcemanager/src/model/DeclineHandshakeRequest.cc +++ b/resourcemanager/src/model/DeclineHandshakeRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeclineHandshakeRequest; - -DeclineHandshakeRequest::DeclineHandshakeRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeclineHandshake") -{ - setMethod(HttpRequest::Method::Post); -} - -DeclineHandshakeRequest::~DeclineHandshakeRequest() -{} - -std::string DeclineHandshakeRequest::getHandshakeId()const -{ - return handshakeId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeclineHandshakeRequest; + +DeclineHandshakeRequest::DeclineHandshakeRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeclineHandshake") { + setMethod(HttpRequest::Method::Post); } -void DeclineHandshakeRequest::setHandshakeId(const std::string& handshakeId) -{ - handshakeId_ = handshakeId; - setParameter("HandshakeId", handshakeId); +DeclineHandshakeRequest::~DeclineHandshakeRequest() {} + +std::string DeclineHandshakeRequest::getHandshakeId() const { + return handshakeId_; +} + +void DeclineHandshakeRequest::setHandshakeId(const std::string &handshakeId) { + handshakeId_ = handshakeId; + setParameter(std::string("HandshakeId"), handshakeId); } diff --git a/resourcemanager/src/model/DeleteControlPolicyRequest.cc b/resourcemanager/src/model/DeleteControlPolicyRequest.cc index e03b906ec..462b9a118 100644 --- a/resourcemanager/src/model/DeleteControlPolicyRequest.cc +++ b/resourcemanager/src/model/DeleteControlPolicyRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeleteControlPolicyRequest; - -DeleteControlPolicyRequest::DeleteControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteControlPolicyRequest::~DeleteControlPolicyRequest() -{} - -std::string DeleteControlPolicyRequest::getPolicyId()const -{ - return policyId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeleteControlPolicyRequest; + +DeleteControlPolicyRequest::DeleteControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void DeleteControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +DeleteControlPolicyRequest::~DeleteControlPolicyRequest() {} + +std::string DeleteControlPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DeleteControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } diff --git a/resourcemanager/src/model/DeleteFolderRequest.cc b/resourcemanager/src/model/DeleteFolderRequest.cc index d07e23d9e..7e1c9b5a3 100644 --- a/resourcemanager/src/model/DeleteFolderRequest.cc +++ b/resourcemanager/src/model/DeleteFolderRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeleteFolderRequest; - -DeleteFolderRequest::DeleteFolderRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFolderRequest::~DeleteFolderRequest() -{} - -std::string DeleteFolderRequest::getFolderId()const -{ - return folderId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeleteFolderRequest; + +DeleteFolderRequest::DeleteFolderRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteFolder") { + setMethod(HttpRequest::Method::Post); } -void DeleteFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setParameter("FolderId", folderId); +DeleteFolderRequest::~DeleteFolderRequest() {} + +std::string DeleteFolderRequest::getFolderId() const { + return folderId_; +} + +void DeleteFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setParameter(std::string("FolderId"), folderId); } diff --git a/resourcemanager/src/model/DeletePolicyRequest.cc b/resourcemanager/src/model/DeletePolicyRequest.cc index 8d83832b3..07ec0a435 100644 --- a/resourcemanager/src/model/DeletePolicyRequest.cc +++ b/resourcemanager/src/model/DeletePolicyRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeletePolicyRequest; - -DeletePolicyRequest::DeletePolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeletePolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePolicyRequest::~DeletePolicyRequest() -{} - -std::string DeletePolicyRequest::getPolicyName()const -{ - return policyName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeletePolicyRequest; + +DeletePolicyRequest::DeletePolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeletePolicy") { + setMethod(HttpRequest::Method::Post); } -void DeletePolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +DeletePolicyRequest::~DeletePolicyRequest() {} + +std::string DeletePolicyRequest::getPolicyName() const { + return policyName_; +} + +void DeletePolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/DeletePolicyVersionRequest.cc b/resourcemanager/src/model/DeletePolicyVersionRequest.cc index b1528123f..929bbb99e 100644 --- a/resourcemanager/src/model/DeletePolicyVersionRequest.cc +++ b/resourcemanager/src/model/DeletePolicyVersionRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::DeletePolicyVersionRequest; - -DeletePolicyVersionRequest::DeletePolicyVersionRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeletePolicyVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -DeletePolicyVersionRequest::~DeletePolicyVersionRequest() -{} - -std::string DeletePolicyVersionRequest::getVersionId()const -{ - return versionId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeletePolicyVersionRequest; + +DeletePolicyVersionRequest::DeletePolicyVersionRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeletePolicyVersion") { + setMethod(HttpRequest::Method::Post); } -void DeletePolicyVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); +DeletePolicyVersionRequest::~DeletePolicyVersionRequest() {} + +std::string DeletePolicyVersionRequest::getVersionId() const { + return versionId_; } -std::string DeletePolicyVersionRequest::getPolicyName()const -{ - return policyName_; +void DeletePolicyVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); } -void DeletePolicyVersionRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string DeletePolicyVersionRequest::getPolicyName() const { + return policyName_; +} + +void DeletePolicyVersionRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/DeleteResourceGroupRequest.cc b/resourcemanager/src/model/DeleteResourceGroupRequest.cc index 7a7c32f26..1e727a4b6 100644 --- a/resourcemanager/src/model/DeleteResourceGroupRequest.cc +++ b/resourcemanager/src/model/DeleteResourceGroupRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeleteResourceGroupRequest; - -DeleteResourceGroupRequest::DeleteResourceGroupRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteResourceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteResourceGroupRequest::~DeleteResourceGroupRequest() -{} - -std::string DeleteResourceGroupRequest::getResourceGroupId()const -{ - return resourceGroupId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeleteResourceGroupRequest; + +DeleteResourceGroupRequest::DeleteResourceGroupRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteResourceGroup") { + setMethod(HttpRequest::Method::Post); } -void DeleteResourceGroupRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +DeleteResourceGroupRequest::~DeleteResourceGroupRequest() {} + +std::string DeleteResourceGroupRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void DeleteResourceGroupRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } diff --git a/resourcemanager/src/model/DeleteResourceGroupResult.cc b/resourcemanager/src/model/DeleteResourceGroupResult.cc index 5042db71f..a31139a76 100644 --- a/resourcemanager/src/model/DeleteResourceGroupResult.cc +++ b/resourcemanager/src/model/DeleteResourceGroupResult.cc @@ -40,18 +40,18 @@ void DeleteResourceGroupResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto resourceGroupNode = value["ResourceGroup"]; + if(!resourceGroupNode["DisplayName"].isNull()) + resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); if(!resourceGroupNode["Status"].isNull()) resourceGroup_.status = resourceGroupNode["Status"].asString(); if(!resourceGroupNode["AccountId"].isNull()) resourceGroup_.accountId = resourceGroupNode["AccountId"].asString(); - if(!resourceGroupNode["DisplayName"].isNull()) - resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); - if(!resourceGroupNode["Id"].isNull()) - resourceGroup_.id = resourceGroupNode["Id"].asString(); - if(!resourceGroupNode["CreateDate"].isNull()) - resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); if(!resourceGroupNode["Name"].isNull()) resourceGroup_.name = resourceGroupNode["Name"].asString(); + if(!resourceGroupNode["CreateDate"].isNull()) + resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); + if(!resourceGroupNode["Id"].isNull()) + resourceGroup_.id = resourceGroupNode["Id"].asString(); auto allRegionStatusesNode = resourceGroupNode["RegionStatuses"]["RegionStatus"]; for (auto resourceGroupNodeRegionStatusesRegionStatus : allRegionStatusesNode) { diff --git a/resourcemanager/src/model/DeleteRoleRequest.cc b/resourcemanager/src/model/DeleteRoleRequest.cc index 7ed4fd59d..1338708e6 100644 --- a/resourcemanager/src/model/DeleteRoleRequest.cc +++ b/resourcemanager/src/model/DeleteRoleRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeleteRoleRequest; - -DeleteRoleRequest::DeleteRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteRole") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteRoleRequest::~DeleteRoleRequest() -{} - -std::string DeleteRoleRequest::getRoleName()const -{ - return roleName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeleteRoleRequest; + +DeleteRoleRequest::DeleteRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteRole") { + setMethod(HttpRequest::Method::Post); } -void DeleteRoleRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setParameter("RoleName", roleName); +DeleteRoleRequest::~DeleteRoleRequest() {} + +std::string DeleteRoleRequest::getRoleName() const { + return roleName_; +} + +void DeleteRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); } diff --git a/resourcemanager/src/model/DeleteServiceLinkedRoleRequest.cc b/resourcemanager/src/model/DeleteServiceLinkedRoleRequest.cc index 996cf6e24..5c6a89de2 100644 --- a/resourcemanager/src/model/DeleteServiceLinkedRoleRequest.cc +++ b/resourcemanager/src/model/DeleteServiceLinkedRoleRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DeleteServiceLinkedRoleRequest; - -DeleteServiceLinkedRoleRequest::DeleteServiceLinkedRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteServiceLinkedRole") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteServiceLinkedRoleRequest::~DeleteServiceLinkedRoleRequest() -{} - -std::string DeleteServiceLinkedRoleRequest::getRoleName()const -{ - return roleName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeleteServiceLinkedRoleRequest; + +DeleteServiceLinkedRoleRequest::DeleteServiceLinkedRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeleteServiceLinkedRole") { + setMethod(HttpRequest::Method::Post); } -void DeleteServiceLinkedRoleRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setParameter("RoleName", roleName); +DeleteServiceLinkedRoleRequest::~DeleteServiceLinkedRoleRequest() {} + +std::string DeleteServiceLinkedRoleRequest::getRoleName() const { + return roleName_; +} + +void DeleteServiceLinkedRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); } diff --git a/resourcemanager/src/model/DeregisterDelegatedAdministratorRequest.cc b/resourcemanager/src/model/DeregisterDelegatedAdministratorRequest.cc index 6ed06984c..d4225afd5 100644 --- a/resourcemanager/src/model/DeregisterDelegatedAdministratorRequest.cc +++ b/resourcemanager/src/model/DeregisterDelegatedAdministratorRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::DeregisterDelegatedAdministratorRequest; - -DeregisterDelegatedAdministratorRequest::DeregisterDelegatedAdministratorRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DeregisterDelegatedAdministrator") -{ - setMethod(HttpRequest::Method::Post); -} - -DeregisterDelegatedAdministratorRequest::~DeregisterDelegatedAdministratorRequest() -{} - -std::string DeregisterDelegatedAdministratorRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DeregisterDelegatedAdministratorRequest; + +DeregisterDelegatedAdministratorRequest::DeregisterDelegatedAdministratorRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DeregisterDelegatedAdministrator") { + setMethod(HttpRequest::Method::Post); } -void DeregisterDelegatedAdministratorRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +DeregisterDelegatedAdministratorRequest::~DeregisterDelegatedAdministratorRequest() {} + +std::string DeregisterDelegatedAdministratorRequest::getAccountId() const { + return accountId_; } -std::string DeregisterDelegatedAdministratorRequest::getServicePrincipal()const -{ - return servicePrincipal_; +void DeregisterDelegatedAdministratorRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } -void DeregisterDelegatedAdministratorRequest::setServicePrincipal(const std::string& servicePrincipal) -{ - servicePrincipal_ = servicePrincipal; - setParameter("ServicePrincipal", servicePrincipal); +std::string DeregisterDelegatedAdministratorRequest::getServicePrincipal() const { + return servicePrincipal_; +} + +void DeregisterDelegatedAdministratorRequest::setServicePrincipal(const std::string &servicePrincipal) { + servicePrincipal_ = servicePrincipal; + setParameter(std::string("ServicePrincipal"), servicePrincipal); } diff --git a/resourcemanager/src/model/DestroyResourceDirectoryRequest.cc b/resourcemanager/src/model/DestroyResourceDirectoryRequest.cc index d94257714..3b1bc88b8 100644 --- a/resourcemanager/src/model/DestroyResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/DestroyResourceDirectoryRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DestroyResourceDirectoryRequest; - -DestroyResourceDirectoryRequest::DestroyResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DestroyResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -DestroyResourceDirectoryRequest::~DestroyResourceDirectoryRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DestroyResourceDirectoryRequest; + +DestroyResourceDirectoryRequest::DestroyResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DestroyResourceDirectory") { + setMethod(HttpRequest::Method::Post); +} + +DestroyResourceDirectoryRequest::~DestroyResourceDirectoryRequest() {} + diff --git a/resourcemanager/src/model/DetachControlPolicyRequest.cc b/resourcemanager/src/model/DetachControlPolicyRequest.cc index 67e816866..bedcc4aa4 100644 --- a/resourcemanager/src/model/DetachControlPolicyRequest.cc +++ b/resourcemanager/src/model/DetachControlPolicyRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::DetachControlPolicyRequest; - -DetachControlPolicyRequest::DetachControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DetachControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -DetachControlPolicyRequest::~DetachControlPolicyRequest() -{} - -std::string DetachControlPolicyRequest::getTargetId()const -{ - return targetId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DetachControlPolicyRequest; + +DetachControlPolicyRequest::DetachControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DetachControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void DetachControlPolicyRequest::setTargetId(const std::string& targetId) -{ - targetId_ = targetId; - setParameter("TargetId", targetId); +DetachControlPolicyRequest::~DetachControlPolicyRequest() {} + +std::string DetachControlPolicyRequest::getTargetId() const { + return targetId_; } -std::string DetachControlPolicyRequest::getPolicyId()const -{ - return policyId_; +void DetachControlPolicyRequest::setTargetId(const std::string &targetId) { + targetId_ = targetId; + setParameter(std::string("TargetId"), targetId); } -void DetachControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +std::string DetachControlPolicyRequest::getPolicyId() const { + return policyId_; +} + +void DetachControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } diff --git a/resourcemanager/src/model/DetachPolicyRequest.cc b/resourcemanager/src/model/DetachPolicyRequest.cc index 05c279b21..03a0d7dca 100644 --- a/resourcemanager/src/model/DetachPolicyRequest.cc +++ b/resourcemanager/src/model/DetachPolicyRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::DetachPolicyRequest; - -DetachPolicyRequest::DetachPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DetachPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -DetachPolicyRequest::~DetachPolicyRequest() -{} - -std::string DetachPolicyRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DetachPolicyRequest; + +DetachPolicyRequest::DetachPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DetachPolicy") { + setMethod(HttpRequest::Method::Post); } -void DetachPolicyRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +DetachPolicyRequest::~DetachPolicyRequest() {} + +std::string DetachPolicyRequest::getPolicyType() const { + return policyType_; } -std::string DetachPolicyRequest::getPrincipalType()const -{ - return principalType_; +void DetachPolicyRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void DetachPolicyRequest::setPrincipalType(const std::string& principalType) -{ - principalType_ = principalType; - setParameter("PrincipalType", principalType); +std::string DetachPolicyRequest::getPrincipalType() const { + return principalType_; } -std::string DetachPolicyRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void DetachPolicyRequest::setPrincipalType(const std::string &principalType) { + principalType_ = principalType; + setParameter(std::string("PrincipalType"), principalType); } -void DetachPolicyRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string DetachPolicyRequest::getResourceGroupId() const { + return resourceGroupId_; } -std::string DetachPolicyRequest::getPolicyName()const -{ - return policyName_; +void DetachPolicyRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void DetachPolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string DetachPolicyRequest::getPolicyName() const { + return policyName_; } -std::string DetachPolicyRequest::getPrincipalName()const -{ - return principalName_; +void DetachPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void DetachPolicyRequest::setPrincipalName(const std::string& principalName) -{ - principalName_ = principalName; - setParameter("PrincipalName", principalName); +std::string DetachPolicyRequest::getPrincipalName() const { + return principalName_; +} + +void DetachPolicyRequest::setPrincipalName(const std::string &principalName) { + principalName_ = principalName; + setParameter(std::string("PrincipalName"), principalName); } diff --git a/resourcemanager/src/model/DisableControlPolicyRequest.cc b/resourcemanager/src/model/DisableControlPolicyRequest.cc index e44ddca23..dd7cbef0c 100644 --- a/resourcemanager/src/model/DisableControlPolicyRequest.cc +++ b/resourcemanager/src/model/DisableControlPolicyRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::DisableControlPolicyRequest; - -DisableControlPolicyRequest::DisableControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "DisableControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -DisableControlPolicyRequest::~DisableControlPolicyRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::DisableControlPolicyRequest; + +DisableControlPolicyRequest::DisableControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "DisableControlPolicy") { + setMethod(HttpRequest::Method::Post); +} + +DisableControlPolicyRequest::~DisableControlPolicyRequest() {} + diff --git a/resourcemanager/src/model/EnableControlPolicyRequest.cc b/resourcemanager/src/model/EnableControlPolicyRequest.cc index 11cdd4df9..cc39b15b0 100644 --- a/resourcemanager/src/model/EnableControlPolicyRequest.cc +++ b/resourcemanager/src/model/EnableControlPolicyRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::EnableControlPolicyRequest; - -EnableControlPolicyRequest::EnableControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "EnableControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -EnableControlPolicyRequest::~EnableControlPolicyRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::EnableControlPolicyRequest; + +EnableControlPolicyRequest::EnableControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "EnableControlPolicy") { + setMethod(HttpRequest::Method::Post); +} + +EnableControlPolicyRequest::~EnableControlPolicyRequest() {} + diff --git a/resourcemanager/src/model/EnableResourceDirectoryRequest.cc b/resourcemanager/src/model/EnableResourceDirectoryRequest.cc index 0628badce..59075f73a 100644 --- a/resourcemanager/src/model/EnableResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/EnableResourceDirectoryRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::EnableResourceDirectoryRequest; - -EnableResourceDirectoryRequest::EnableResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "EnableResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -EnableResourceDirectoryRequest::~EnableResourceDirectoryRequest() -{} - -std::string EnableResourceDirectoryRequest::getEnableMode()const -{ - return enableMode_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::EnableResourceDirectoryRequest; + +EnableResourceDirectoryRequest::EnableResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "EnableResourceDirectory") { + setMethod(HttpRequest::Method::Post); } -void EnableResourceDirectoryRequest::setEnableMode(const std::string& enableMode) -{ - enableMode_ = enableMode; - setParameter("EnableMode", enableMode); +EnableResourceDirectoryRequest::~EnableResourceDirectoryRequest() {} + +std::string EnableResourceDirectoryRequest::getEnableMode() const { + return enableMode_; } -std::string EnableResourceDirectoryRequest::getMASecureMobilePhone()const -{ - return mASecureMobilePhone_; +void EnableResourceDirectoryRequest::setEnableMode(const std::string &enableMode) { + enableMode_ = enableMode; + setParameter(std::string("EnableMode"), enableMode); } -void EnableResourceDirectoryRequest::setMASecureMobilePhone(const std::string& mASecureMobilePhone) -{ - mASecureMobilePhone_ = mASecureMobilePhone; - setParameter("MASecureMobilePhone", mASecureMobilePhone); +std::string EnableResourceDirectoryRequest::getMASecureMobilePhone() const { + return mASecureMobilePhone_; } -std::string EnableResourceDirectoryRequest::getMAName()const -{ - return mAName_; +void EnableResourceDirectoryRequest::setMASecureMobilePhone(const std::string &mASecureMobilePhone) { + mASecureMobilePhone_ = mASecureMobilePhone; + setParameter(std::string("MASecureMobilePhone"), mASecureMobilePhone); } -void EnableResourceDirectoryRequest::setMAName(const std::string& mAName) -{ - mAName_ = mAName; - setParameter("MAName", mAName); +std::string EnableResourceDirectoryRequest::getMAName() const { + return mAName_; } -std::string EnableResourceDirectoryRequest::getVerificationCode()const -{ - return verificationCode_; +void EnableResourceDirectoryRequest::setMAName(const std::string &mAName) { + mAName_ = mAName; + setParameter(std::string("MAName"), mAName); } -void EnableResourceDirectoryRequest::setVerificationCode(const std::string& verificationCode) -{ - verificationCode_ = verificationCode; - setParameter("VerificationCode", verificationCode); +std::string EnableResourceDirectoryRequest::getVerificationCode() const { + return verificationCode_; +} + +void EnableResourceDirectoryRequest::setVerificationCode(const std::string &verificationCode) { + verificationCode_ = verificationCode; + setParameter(std::string("VerificationCode"), verificationCode); } diff --git a/resourcemanager/src/model/GetAccountRequest.cc b/resourcemanager/src/model/GetAccountRequest.cc index e753915c6..360a0932c 100644 --- a/resourcemanager/src/model/GetAccountRequest.cc +++ b/resourcemanager/src/model/GetAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetAccountRequest; - -GetAccountRequest::GetAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -GetAccountRequest::~GetAccountRequest() -{} - -std::string GetAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetAccountRequest; + +GetAccountRequest::GetAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetAccount") { + setMethod(HttpRequest::Method::Post); } -void GetAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +GetAccountRequest::~GetAccountRequest() {} + +std::string GetAccountRequest::getAccountId() const { + return accountId_; +} + +void GetAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/GetControlPolicyEnablementStatusRequest.cc b/resourcemanager/src/model/GetControlPolicyEnablementStatusRequest.cc index adf043dad..e74a672e1 100644 --- a/resourcemanager/src/model/GetControlPolicyEnablementStatusRequest.cc +++ b/resourcemanager/src/model/GetControlPolicyEnablementStatusRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetControlPolicyEnablementStatusRequest; - -GetControlPolicyEnablementStatusRequest::GetControlPolicyEnablementStatusRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetControlPolicyEnablementStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetControlPolicyEnablementStatusRequest::~GetControlPolicyEnablementStatusRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetControlPolicyEnablementStatusRequest; + +GetControlPolicyEnablementStatusRequest::GetControlPolicyEnablementStatusRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetControlPolicyEnablementStatus") { + setMethod(HttpRequest::Method::Post); +} + +GetControlPolicyEnablementStatusRequest::~GetControlPolicyEnablementStatusRequest() {} + diff --git a/resourcemanager/src/model/GetControlPolicyRequest.cc b/resourcemanager/src/model/GetControlPolicyRequest.cc index 803abd719..1d328bb13 100644 --- a/resourcemanager/src/model/GetControlPolicyRequest.cc +++ b/resourcemanager/src/model/GetControlPolicyRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::GetControlPolicyRequest; - -GetControlPolicyRequest::GetControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -GetControlPolicyRequest::~GetControlPolicyRequest() -{} - -std::string GetControlPolicyRequest::getLanguage()const -{ - return language_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetControlPolicyRequest; + +GetControlPolicyRequest::GetControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void GetControlPolicyRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +GetControlPolicyRequest::~GetControlPolicyRequest() {} + +std::string GetControlPolicyRequest::getLanguage() const { + return language_; } -std::string GetControlPolicyRequest::getPolicyId()const -{ - return policyId_; +void GetControlPolicyRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void GetControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +std::string GetControlPolicyRequest::getPolicyId() const { + return policyId_; +} + +void GetControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } diff --git a/resourcemanager/src/model/GetFolderRequest.cc b/resourcemanager/src/model/GetFolderRequest.cc index e915101ef..30d7d4ec7 100644 --- a/resourcemanager/src/model/GetFolderRequest.cc +++ b/resourcemanager/src/model/GetFolderRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetFolderRequest; - -GetFolderRequest::GetFolderRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFolderRequest::~GetFolderRequest() -{} - -std::string GetFolderRequest::getFolderId()const -{ - return folderId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetFolderRequest; + +GetFolderRequest::GetFolderRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetFolder") { + setMethod(HttpRequest::Method::Post); } -void GetFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setParameter("FolderId", folderId); +GetFolderRequest::~GetFolderRequest() {} + +std::string GetFolderRequest::getFolderId() const { + return folderId_; +} + +void GetFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setParameter(std::string("FolderId"), folderId); } diff --git a/resourcemanager/src/model/GetHandshakeRequest.cc b/resourcemanager/src/model/GetHandshakeRequest.cc index e75a8dc12..027290487 100644 --- a/resourcemanager/src/model/GetHandshakeRequest.cc +++ b/resourcemanager/src/model/GetHandshakeRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetHandshakeRequest; - -GetHandshakeRequest::GetHandshakeRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetHandshake") -{ - setMethod(HttpRequest::Method::Post); -} - -GetHandshakeRequest::~GetHandshakeRequest() -{} - -std::string GetHandshakeRequest::getHandshakeId()const -{ - return handshakeId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetHandshakeRequest; + +GetHandshakeRequest::GetHandshakeRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetHandshake") { + setMethod(HttpRequest::Method::Post); } -void GetHandshakeRequest::setHandshakeId(const std::string& handshakeId) -{ - handshakeId_ = handshakeId; - setParameter("HandshakeId", handshakeId); +GetHandshakeRequest::~GetHandshakeRequest() {} + +std::string GetHandshakeRequest::getHandshakeId() const { + return handshakeId_; +} + +void GetHandshakeRequest::setHandshakeId(const std::string &handshakeId) { + handshakeId_ = handshakeId; + setParameter(std::string("HandshakeId"), handshakeId); } diff --git a/resourcemanager/src/model/GetPayerForAccountRequest.cc b/resourcemanager/src/model/GetPayerForAccountRequest.cc index e8a0b6bd8..4c05e9a03 100644 --- a/resourcemanager/src/model/GetPayerForAccountRequest.cc +++ b/resourcemanager/src/model/GetPayerForAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetPayerForAccountRequest; - -GetPayerForAccountRequest::GetPayerForAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetPayerForAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPayerForAccountRequest::~GetPayerForAccountRequest() -{} - -std::string GetPayerForAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetPayerForAccountRequest; + +GetPayerForAccountRequest::GetPayerForAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetPayerForAccount") { + setMethod(HttpRequest::Method::Post); } -void GetPayerForAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +GetPayerForAccountRequest::~GetPayerForAccountRequest() {} + +std::string GetPayerForAccountRequest::getAccountId() const { + return accountId_; +} + +void GetPayerForAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/GetPolicyRequest.cc b/resourcemanager/src/model/GetPolicyRequest.cc index fb457a3e2..c8209800f 100644 --- a/resourcemanager/src/model/GetPolicyRequest.cc +++ b/resourcemanager/src/model/GetPolicyRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::GetPolicyRequest; - -GetPolicyRequest::GetPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPolicyRequest::~GetPolicyRequest() -{} - -std::string GetPolicyRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetPolicyRequest; + +GetPolicyRequest::GetPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetPolicy") { + setMethod(HttpRequest::Method::Post); } -void GetPolicyRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +GetPolicyRequest::~GetPolicyRequest() {} + +std::string GetPolicyRequest::getPolicyType() const { + return policyType_; } -std::string GetPolicyRequest::getLanguage()const -{ - return language_; +void GetPolicyRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void GetPolicyRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +std::string GetPolicyRequest::getLanguage() const { + return language_; } -std::string GetPolicyRequest::getPolicyName()const -{ - return policyName_; +void GetPolicyRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void GetPolicyRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string GetPolicyRequest::getPolicyName() const { + return policyName_; +} + +void GetPolicyRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/GetPolicyResult.cc b/resourcemanager/src/model/GetPolicyResult.cc index cd646b88d..abed45478 100644 --- a/resourcemanager/src/model/GetPolicyResult.cc +++ b/resourcemanager/src/model/GetPolicyResult.cc @@ -40,22 +40,22 @@ void GetPolicyResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto policyNode = value["Policy"]; - if(!policyNode["PolicyType"].isNull()) - policy_.policyType = policyNode["PolicyType"].asString(); + if(!policyNode["DefaultVersion"].isNull()) + policy_.defaultVersion = policyNode["DefaultVersion"].asString(); if(!policyNode["UpdateDate"].isNull()) policy_.updateDate = policyNode["UpdateDate"].asString(); if(!policyNode["Description"].isNull()) policy_.description = policyNode["Description"].asString(); + if(!policyNode["PolicyDocument"].isNull()) + policy_.policyDocument = policyNode["PolicyDocument"].asString(); if(!policyNode["AttachmentCount"].isNull()) policy_.attachmentCount = std::stoi(policyNode["AttachmentCount"].asString()); if(!policyNode["PolicyName"].isNull()) policy_.policyName = policyNode["PolicyName"].asString(); - if(!policyNode["DefaultVersion"].isNull()) - policy_.defaultVersion = policyNode["DefaultVersion"].asString(); - if(!policyNode["PolicyDocument"].isNull()) - policy_.policyDocument = policyNode["PolicyDocument"].asString(); if(!policyNode["CreateDate"].isNull()) policy_.createDate = policyNode["CreateDate"].asString(); + if(!policyNode["PolicyType"].isNull()) + policy_.policyType = policyNode["PolicyType"].asString(); } diff --git a/resourcemanager/src/model/GetPolicyVersionRequest.cc b/resourcemanager/src/model/GetPolicyVersionRequest.cc index fe78f0ccf..9db3e87f7 100644 --- a/resourcemanager/src/model/GetPolicyVersionRequest.cc +++ b/resourcemanager/src/model/GetPolicyVersionRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::GetPolicyVersionRequest; - -GetPolicyVersionRequest::GetPolicyVersionRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetPolicyVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPolicyVersionRequest::~GetPolicyVersionRequest() -{} - -std::string GetPolicyVersionRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetPolicyVersionRequest; + +GetPolicyVersionRequest::GetPolicyVersionRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetPolicyVersion") { + setMethod(HttpRequest::Method::Post); } -void GetPolicyVersionRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +GetPolicyVersionRequest::~GetPolicyVersionRequest() {} + +std::string GetPolicyVersionRequest::getPolicyType() const { + return policyType_; } -std::string GetPolicyVersionRequest::getVersionId()const -{ - return versionId_; +void GetPolicyVersionRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void GetPolicyVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); +std::string GetPolicyVersionRequest::getVersionId() const { + return versionId_; } -std::string GetPolicyVersionRequest::getPolicyName()const -{ - return policyName_; +void GetPolicyVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); } -void GetPolicyVersionRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string GetPolicyVersionRequest::getPolicyName() const { + return policyName_; +} + +void GetPolicyVersionRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/GetPolicyVersionResult.cc b/resourcemanager/src/model/GetPolicyVersionResult.cc index ddf4d4261..ff3aaade8 100644 --- a/resourcemanager/src/model/GetPolicyVersionResult.cc +++ b/resourcemanager/src/model/GetPolicyVersionResult.cc @@ -40,12 +40,12 @@ void GetPolicyVersionResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto policyVersionNode = value["PolicyVersion"]; - if(!policyVersionNode["VersionId"].isNull()) - policyVersion_.versionId = policyVersionNode["VersionId"].asString(); if(!policyVersionNode["IsDefaultVersion"].isNull()) policyVersion_.isDefaultVersion = policyVersionNode["IsDefaultVersion"].asString() == "true"; if(!policyVersionNode["PolicyDocument"].isNull()) policyVersion_.policyDocument = policyVersionNode["PolicyDocument"].asString(); + if(!policyVersionNode["VersionId"].isNull()) + policyVersion_.versionId = policyVersionNode["VersionId"].asString(); if(!policyVersionNode["CreateDate"].isNull()) policyVersion_.createDate = policyVersionNode["CreateDate"].asString(); diff --git a/resourcemanager/src/model/GetResourceDirectoryRequest.cc b/resourcemanager/src/model/GetResourceDirectoryRequest.cc index 90a6a1ef3..2bef8c86e 100644 --- a/resourcemanager/src/model/GetResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/GetResourceDirectoryRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetResourceDirectoryRequest; - -GetResourceDirectoryRequest::GetResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -GetResourceDirectoryRequest::~GetResourceDirectoryRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetResourceDirectoryRequest; + +GetResourceDirectoryRequest::GetResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetResourceDirectory") { + setMethod(HttpRequest::Method::Post); +} + +GetResourceDirectoryRequest::~GetResourceDirectoryRequest() {} + diff --git a/resourcemanager/src/model/GetResourceGroupRequest.cc b/resourcemanager/src/model/GetResourceGroupRequest.cc index 65abe38c2..1da1a5d65 100644 --- a/resourcemanager/src/model/GetResourceGroupRequest.cc +++ b/resourcemanager/src/model/GetResourceGroupRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetResourceGroupRequest; - -GetResourceGroupRequest::GetResourceGroupRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetResourceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -GetResourceGroupRequest::~GetResourceGroupRequest() -{} - -std::string GetResourceGroupRequest::getResourceGroupId()const -{ - return resourceGroupId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetResourceGroupRequest; + +GetResourceGroupRequest::GetResourceGroupRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetResourceGroup") { + setMethod(HttpRequest::Method::Post); } -void GetResourceGroupRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +GetResourceGroupRequest::~GetResourceGroupRequest() {} + +std::string GetResourceGroupRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void GetResourceGroupRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } diff --git a/resourcemanager/src/model/GetResourceGroupResult.cc b/resourcemanager/src/model/GetResourceGroupResult.cc index 14097f8c8..9e5fcef8f 100644 --- a/resourcemanager/src/model/GetResourceGroupResult.cc +++ b/resourcemanager/src/model/GetResourceGroupResult.cc @@ -40,18 +40,18 @@ void GetResourceGroupResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto resourceGroupNode = value["ResourceGroup"]; + if(!resourceGroupNode["DisplayName"].isNull()) + resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); if(!resourceGroupNode["Status"].isNull()) resourceGroup_.status = resourceGroupNode["Status"].asString(); if(!resourceGroupNode["AccountId"].isNull()) resourceGroup_.accountId = resourceGroupNode["AccountId"].asString(); - if(!resourceGroupNode["DisplayName"].isNull()) - resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); - if(!resourceGroupNode["Id"].isNull()) - resourceGroup_.id = resourceGroupNode["Id"].asString(); - if(!resourceGroupNode["CreateDate"].isNull()) - resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); if(!resourceGroupNode["Name"].isNull()) resourceGroup_.name = resourceGroupNode["Name"].asString(); + if(!resourceGroupNode["CreateDate"].isNull()) + resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); + if(!resourceGroupNode["Id"].isNull()) + resourceGroup_.id = resourceGroupNode["Id"].asString(); auto allRegionStatusesNode = resourceGroupNode["RegionStatuses"]["RegionStatus"]; for (auto resourceGroupNodeRegionStatusesRegionStatus : allRegionStatusesNode) { diff --git a/resourcemanager/src/model/GetRoleRequest.cc b/resourcemanager/src/model/GetRoleRequest.cc index e710424cb..6d7e31e89 100644 --- a/resourcemanager/src/model/GetRoleRequest.cc +++ b/resourcemanager/src/model/GetRoleRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::GetRoleRequest; - -GetRoleRequest::GetRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetRole") -{ - setMethod(HttpRequest::Method::Post); -} - -GetRoleRequest::~GetRoleRequest() -{} - -std::string GetRoleRequest::getRoleName()const -{ - return roleName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetRoleRequest; + +GetRoleRequest::GetRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetRole") { + setMethod(HttpRequest::Method::Post); } -void GetRoleRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setParameter("RoleName", roleName); +GetRoleRequest::~GetRoleRequest() {} + +std::string GetRoleRequest::getRoleName() const { + return roleName_; } -std::string GetRoleRequest::getLanguage()const -{ - return language_; +void GetRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); } -void GetRoleRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +std::string GetRoleRequest::getLanguage() const { + return language_; +} + +void GetRoleRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } diff --git a/resourcemanager/src/model/GetRoleResult.cc b/resourcemanager/src/model/GetRoleResult.cc index 65d7e7d35..4f741181b 100644 --- a/resourcemanager/src/model/GetRoleResult.cc +++ b/resourcemanager/src/model/GetRoleResult.cc @@ -40,31 +40,31 @@ void GetRoleResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto roleNode = value["Role"]; - if(!roleNode["MaxSessionDuration"].isNull()) - role_.maxSessionDuration = std::stol(roleNode["MaxSessionDuration"].asString()); - if(!roleNode["UpdateDate"].isNull()) - role_.updateDate = roleNode["UpdateDate"].asString(); - if(!roleNode["RoleName"].isNull()) - role_.roleName = roleNode["RoleName"].asString(); - if(!roleNode["Description"].isNull()) - role_.description = roleNode["Description"].asString(); if(!roleNode["AssumeRolePolicyDocument"].isNull()) role_.assumeRolePolicyDocument = roleNode["AssumeRolePolicyDocument"].asString(); - if(!roleNode["IsServiceLinkedRole"].isNull()) - role_.isServiceLinkedRole = roleNode["IsServiceLinkedRole"].asString() == "true"; - if(!roleNode["Arn"].isNull()) - role_.arn = roleNode["Arn"].asString(); - if(!roleNode["RoleId"].isNull()) - role_.roleId = roleNode["RoleId"].asString(); - if(!roleNode["CreateDate"].isNull()) - role_.createDate = roleNode["CreateDate"].asString(); if(!roleNode["RolePrincipalName"].isNull()) role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); + if(!roleNode["UpdateDate"].isNull()) + role_.updateDate = roleNode["UpdateDate"].asString(); + if(!roleNode["Description"].isNull()) + role_.description = roleNode["Description"].asString(); + if(!roleNode["MaxSessionDuration"].isNull()) + role_.maxSessionDuration = std::stol(roleNode["MaxSessionDuration"].asString()); + if(!roleNode["RoleName"].isNull()) + role_.roleName = roleNode["RoleName"].asString(); + if(!roleNode["CreateDate"].isNull()) + role_.createDate = roleNode["CreateDate"].asString(); + if(!roleNode["RoleId"].isNull()) + role_.roleId = roleNode["RoleId"].asString(); + if(!roleNode["Arn"].isNull()) + role_.arn = roleNode["Arn"].asString(); + if(!roleNode["IsServiceLinkedRole"].isNull()) + role_.isServiceLinkedRole = roleNode["IsServiceLinkedRole"].asString() == "true"; auto latestDeletionTaskNode = roleNode["LatestDeletionTask"]; - if(!latestDeletionTaskNode["CreateDate"].isNull()) - role_.latestDeletionTask.createDate = latestDeletionTaskNode["CreateDate"].asString(); if(!latestDeletionTaskNode["DeletionTaskId"].isNull()) role_.latestDeletionTask.deletionTaskId = latestDeletionTaskNode["DeletionTaskId"].asString(); + if(!latestDeletionTaskNode["CreateDate"].isNull()) + role_.latestDeletionTask.createDate = latestDeletionTaskNode["CreateDate"].asString(); } diff --git a/resourcemanager/src/model/GetServiceLinkedRoleDeletionStatusRequest.cc b/resourcemanager/src/model/GetServiceLinkedRoleDeletionStatusRequest.cc index a6c0fb240..40f45c204 100644 --- a/resourcemanager/src/model/GetServiceLinkedRoleDeletionStatusRequest.cc +++ b/resourcemanager/src/model/GetServiceLinkedRoleDeletionStatusRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::GetServiceLinkedRoleDeletionStatusRequest; - -GetServiceLinkedRoleDeletionStatusRequest::GetServiceLinkedRoleDeletionStatusRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "GetServiceLinkedRoleDeletionStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetServiceLinkedRoleDeletionStatusRequest::~GetServiceLinkedRoleDeletionStatusRequest() -{} - -std::string GetServiceLinkedRoleDeletionStatusRequest::getDeletionTaskId()const -{ - return deletionTaskId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::GetServiceLinkedRoleDeletionStatusRequest; + +GetServiceLinkedRoleDeletionStatusRequest::GetServiceLinkedRoleDeletionStatusRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "GetServiceLinkedRoleDeletionStatus") { + setMethod(HttpRequest::Method::Post); } -void GetServiceLinkedRoleDeletionStatusRequest::setDeletionTaskId(const std::string& deletionTaskId) -{ - deletionTaskId_ = deletionTaskId; - setParameter("DeletionTaskId", deletionTaskId); +GetServiceLinkedRoleDeletionStatusRequest::~GetServiceLinkedRoleDeletionStatusRequest() {} + +std::string GetServiceLinkedRoleDeletionStatusRequest::getDeletionTaskId() const { + return deletionTaskId_; +} + +void GetServiceLinkedRoleDeletionStatusRequest::setDeletionTaskId(const std::string &deletionTaskId) { + deletionTaskId_ = deletionTaskId; + setParameter(std::string("DeletionTaskId"), deletionTaskId); } diff --git a/resourcemanager/src/model/InitResourceDirectoryRequest.cc b/resourcemanager/src/model/InitResourceDirectoryRequest.cc index 0b95b6571..40767e170 100644 --- a/resourcemanager/src/model/InitResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/InitResourceDirectoryRequest.cc @@ -1,29 +1,27 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::InitResourceDirectoryRequest; - -InitResourceDirectoryRequest::InitResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "InitResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -InitResourceDirectoryRequest::~InitResourceDirectoryRequest() -{} - + */ + +#include + +using AlibabaCloud::ResourceManager::Model::InitResourceDirectoryRequest; + +InitResourceDirectoryRequest::InitResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "InitResourceDirectory") { + setMethod(HttpRequest::Method::Post); +} + +InitResourceDirectoryRequest::~InitResourceDirectoryRequest() {} + diff --git a/resourcemanager/src/model/InviteAccountToResourceDirectoryRequest.cc b/resourcemanager/src/model/InviteAccountToResourceDirectoryRequest.cc index 900053ec0..7de6b4c85 100644 --- a/resourcemanager/src/model/InviteAccountToResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/InviteAccountToResourceDirectoryRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::InviteAccountToResourceDirectoryRequest; - -InviteAccountToResourceDirectoryRequest::InviteAccountToResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "InviteAccountToResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -InviteAccountToResourceDirectoryRequest::~InviteAccountToResourceDirectoryRequest() -{} - -std::string InviteAccountToResourceDirectoryRequest::getNote()const -{ - return note_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::InviteAccountToResourceDirectoryRequest; + +InviteAccountToResourceDirectoryRequest::InviteAccountToResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "InviteAccountToResourceDirectory") { + setMethod(HttpRequest::Method::Post); } -void InviteAccountToResourceDirectoryRequest::setNote(const std::string& note) -{ - note_ = note; - setParameter("Note", note); +InviteAccountToResourceDirectoryRequest::~InviteAccountToResourceDirectoryRequest() {} + +std::string InviteAccountToResourceDirectoryRequest::getNote() const { + return note_; } -std::string InviteAccountToResourceDirectoryRequest::getTargetType()const -{ - return targetType_; +void InviteAccountToResourceDirectoryRequest::setNote(const std::string ¬e) { + note_ = note; + setParameter(std::string("Note"), note); } -void InviteAccountToResourceDirectoryRequest::setTargetType(const std::string& targetType) -{ - targetType_ = targetType; - setParameter("TargetType", targetType); +std::string InviteAccountToResourceDirectoryRequest::getTargetType() const { + return targetType_; } -std::string InviteAccountToResourceDirectoryRequest::getTargetEntity()const -{ - return targetEntity_; +void InviteAccountToResourceDirectoryRequest::setTargetType(const std::string &targetType) { + targetType_ = targetType; + setParameter(std::string("TargetType"), targetType); } -void InviteAccountToResourceDirectoryRequest::setTargetEntity(const std::string& targetEntity) -{ - targetEntity_ = targetEntity; - setParameter("TargetEntity", targetEntity); +std::string InviteAccountToResourceDirectoryRequest::getTargetEntity() const { + return targetEntity_; +} + +void InviteAccountToResourceDirectoryRequest::setTargetEntity(const std::string &targetEntity) { + targetEntity_ = targetEntity; + setParameter(std::string("TargetEntity"), targetEntity); } diff --git a/resourcemanager/src/model/ListAccountsForParentRequest.cc b/resourcemanager/src/model/ListAccountsForParentRequest.cc index 454aae006..96b4045f7 100644 --- a/resourcemanager/src/model/ListAccountsForParentRequest.cc +++ b/resourcemanager/src/model/ListAccountsForParentRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListAccountsForParentRequest; - -ListAccountsForParentRequest::ListAccountsForParentRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListAccountsForParent") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAccountsForParentRequest::~ListAccountsForParentRequest() -{} - -std::string ListAccountsForParentRequest::getQueryKeyword()const -{ - return queryKeyword_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListAccountsForParentRequest; + +ListAccountsForParentRequest::ListAccountsForParentRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListAccountsForParent") { + setMethod(HttpRequest::Method::Post); } -void ListAccountsForParentRequest::setQueryKeyword(const std::string& queryKeyword) -{ - queryKeyword_ = queryKeyword; - setParameter("QueryKeyword", queryKeyword); +ListAccountsForParentRequest::~ListAccountsForParentRequest() {} + +std::string ListAccountsForParentRequest::getQueryKeyword() const { + return queryKeyword_; } -int ListAccountsForParentRequest::getPageNumber()const -{ - return pageNumber_; +void ListAccountsForParentRequest::setQueryKeyword(const std::string &queryKeyword) { + queryKeyword_ = queryKeyword; + setParameter(std::string("QueryKeyword"), queryKeyword); } -void ListAccountsForParentRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListAccountsForParentRequest::getPageNumber() const { + return pageNumber_; } -std::string ListAccountsForParentRequest::getParentFolderId()const -{ - return parentFolderId_; +void ListAccountsForParentRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListAccountsForParentRequest::setParentFolderId(const std::string& parentFolderId) -{ - parentFolderId_ = parentFolderId; - setParameter("ParentFolderId", parentFolderId); +std::string ListAccountsForParentRequest::getParentFolderId() const { + return parentFolderId_; } -int ListAccountsForParentRequest::getPageSize()const -{ - return pageSize_; +void ListAccountsForParentRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); } -void ListAccountsForParentRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAccountsForParentRequest::getPageSize() const { + return pageSize_; +} + +void ListAccountsForParentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListAccountsRequest.cc b/resourcemanager/src/model/ListAccountsRequest.cc index 0b4b24d15..1e9b9b8bc 100644 --- a/resourcemanager/src/model/ListAccountsRequest.cc +++ b/resourcemanager/src/model/ListAccountsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListAccountsRequest; - -ListAccountsRequest::ListAccountsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListAccounts") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAccountsRequest::~ListAccountsRequest() -{} - -int ListAccountsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListAccountsRequest; + +ListAccountsRequest::ListAccountsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListAccounts") { + setMethod(HttpRequest::Method::Post); } -void ListAccountsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListAccountsRequest::~ListAccountsRequest() {} + +int ListAccountsRequest::getPageNumber() const { + return pageNumber_; } -int ListAccountsRequest::getPageSize()const -{ - return pageSize_; +void ListAccountsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListAccountsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAccountsRequest::getPageSize() const { + return pageSize_; +} + +void ListAccountsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListAncestorsRequest.cc b/resourcemanager/src/model/ListAncestorsRequest.cc index 087f9fc97..c1e3033e0 100644 --- a/resourcemanager/src/model/ListAncestorsRequest.cc +++ b/resourcemanager/src/model/ListAncestorsRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListAncestorsRequest; - -ListAncestorsRequest::ListAncestorsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListAncestors") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAncestorsRequest::~ListAncestorsRequest() -{} - -std::string ListAncestorsRequest::getChildId()const -{ - return childId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListAncestorsRequest; + +ListAncestorsRequest::ListAncestorsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListAncestors") { + setMethod(HttpRequest::Method::Post); } -void ListAncestorsRequest::setChildId(const std::string& childId) -{ - childId_ = childId; - setParameter("ChildId", childId); +ListAncestorsRequest::~ListAncestorsRequest() {} + +std::string ListAncestorsRequest::getChildId() const { + return childId_; +} + +void ListAncestorsRequest::setChildId(const std::string &childId) { + childId_ = childId; + setParameter(std::string("ChildId"), childId); } diff --git a/resourcemanager/src/model/ListControlPoliciesRequest.cc b/resourcemanager/src/model/ListControlPoliciesRequest.cc index 660ba98d6..8acfbcea7 100644 --- a/resourcemanager/src/model/ListControlPoliciesRequest.cc +++ b/resourcemanager/src/model/ListControlPoliciesRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListControlPoliciesRequest; - -ListControlPoliciesRequest::ListControlPoliciesRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListControlPolicies") -{ - setMethod(HttpRequest::Method::Post); -} - -ListControlPoliciesRequest::~ListControlPoliciesRequest() -{} - -std::string ListControlPoliciesRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListControlPoliciesRequest; + +ListControlPoliciesRequest::ListControlPoliciesRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListControlPolicies") { + setMethod(HttpRequest::Method::Post); } -void ListControlPoliciesRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +ListControlPoliciesRequest::~ListControlPoliciesRequest() {} + +std::string ListControlPoliciesRequest::getPolicyType() const { + return policyType_; } -std::string ListControlPoliciesRequest::getLanguage()const -{ - return language_; +void ListControlPoliciesRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void ListControlPoliciesRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +std::string ListControlPoliciesRequest::getLanguage() const { + return language_; } -int ListControlPoliciesRequest::getPageNumber()const -{ - return pageNumber_; +void ListControlPoliciesRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void ListControlPoliciesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListControlPoliciesRequest::getPageNumber() const { + return pageNumber_; } -int ListControlPoliciesRequest::getPageSize()const -{ - return pageSize_; +void ListControlPoliciesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListControlPoliciesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListControlPoliciesRequest::getPageSize() const { + return pageSize_; +} + +void ListControlPoliciesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListControlPolicyAttachmentsForTargetRequest.cc b/resourcemanager/src/model/ListControlPolicyAttachmentsForTargetRequest.cc index b4f58a24a..38f528269 100644 --- a/resourcemanager/src/model/ListControlPolicyAttachmentsForTargetRequest.cc +++ b/resourcemanager/src/model/ListControlPolicyAttachmentsForTargetRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListControlPolicyAttachmentsForTargetRequest; - -ListControlPolicyAttachmentsForTargetRequest::ListControlPolicyAttachmentsForTargetRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListControlPolicyAttachmentsForTarget") -{ - setMethod(HttpRequest::Method::Post); -} - -ListControlPolicyAttachmentsForTargetRequest::~ListControlPolicyAttachmentsForTargetRequest() -{} - -std::string ListControlPolicyAttachmentsForTargetRequest::getTargetId()const -{ - return targetId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListControlPolicyAttachmentsForTargetRequest; + +ListControlPolicyAttachmentsForTargetRequest::ListControlPolicyAttachmentsForTargetRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListControlPolicyAttachmentsForTarget") { + setMethod(HttpRequest::Method::Post); } -void ListControlPolicyAttachmentsForTargetRequest::setTargetId(const std::string& targetId) -{ - targetId_ = targetId; - setParameter("TargetId", targetId); +ListControlPolicyAttachmentsForTargetRequest::~ListControlPolicyAttachmentsForTargetRequest() {} + +std::string ListControlPolicyAttachmentsForTargetRequest::getTargetId() const { + return targetId_; } -std::string ListControlPolicyAttachmentsForTargetRequest::getLanguage()const -{ - return language_; +void ListControlPolicyAttachmentsForTargetRequest::setTargetId(const std::string &targetId) { + targetId_ = targetId; + setParameter(std::string("TargetId"), targetId); } -void ListControlPolicyAttachmentsForTargetRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +std::string ListControlPolicyAttachmentsForTargetRequest::getLanguage() const { + return language_; +} + +void ListControlPolicyAttachmentsForTargetRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } diff --git a/resourcemanager/src/model/ListDelegatedAdministratorsRequest.cc b/resourcemanager/src/model/ListDelegatedAdministratorsRequest.cc index c53c5e359..4efe9bb12 100644 --- a/resourcemanager/src/model/ListDelegatedAdministratorsRequest.cc +++ b/resourcemanager/src/model/ListDelegatedAdministratorsRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListDelegatedAdministratorsRequest; - -ListDelegatedAdministratorsRequest::ListDelegatedAdministratorsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListDelegatedAdministrators") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDelegatedAdministratorsRequest::~ListDelegatedAdministratorsRequest() -{} - -long ListDelegatedAdministratorsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListDelegatedAdministratorsRequest; + +ListDelegatedAdministratorsRequest::ListDelegatedAdministratorsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListDelegatedAdministrators") { + setMethod(HttpRequest::Method::Post); } -void ListDelegatedAdministratorsRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListDelegatedAdministratorsRequest::~ListDelegatedAdministratorsRequest() {} + +long ListDelegatedAdministratorsRequest::getPageNumber() const { + return pageNumber_; } -long ListDelegatedAdministratorsRequest::getPageSize()const -{ - return pageSize_; +void ListDelegatedAdministratorsRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDelegatedAdministratorsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long ListDelegatedAdministratorsRequest::getPageSize() const { + return pageSize_; } -std::string ListDelegatedAdministratorsRequest::getServicePrincipal()const -{ - return servicePrincipal_; +void ListDelegatedAdministratorsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDelegatedAdministratorsRequest::setServicePrincipal(const std::string& servicePrincipal) -{ - servicePrincipal_ = servicePrincipal; - setParameter("ServicePrincipal", servicePrincipal); +std::string ListDelegatedAdministratorsRequest::getServicePrincipal() const { + return servicePrincipal_; +} + +void ListDelegatedAdministratorsRequest::setServicePrincipal(const std::string &servicePrincipal) { + servicePrincipal_ = servicePrincipal; + setParameter(std::string("ServicePrincipal"), servicePrincipal); } diff --git a/resourcemanager/src/model/ListDelegatedServicesForAccountRequest.cc b/resourcemanager/src/model/ListDelegatedServicesForAccountRequest.cc index 22b7c2878..0de1f8943 100644 --- a/resourcemanager/src/model/ListDelegatedServicesForAccountRequest.cc +++ b/resourcemanager/src/model/ListDelegatedServicesForAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListDelegatedServicesForAccountRequest; - -ListDelegatedServicesForAccountRequest::ListDelegatedServicesForAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListDelegatedServicesForAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDelegatedServicesForAccountRequest::~ListDelegatedServicesForAccountRequest() -{} - -std::string ListDelegatedServicesForAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListDelegatedServicesForAccountRequest; + +ListDelegatedServicesForAccountRequest::ListDelegatedServicesForAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListDelegatedServicesForAccount") { + setMethod(HttpRequest::Method::Post); } -void ListDelegatedServicesForAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +ListDelegatedServicesForAccountRequest::~ListDelegatedServicesForAccountRequest() {} + +std::string ListDelegatedServicesForAccountRequest::getAccountId() const { + return accountId_; +} + +void ListDelegatedServicesForAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/ListFoldersForParentRequest.cc b/resourcemanager/src/model/ListFoldersForParentRequest.cc index 8d6b62a6d..0257706df 100644 --- a/resourcemanager/src/model/ListFoldersForParentRequest.cc +++ b/resourcemanager/src/model/ListFoldersForParentRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListFoldersForParentRequest; - -ListFoldersForParentRequest::ListFoldersForParentRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListFoldersForParent") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFoldersForParentRequest::~ListFoldersForParentRequest() -{} - -std::string ListFoldersForParentRequest::getQueryKeyword()const -{ - return queryKeyword_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListFoldersForParentRequest; + +ListFoldersForParentRequest::ListFoldersForParentRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListFoldersForParent") { + setMethod(HttpRequest::Method::Post); } -void ListFoldersForParentRequest::setQueryKeyword(const std::string& queryKeyword) -{ - queryKeyword_ = queryKeyword; - setParameter("QueryKeyword", queryKeyword); +ListFoldersForParentRequest::~ListFoldersForParentRequest() {} + +std::string ListFoldersForParentRequest::getQueryKeyword() const { + return queryKeyword_; } -int ListFoldersForParentRequest::getPageNumber()const -{ - return pageNumber_; +void ListFoldersForParentRequest::setQueryKeyword(const std::string &queryKeyword) { + queryKeyword_ = queryKeyword; + setParameter(std::string("QueryKeyword"), queryKeyword); } -void ListFoldersForParentRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListFoldersForParentRequest::getPageNumber() const { + return pageNumber_; } -std::string ListFoldersForParentRequest::getParentFolderId()const -{ - return parentFolderId_; +void ListFoldersForParentRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListFoldersForParentRequest::setParentFolderId(const std::string& parentFolderId) -{ - parentFolderId_ = parentFolderId; - setParameter("ParentFolderId", parentFolderId); +std::string ListFoldersForParentRequest::getParentFolderId() const { + return parentFolderId_; } -int ListFoldersForParentRequest::getPageSize()const -{ - return pageSize_; +void ListFoldersForParentRequest::setParentFolderId(const std::string &parentFolderId) { + parentFolderId_ = parentFolderId; + setParameter(std::string("ParentFolderId"), parentFolderId); } -void ListFoldersForParentRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListFoldersForParentRequest::getPageSize() const { + return pageSize_; +} + +void ListFoldersForParentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListHandshakesForAccountRequest.cc b/resourcemanager/src/model/ListHandshakesForAccountRequest.cc index cdd80da1b..5e3cc9ff9 100644 --- a/resourcemanager/src/model/ListHandshakesForAccountRequest.cc +++ b/resourcemanager/src/model/ListHandshakesForAccountRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListHandshakesForAccountRequest; - -ListHandshakesForAccountRequest::ListHandshakesForAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListHandshakesForAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListHandshakesForAccountRequest::~ListHandshakesForAccountRequest() -{} - -int ListHandshakesForAccountRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListHandshakesForAccountRequest; + +ListHandshakesForAccountRequest::ListHandshakesForAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListHandshakesForAccount") { + setMethod(HttpRequest::Method::Post); } -void ListHandshakesForAccountRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListHandshakesForAccountRequest::~ListHandshakesForAccountRequest() {} + +int ListHandshakesForAccountRequest::getPageNumber() const { + return pageNumber_; } -int ListHandshakesForAccountRequest::getPageSize()const -{ - return pageSize_; +void ListHandshakesForAccountRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListHandshakesForAccountRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListHandshakesForAccountRequest::getPageSize() const { + return pageSize_; +} + +void ListHandshakesForAccountRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListHandshakesForResourceDirectoryRequest.cc b/resourcemanager/src/model/ListHandshakesForResourceDirectoryRequest.cc index 44646ddc3..ac63e4ebe 100644 --- a/resourcemanager/src/model/ListHandshakesForResourceDirectoryRequest.cc +++ b/resourcemanager/src/model/ListHandshakesForResourceDirectoryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListHandshakesForResourceDirectoryRequest; - -ListHandshakesForResourceDirectoryRequest::ListHandshakesForResourceDirectoryRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListHandshakesForResourceDirectory") -{ - setMethod(HttpRequest::Method::Post); -} - -ListHandshakesForResourceDirectoryRequest::~ListHandshakesForResourceDirectoryRequest() -{} - -int ListHandshakesForResourceDirectoryRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListHandshakesForResourceDirectoryRequest; + +ListHandshakesForResourceDirectoryRequest::ListHandshakesForResourceDirectoryRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListHandshakesForResourceDirectory") { + setMethod(HttpRequest::Method::Post); } -void ListHandshakesForResourceDirectoryRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListHandshakesForResourceDirectoryRequest::~ListHandshakesForResourceDirectoryRequest() {} + +int ListHandshakesForResourceDirectoryRequest::getPageNumber() const { + return pageNumber_; } -int ListHandshakesForResourceDirectoryRequest::getPageSize()const -{ - return pageSize_; +void ListHandshakesForResourceDirectoryRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListHandshakesForResourceDirectoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListHandshakesForResourceDirectoryRequest::getPageSize() const { + return pageSize_; +} + +void ListHandshakesForResourceDirectoryRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListPoliciesRequest.cc b/resourcemanager/src/model/ListPoliciesRequest.cc index e787239ff..5760ba481 100644 --- a/resourcemanager/src/model/ListPoliciesRequest.cc +++ b/resourcemanager/src/model/ListPoliciesRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListPoliciesRequest; - -ListPoliciesRequest::ListPoliciesRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicies") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPoliciesRequest::~ListPoliciesRequest() -{} - -std::string ListPoliciesRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListPoliciesRequest; + +ListPoliciesRequest::ListPoliciesRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicies") { + setMethod(HttpRequest::Method::Post); } -void ListPoliciesRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +ListPoliciesRequest::~ListPoliciesRequest() {} + +std::string ListPoliciesRequest::getPolicyType() const { + return policyType_; } -std::string ListPoliciesRequest::getLanguage()const -{ - return language_; +void ListPoliciesRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void ListPoliciesRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +std::string ListPoliciesRequest::getLanguage() const { + return language_; } -int ListPoliciesRequest::getPageNumber()const -{ - return pageNumber_; +void ListPoliciesRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void ListPoliciesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListPoliciesRequest::getPageNumber() const { + return pageNumber_; } -int ListPoliciesRequest::getPageSize()const -{ - return pageSize_; +void ListPoliciesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListPoliciesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPoliciesRequest::getPageSize() const { + return pageSize_; +} + +void ListPoliciesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListPoliciesResult.cc b/resourcemanager/src/model/ListPoliciesResult.cc index 7de231f18..ff1da025e 100644 --- a/resourcemanager/src/model/ListPoliciesResult.cc +++ b/resourcemanager/src/model/ListPoliciesResult.cc @@ -43,20 +43,20 @@ void ListPoliciesResult::parse(const std::string &payload) for (auto valuePoliciesPolicy : allPoliciesNode) { Policy policiesObject; - if(!valuePoliciesPolicy["PolicyType"].isNull()) - policiesObject.policyType = valuePoliciesPolicy["PolicyType"].asString(); - if(!valuePoliciesPolicy["UpdateDate"].isNull()) - policiesObject.updateDate = valuePoliciesPolicy["UpdateDate"].asString(); + if(!valuePoliciesPolicy["DefaultVersion"].isNull()) + policiesObject.defaultVersion = valuePoliciesPolicy["DefaultVersion"].asString(); if(!valuePoliciesPolicy["Description"].isNull()) policiesObject.description = valuePoliciesPolicy["Description"].asString(); + if(!valuePoliciesPolicy["UpdateDate"].isNull()) + policiesObject.updateDate = valuePoliciesPolicy["UpdateDate"].asString(); if(!valuePoliciesPolicy["AttachmentCount"].isNull()) policiesObject.attachmentCount = std::stoi(valuePoliciesPolicy["AttachmentCount"].asString()); if(!valuePoliciesPolicy["PolicyName"].isNull()) policiesObject.policyName = valuePoliciesPolicy["PolicyName"].asString(); - if(!valuePoliciesPolicy["DefaultVersion"].isNull()) - policiesObject.defaultVersion = valuePoliciesPolicy["DefaultVersion"].asString(); if(!valuePoliciesPolicy["CreateDate"].isNull()) policiesObject.createDate = valuePoliciesPolicy["CreateDate"].asString(); + if(!valuePoliciesPolicy["PolicyType"].isNull()) + policiesObject.policyType = valuePoliciesPolicy["PolicyType"].asString(); policies_.push_back(policiesObject); } if(!value["TotalCount"].isNull()) diff --git a/resourcemanager/src/model/ListPolicyAttachmentsRequest.cc b/resourcemanager/src/model/ListPolicyAttachmentsRequest.cc index c01b3e483..7a9012946 100644 --- a/resourcemanager/src/model/ListPolicyAttachmentsRequest.cc +++ b/resourcemanager/src/model/ListPolicyAttachmentsRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListPolicyAttachmentsRequest; - -ListPolicyAttachmentsRequest::ListPolicyAttachmentsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicyAttachments") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPolicyAttachmentsRequest::~ListPolicyAttachmentsRequest() -{} - -std::string ListPolicyAttachmentsRequest::getLanguage()const -{ - return language_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListPolicyAttachmentsRequest; + +ListPolicyAttachmentsRequest::ListPolicyAttachmentsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicyAttachments") { + setMethod(HttpRequest::Method::Post); } -void ListPolicyAttachmentsRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +ListPolicyAttachmentsRequest::~ListPolicyAttachmentsRequest() {} + +std::string ListPolicyAttachmentsRequest::getLanguage() const { + return language_; } -int ListPolicyAttachmentsRequest::getPageNumber()const -{ - return pageNumber_; +void ListPolicyAttachmentsRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void ListPolicyAttachmentsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListPolicyAttachmentsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListPolicyAttachmentsRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void ListPolicyAttachmentsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListPolicyAttachmentsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string ListPolicyAttachmentsRequest::getResourceGroupId() const { + return resourceGroupId_; } -int ListPolicyAttachmentsRequest::getPageSize()const -{ - return pageSize_; +void ListPolicyAttachmentsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void ListPolicyAttachmentsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPolicyAttachmentsRequest::getPageSize() const { + return pageSize_; } -std::string ListPolicyAttachmentsRequest::getPolicyType()const -{ - return policyType_; +void ListPolicyAttachmentsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListPolicyAttachmentsRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +std::string ListPolicyAttachmentsRequest::getPolicyType() const { + return policyType_; } -std::string ListPolicyAttachmentsRequest::getPrincipalType()const -{ - return principalType_; +void ListPolicyAttachmentsRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void ListPolicyAttachmentsRequest::setPrincipalType(const std::string& principalType) -{ - principalType_ = principalType; - setParameter("PrincipalType", principalType); +std::string ListPolicyAttachmentsRequest::getPrincipalType() const { + return principalType_; } -std::string ListPolicyAttachmentsRequest::getPolicyName()const -{ - return policyName_; +void ListPolicyAttachmentsRequest::setPrincipalType(const std::string &principalType) { + principalType_ = principalType; + setParameter(std::string("PrincipalType"), principalType); } -void ListPolicyAttachmentsRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string ListPolicyAttachmentsRequest::getPolicyName() const { + return policyName_; } -std::string ListPolicyAttachmentsRequest::getPrincipalName()const -{ - return principalName_; +void ListPolicyAttachmentsRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } -void ListPolicyAttachmentsRequest::setPrincipalName(const std::string& principalName) -{ - principalName_ = principalName; - setParameter("PrincipalName", principalName); +std::string ListPolicyAttachmentsRequest::getPrincipalName() const { + return principalName_; +} + +void ListPolicyAttachmentsRequest::setPrincipalName(const std::string &principalName) { + principalName_ = principalName; + setParameter(std::string("PrincipalName"), principalName); } diff --git a/resourcemanager/src/model/ListPolicyAttachmentsResult.cc b/resourcemanager/src/model/ListPolicyAttachmentsResult.cc index 3ab5c5029..3a03e8554 100644 --- a/resourcemanager/src/model/ListPolicyAttachmentsResult.cc +++ b/resourcemanager/src/model/ListPolicyAttachmentsResult.cc @@ -43,18 +43,18 @@ void ListPolicyAttachmentsResult::parse(const std::string &payload) for (auto valuePolicyAttachmentsPolicyAttachment : allPolicyAttachmentsNode) { PolicyAttachment policyAttachmentsObject; - if(!valuePolicyAttachmentsPolicyAttachment["PolicyType"].isNull()) - policyAttachmentsObject.policyType = valuePolicyAttachmentsPolicyAttachment["PolicyType"].asString(); if(!valuePolicyAttachmentsPolicyAttachment["Description"].isNull()) policyAttachmentsObject.description = valuePolicyAttachmentsPolicyAttachment["Description"].asString(); if(!valuePolicyAttachmentsPolicyAttachment["ResourceGroupId"].isNull()) policyAttachmentsObject.resourceGroupId = valuePolicyAttachmentsPolicyAttachment["ResourceGroupId"].asString(); - if(!valuePolicyAttachmentsPolicyAttachment["AttachDate"].isNull()) - policyAttachmentsObject.attachDate = valuePolicyAttachmentsPolicyAttachment["AttachDate"].asString(); if(!valuePolicyAttachmentsPolicyAttachment["PolicyName"].isNull()) policyAttachmentsObject.policyName = valuePolicyAttachmentsPolicyAttachment["PolicyName"].asString(); if(!valuePolicyAttachmentsPolicyAttachment["PrincipalName"].isNull()) policyAttachmentsObject.principalName = valuePolicyAttachmentsPolicyAttachment["PrincipalName"].asString(); + if(!valuePolicyAttachmentsPolicyAttachment["AttachDate"].isNull()) + policyAttachmentsObject.attachDate = valuePolicyAttachmentsPolicyAttachment["AttachDate"].asString(); + if(!valuePolicyAttachmentsPolicyAttachment["PolicyType"].isNull()) + policyAttachmentsObject.policyType = valuePolicyAttachmentsPolicyAttachment["PolicyType"].asString(); if(!valuePolicyAttachmentsPolicyAttachment["PrincipalType"].isNull()) policyAttachmentsObject.principalType = valuePolicyAttachmentsPolicyAttachment["PrincipalType"].asString(); policyAttachments_.push_back(policyAttachmentsObject); diff --git a/resourcemanager/src/model/ListPolicyVersionsRequest.cc b/resourcemanager/src/model/ListPolicyVersionsRequest.cc index 4cbe6cd20..8bf30f01f 100644 --- a/resourcemanager/src/model/ListPolicyVersionsRequest.cc +++ b/resourcemanager/src/model/ListPolicyVersionsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListPolicyVersionsRequest; - -ListPolicyVersionsRequest::ListPolicyVersionsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicyVersions") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPolicyVersionsRequest::~ListPolicyVersionsRequest() -{} - -std::string ListPolicyVersionsRequest::getPolicyType()const -{ - return policyType_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListPolicyVersionsRequest; + +ListPolicyVersionsRequest::ListPolicyVersionsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListPolicyVersions") { + setMethod(HttpRequest::Method::Post); } -void ListPolicyVersionsRequest::setPolicyType(const std::string& policyType) -{ - policyType_ = policyType; - setParameter("PolicyType", policyType); +ListPolicyVersionsRequest::~ListPolicyVersionsRequest() {} + +std::string ListPolicyVersionsRequest::getPolicyType() const { + return policyType_; } -std::string ListPolicyVersionsRequest::getPolicyName()const -{ - return policyName_; +void ListPolicyVersionsRequest::setPolicyType(const std::string &policyType) { + policyType_ = policyType; + setParameter(std::string("PolicyType"), policyType); } -void ListPolicyVersionsRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string ListPolicyVersionsRequest::getPolicyName() const { + return policyName_; +} + +void ListPolicyVersionsRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/ListPolicyVersionsResult.cc b/resourcemanager/src/model/ListPolicyVersionsResult.cc index 67f4387b5..5040ada4c 100644 --- a/resourcemanager/src/model/ListPolicyVersionsResult.cc +++ b/resourcemanager/src/model/ListPolicyVersionsResult.cc @@ -43,10 +43,10 @@ void ListPolicyVersionsResult::parse(const std::string &payload) for (auto valuePolicyVersionsPolicyVersion : allPolicyVersionsNode) { PolicyVersion policyVersionsObject; - if(!valuePolicyVersionsPolicyVersion["VersionId"].isNull()) - policyVersionsObject.versionId = valuePolicyVersionsPolicyVersion["VersionId"].asString(); if(!valuePolicyVersionsPolicyVersion["IsDefaultVersion"].isNull()) policyVersionsObject.isDefaultVersion = valuePolicyVersionsPolicyVersion["IsDefaultVersion"].asString() == "true"; + if(!valuePolicyVersionsPolicyVersion["VersionId"].isNull()) + policyVersionsObject.versionId = valuePolicyVersionsPolicyVersion["VersionId"].asString(); if(!valuePolicyVersionsPolicyVersion["CreateDate"].isNull()) policyVersionsObject.createDate = valuePolicyVersionsPolicyVersion["CreateDate"].asString(); policyVersions_.push_back(policyVersionsObject); diff --git a/resourcemanager/src/model/ListResourceGroupsRequest.cc b/resourcemanager/src/model/ListResourceGroupsRequest.cc index 4acec0cf2..23be8f88e 100644 --- a/resourcemanager/src/model/ListResourceGroupsRequest.cc +++ b/resourcemanager/src/model/ListResourceGroupsRequest.cc @@ -1,95 +1,81 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListResourceGroupsRequest; - -ListResourceGroupsRequest::ListResourceGroupsRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListResourceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListResourceGroupsRequest::~ListResourceGroupsRequest() -{} - -int ListResourceGroupsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListResourceGroupsRequest; + +ListResourceGroupsRequest::ListResourceGroupsRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListResourceGroups") { + setMethod(HttpRequest::Method::Post); } -void ListResourceGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListResourceGroupsRequest::~ListResourceGroupsRequest() {} + +int ListResourceGroupsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListResourceGroupsRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void ListResourceGroupsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListResourceGroupsRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string ListResourceGroupsRequest::getResourceGroupId() const { + return resourceGroupId_; } -int ListResourceGroupsRequest::getPageSize()const -{ - return pageSize_; +void ListResourceGroupsRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void ListResourceGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListResourceGroupsRequest::getPageSize() const { + return pageSize_; } -std::string ListResourceGroupsRequest::getDisplayName()const -{ - return displayName_; +void ListResourceGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListResourceGroupsRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string ListResourceGroupsRequest::getDisplayName() const { + return displayName_; } -std::string ListResourceGroupsRequest::getName()const -{ - return name_; +void ListResourceGroupsRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void ListResourceGroupsRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ListResourceGroupsRequest::getName() const { + return name_; } -std::string ListResourceGroupsRequest::getStatus()const -{ - return status_; +void ListResourceGroupsRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ListResourceGroupsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string ListResourceGroupsRequest::getStatus() const { + return status_; +} + +void ListResourceGroupsRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/resourcemanager/src/model/ListResourcesRequest.cc b/resourcemanager/src/model/ListResourcesRequest.cc index d22610f41..a7d765d2b 100644 --- a/resourcemanager/src/model/ListResourcesRequest.cc +++ b/resourcemanager/src/model/ListResourcesRequest.cc @@ -1,117 +1,99 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ListResourcesRequest; - -ListResourcesRequest::ListResourcesRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListResources") -{ - setMethod(HttpRequest::Method::Post); -} - -ListResourcesRequest::~ListResourcesRequest() -{} - -int ListResourcesRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListResourcesRequest; + +ListResourcesRequest::ListResourcesRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListResources") { + setMethod(HttpRequest::Method::Post); } -void ListResourcesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListResourcesRequest::~ListResourcesRequest() {} + +int ListResourcesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListResourcesRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void ListResourcesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListResourcesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string ListResourcesRequest::getResourceGroupId() const { + return resourceGroupId_; } -int ListResourcesRequest::getPageSize()const -{ - return pageSize_; +void ListResourcesRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } -void ListResourcesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListResourcesRequest::getPageSize() const { + return pageSize_; } -std::string ListResourcesRequest::getResourceId()const -{ - return resourceId_; +void ListResourcesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListResourcesRequest::setResourceId(const std::string& resourceId) -{ - resourceId_ = resourceId; - setParameter("ResourceId", resourceId); +std::string ListResourcesRequest::getResourceId() const { + return resourceId_; } -std::string ListResourcesRequest::getResourceType()const -{ - return resourceType_; +void ListResourcesRequest::setResourceId(const std::string &resourceId) { + resourceId_ = resourceId; + setParameter(std::string("ResourceId"), resourceId); } -void ListResourcesRequest::setResourceType(const std::string& resourceType) -{ - resourceType_ = resourceType; - setParameter("ResourceType", resourceType); +std::string ListResourcesRequest::getResourceType() const { + return resourceType_; } -std::string ListResourcesRequest::getService()const -{ - return service_; +void ListResourcesRequest::setResourceType(const std::string &resourceType) { + resourceType_ = resourceType; + setParameter(std::string("ResourceType"), resourceType); } -void ListResourcesRequest::setService(const std::string& service) -{ - service_ = service; - setParameter("Service", service); +std::string ListResourcesRequest::getService() const { + return service_; } -std::string ListResourcesRequest::getRegion()const -{ - return region_; +void ListResourcesRequest::setService(const std::string &service) { + service_ = service; + setParameter(std::string("Service"), service); } -void ListResourcesRequest::setRegion(const std::string& region) -{ - region_ = region; - setParameter("Region", region); +std::string ListResourcesRequest::getRegion() const { + return region_; } -std::string ListResourcesRequest::getResourceIds()const -{ - return resourceIds_; +void ListResourcesRequest::setRegion(const std::string ®ion) { + region_ = region; + setParameter(std::string("Region"), region); } -void ListResourcesRequest::setResourceIds(const std::string& resourceIds) -{ - resourceIds_ = resourceIds; - setParameter("ResourceIds", resourceIds); +std::string ListResourcesRequest::getResourceIds() const { + return resourceIds_; +} + +void ListResourcesRequest::setResourceIds(const std::string &resourceIds) { + resourceIds_ = resourceIds; + setParameter(std::string("ResourceIds"), resourceIds); } diff --git a/resourcemanager/src/model/ListRolesRequest.cc b/resourcemanager/src/model/ListRolesRequest.cc index 6ec8f84b0..b2a639901 100644 --- a/resourcemanager/src/model/ListRolesRequest.cc +++ b/resourcemanager/src/model/ListRolesRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListRolesRequest; - -ListRolesRequest::ListRolesRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListRoles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRolesRequest::~ListRolesRequest() -{} - -std::string ListRolesRequest::getLanguage()const -{ - return language_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListRolesRequest; + +ListRolesRequest::ListRolesRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListRoles") { + setMethod(HttpRequest::Method::Post); } -void ListRolesRequest::setLanguage(const std::string& language) -{ - language_ = language; - setParameter("Language", language); +ListRolesRequest::~ListRolesRequest() {} + +std::string ListRolesRequest::getLanguage() const { + return language_; } -int ListRolesRequest::getPageNumber()const -{ - return pageNumber_; +void ListRolesRequest::setLanguage(const std::string &language) { + language_ = language; + setParameter(std::string("Language"), language); } -void ListRolesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListRolesRequest::getPageNumber() const { + return pageNumber_; } -int ListRolesRequest::getPageSize()const -{ - return pageSize_; +void ListRolesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRolesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListRolesRequest::getPageSize() const { + return pageSize_; +} + +void ListRolesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListRolesResult.cc b/resourcemanager/src/model/ListRolesResult.cc index 4ad684446..2bc6b9134 100644 --- a/resourcemanager/src/model/ListRolesResult.cc +++ b/resourcemanager/src/model/ListRolesResult.cc @@ -43,29 +43,29 @@ void ListRolesResult::parse(const std::string &payload) for (auto valueRolesRole : allRolesNode) { Role rolesObject; - if(!valueRolesRole["MaxSessionDuration"].isNull()) - rolesObject.maxSessionDuration = std::stol(valueRolesRole["MaxSessionDuration"].asString()); - if(!valueRolesRole["UpdateDate"].isNull()) - rolesObject.updateDate = valueRolesRole["UpdateDate"].asString(); - if(!valueRolesRole["RoleName"].isNull()) - rolesObject.roleName = valueRolesRole["RoleName"].asString(); - if(!valueRolesRole["Description"].isNull()) - rolesObject.description = valueRolesRole["Description"].asString(); - if(!valueRolesRole["IsServiceLinkedRole"].isNull()) - rolesObject.isServiceLinkedRole = valueRolesRole["IsServiceLinkedRole"].asString() == "true"; - if(!valueRolesRole["Arn"].isNull()) - rolesObject.arn = valueRolesRole["Arn"].asString(); - if(!valueRolesRole["RoleId"].isNull()) - rolesObject.roleId = valueRolesRole["RoleId"].asString(); - if(!valueRolesRole["CreateDate"].isNull()) - rolesObject.createDate = valueRolesRole["CreateDate"].asString(); if(!valueRolesRole["RolePrincipalName"].isNull()) rolesObject.rolePrincipalName = valueRolesRole["RolePrincipalName"].asString(); + if(!valueRolesRole["UpdateDate"].isNull()) + rolesObject.updateDate = valueRolesRole["UpdateDate"].asString(); + if(!valueRolesRole["Description"].isNull()) + rolesObject.description = valueRolesRole["Description"].asString(); + if(!valueRolesRole["MaxSessionDuration"].isNull()) + rolesObject.maxSessionDuration = std::stol(valueRolesRole["MaxSessionDuration"].asString()); + if(!valueRolesRole["RoleName"].isNull()) + rolesObject.roleName = valueRolesRole["RoleName"].asString(); + if(!valueRolesRole["CreateDate"].isNull()) + rolesObject.createDate = valueRolesRole["CreateDate"].asString(); + if(!valueRolesRole["RoleId"].isNull()) + rolesObject.roleId = valueRolesRole["RoleId"].asString(); + if(!valueRolesRole["Arn"].isNull()) + rolesObject.arn = valueRolesRole["Arn"].asString(); + if(!valueRolesRole["IsServiceLinkedRole"].isNull()) + rolesObject.isServiceLinkedRole = valueRolesRole["IsServiceLinkedRole"].asString() == "true"; auto latestDeletionTaskNode = value["LatestDeletionTask"]; - if(!latestDeletionTaskNode["CreateDate"].isNull()) - rolesObject.latestDeletionTask.createDate = latestDeletionTaskNode["CreateDate"].asString(); if(!latestDeletionTaskNode["DeletionTaskId"].isNull()) rolesObject.latestDeletionTask.deletionTaskId = latestDeletionTaskNode["DeletionTaskId"].asString(); + if(!latestDeletionTaskNode["CreateDate"].isNull()) + rolesObject.latestDeletionTask.createDate = latestDeletionTaskNode["CreateDate"].asString(); roles_.push_back(rolesObject); } if(!value["TotalCount"].isNull()) diff --git a/resourcemanager/src/model/ListTargetAttachmentsForControlPolicyRequest.cc b/resourcemanager/src/model/ListTargetAttachmentsForControlPolicyRequest.cc index f37360031..f349de46e 100644 --- a/resourcemanager/src/model/ListTargetAttachmentsForControlPolicyRequest.cc +++ b/resourcemanager/src/model/ListTargetAttachmentsForControlPolicyRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListTargetAttachmentsForControlPolicyRequest; - -ListTargetAttachmentsForControlPolicyRequest::ListTargetAttachmentsForControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListTargetAttachmentsForControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTargetAttachmentsForControlPolicyRequest::~ListTargetAttachmentsForControlPolicyRequest() -{} - -int ListTargetAttachmentsForControlPolicyRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListTargetAttachmentsForControlPolicyRequest; + +ListTargetAttachmentsForControlPolicyRequest::ListTargetAttachmentsForControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListTargetAttachmentsForControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void ListTargetAttachmentsForControlPolicyRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListTargetAttachmentsForControlPolicyRequest::~ListTargetAttachmentsForControlPolicyRequest() {} + +int ListTargetAttachmentsForControlPolicyRequest::getPageNumber() const { + return pageNumber_; } -std::string ListTargetAttachmentsForControlPolicyRequest::getPolicyId()const -{ - return policyId_; +void ListTargetAttachmentsForControlPolicyRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListTargetAttachmentsForControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +std::string ListTargetAttachmentsForControlPolicyRequest::getPolicyId() const { + return policyId_; } -int ListTargetAttachmentsForControlPolicyRequest::getPageSize()const -{ - return pageSize_; +void ListTargetAttachmentsForControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } -void ListTargetAttachmentsForControlPolicyRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListTargetAttachmentsForControlPolicyRequest::getPageSize() const { + return pageSize_; +} + +void ListTargetAttachmentsForControlPolicyRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/ListTrustedServiceStatusRequest.cc b/resourcemanager/src/model/ListTrustedServiceStatusRequest.cc index 119c3e7dd..e8595f410 100644 --- a/resourcemanager/src/model/ListTrustedServiceStatusRequest.cc +++ b/resourcemanager/src/model/ListTrustedServiceStatusRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::ListTrustedServiceStatusRequest; - -ListTrustedServiceStatusRequest::ListTrustedServiceStatusRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ListTrustedServiceStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -ListTrustedServiceStatusRequest::~ListTrustedServiceStatusRequest() -{} - -std::string ListTrustedServiceStatusRequest::getAdminAccountId()const -{ - return adminAccountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ListTrustedServiceStatusRequest; + +ListTrustedServiceStatusRequest::ListTrustedServiceStatusRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ListTrustedServiceStatus") { + setMethod(HttpRequest::Method::Post); } -void ListTrustedServiceStatusRequest::setAdminAccountId(const std::string& adminAccountId) -{ - adminAccountId_ = adminAccountId; - setParameter("AdminAccountId", adminAccountId); +ListTrustedServiceStatusRequest::~ListTrustedServiceStatusRequest() {} + +std::string ListTrustedServiceStatusRequest::getAdminAccountId() const { + return adminAccountId_; } -int ListTrustedServiceStatusRequest::getPageNumber()const -{ - return pageNumber_; +void ListTrustedServiceStatusRequest::setAdminAccountId(const std::string &adminAccountId) { + adminAccountId_ = adminAccountId; + setParameter(std::string("AdminAccountId"), adminAccountId); } -void ListTrustedServiceStatusRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListTrustedServiceStatusRequest::getPageNumber() const { + return pageNumber_; } -int ListTrustedServiceStatusRequest::getPageSize()const -{ - return pageSize_; +void ListTrustedServiceStatusRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListTrustedServiceStatusRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListTrustedServiceStatusRequest::getPageSize() const { + return pageSize_; +} + +void ListTrustedServiceStatusRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/resourcemanager/src/model/MoveAccountRequest.cc b/resourcemanager/src/model/MoveAccountRequest.cc index 72d322338..f23e4e532 100644 --- a/resourcemanager/src/model/MoveAccountRequest.cc +++ b/resourcemanager/src/model/MoveAccountRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::MoveAccountRequest; - -MoveAccountRequest::MoveAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "MoveAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -MoveAccountRequest::~MoveAccountRequest() -{} - -std::string MoveAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::MoveAccountRequest; + +MoveAccountRequest::MoveAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "MoveAccount") { + setMethod(HttpRequest::Method::Post); } -void MoveAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +MoveAccountRequest::~MoveAccountRequest() {} + +std::string MoveAccountRequest::getAccountId() const { + return accountId_; } -std::string MoveAccountRequest::getDestinationFolderId()const -{ - return destinationFolderId_; +void MoveAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } -void MoveAccountRequest::setDestinationFolderId(const std::string& destinationFolderId) -{ - destinationFolderId_ = destinationFolderId; - setParameter("DestinationFolderId", destinationFolderId); +std::string MoveAccountRequest::getDestinationFolderId() const { + return destinationFolderId_; +} + +void MoveAccountRequest::setDestinationFolderId(const std::string &destinationFolderId) { + destinationFolderId_ = destinationFolderId; + setParameter(std::string("DestinationFolderId"), destinationFolderId); } diff --git a/resourcemanager/src/model/MoveResourcesRequest.cc b/resourcemanager/src/model/MoveResourcesRequest.cc index 62814c70e..09f985b04 100644 --- a/resourcemanager/src/model/MoveResourcesRequest.cc +++ b/resourcemanager/src/model/MoveResourcesRequest.cc @@ -1,51 +1,50 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::MoveResourcesRequest; - -MoveResourcesRequest::MoveResourcesRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "MoveResources") -{ - setMethod(HttpRequest::Method::Post); -} - -MoveResourcesRequest::~MoveResourcesRequest() -{} - -Array MoveResourcesRequest::getResources()const -{ - return resources_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::MoveResourcesRequest; + +MoveResourcesRequest::MoveResourcesRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "MoveResources") { + setMethod(HttpRequest::Method::Post); } -void MoveResourcesRequest::setResources(const Array& resources) -{ - resources_ = resources; - setParameter("Resources", std::to_string(resources)); +MoveResourcesRequest::~MoveResourcesRequest() {} + +std::vector MoveResourcesRequest::getResources() const { + return resources_; } -std::string MoveResourcesRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void MoveResourcesRequest::setResources(const std::vector &resources) { + resources_ = resources; + for(int dep1 = 0; dep1 != resources.size(); dep1++) { + setParameter(std::string("Resources") + "." + std::to_string(dep1 + 1) + ".ResourceId", resources[dep1].resourceId); + setParameter(std::string("Resources") + "." + std::to_string(dep1 + 1) + ".RegionId", resources[dep1].regionId); + setParameter(std::string("Resources") + "." + std::to_string(dep1 + 1) + ".Service", resources[dep1].service); + setParameter(std::string("Resources") + "." + std::to_string(dep1 + 1) + ".ResourceType", resources[dep1].resourceType); + } } -void MoveResourcesRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string MoveResourcesRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void MoveResourcesRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } diff --git a/resourcemanager/src/model/PromoteResourceAccountRequest.cc b/resourcemanager/src/model/PromoteResourceAccountRequest.cc index 40fa413d0..3ac8b0c66 100644 --- a/resourcemanager/src/model/PromoteResourceAccountRequest.cc +++ b/resourcemanager/src/model/PromoteResourceAccountRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::PromoteResourceAccountRequest; - -PromoteResourceAccountRequest::PromoteResourceAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "PromoteResourceAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -PromoteResourceAccountRequest::~PromoteResourceAccountRequest() -{} - -std::string PromoteResourceAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::PromoteResourceAccountRequest; + +PromoteResourceAccountRequest::PromoteResourceAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "PromoteResourceAccount") { + setMethod(HttpRequest::Method::Post); } -void PromoteResourceAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +PromoteResourceAccountRequest::~PromoteResourceAccountRequest() {} + +std::string PromoteResourceAccountRequest::getAccountId() const { + return accountId_; } -std::string PromoteResourceAccountRequest::getEmail()const -{ - return email_; +void PromoteResourceAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } -void PromoteResourceAccountRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); +std::string PromoteResourceAccountRequest::getEmail() const { + return email_; +} + +void PromoteResourceAccountRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); } diff --git a/resourcemanager/src/model/RegisterDelegatedAdministratorRequest.cc b/resourcemanager/src/model/RegisterDelegatedAdministratorRequest.cc index 4e426aa87..649e0753e 100644 --- a/resourcemanager/src/model/RegisterDelegatedAdministratorRequest.cc +++ b/resourcemanager/src/model/RegisterDelegatedAdministratorRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::RegisterDelegatedAdministratorRequest; - -RegisterDelegatedAdministratorRequest::RegisterDelegatedAdministratorRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "RegisterDelegatedAdministrator") -{ - setMethod(HttpRequest::Method::Post); -} - -RegisterDelegatedAdministratorRequest::~RegisterDelegatedAdministratorRequest() -{} - -std::string RegisterDelegatedAdministratorRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::RegisterDelegatedAdministratorRequest; + +RegisterDelegatedAdministratorRequest::RegisterDelegatedAdministratorRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "RegisterDelegatedAdministrator") { + setMethod(HttpRequest::Method::Post); } -void RegisterDelegatedAdministratorRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +RegisterDelegatedAdministratorRequest::~RegisterDelegatedAdministratorRequest() {} + +std::string RegisterDelegatedAdministratorRequest::getAccountId() const { + return accountId_; } -std::string RegisterDelegatedAdministratorRequest::getServicePrincipal()const -{ - return servicePrincipal_; +void RegisterDelegatedAdministratorRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } -void RegisterDelegatedAdministratorRequest::setServicePrincipal(const std::string& servicePrincipal) -{ - servicePrincipal_ = servicePrincipal; - setParameter("ServicePrincipal", servicePrincipal); +std::string RegisterDelegatedAdministratorRequest::getServicePrincipal() const { + return servicePrincipal_; +} + +void RegisterDelegatedAdministratorRequest::setServicePrincipal(const std::string &servicePrincipal) { + servicePrincipal_ = servicePrincipal; + setParameter(std::string("ServicePrincipal"), servicePrincipal); } diff --git a/resourcemanager/src/model/RemoveCloudAccountRequest.cc b/resourcemanager/src/model/RemoveCloudAccountRequest.cc index de1b6e84b..aa7eda4e2 100644 --- a/resourcemanager/src/model/RemoveCloudAccountRequest.cc +++ b/resourcemanager/src/model/RemoveCloudAccountRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::RemoveCloudAccountRequest; - -RemoveCloudAccountRequest::RemoveCloudAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "RemoveCloudAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveCloudAccountRequest::~RemoveCloudAccountRequest() -{} - -std::string RemoveCloudAccountRequest::getAccountId()const -{ - return accountId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::RemoveCloudAccountRequest; + +RemoveCloudAccountRequest::RemoveCloudAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "RemoveCloudAccount") { + setMethod(HttpRequest::Method::Post); } -void RemoveCloudAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +RemoveCloudAccountRequest::~RemoveCloudAccountRequest() {} + +std::string RemoveCloudAccountRequest::getAccountId() const { + return accountId_; +} + +void RemoveCloudAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/ResendCreateCloudAccountEmailRequest.cc b/resourcemanager/src/model/ResendCreateCloudAccountEmailRequest.cc index 30a62f120..40cf0ba0a 100644 --- a/resourcemanager/src/model/ResendCreateCloudAccountEmailRequest.cc +++ b/resourcemanager/src/model/ResendCreateCloudAccountEmailRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ResendCreateCloudAccountEmailRequest; - -ResendCreateCloudAccountEmailRequest::ResendCreateCloudAccountEmailRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ResendCreateCloudAccountEmail") -{ - setMethod(HttpRequest::Method::Post); -} - -ResendCreateCloudAccountEmailRequest::~ResendCreateCloudAccountEmailRequest() -{} - -std::string ResendCreateCloudAccountEmailRequest::getRecordId()const -{ - return recordId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ResendCreateCloudAccountEmailRequest; + +ResendCreateCloudAccountEmailRequest::ResendCreateCloudAccountEmailRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ResendCreateCloudAccountEmail") { + setMethod(HttpRequest::Method::Post); } -void ResendCreateCloudAccountEmailRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); +ResendCreateCloudAccountEmailRequest::~ResendCreateCloudAccountEmailRequest() {} + +std::string ResendCreateCloudAccountEmailRequest::getRecordId() const { + return recordId_; +} + +void ResendCreateCloudAccountEmailRequest::setRecordId(const std::string &recordId) { + recordId_ = recordId; + setParameter(std::string("RecordId"), recordId); } diff --git a/resourcemanager/src/model/ResendPromoteResourceAccountEmailRequest.cc b/resourcemanager/src/model/ResendPromoteResourceAccountEmailRequest.cc index 7659593ae..8dbf7a3ba 100644 --- a/resourcemanager/src/model/ResendPromoteResourceAccountEmailRequest.cc +++ b/resourcemanager/src/model/ResendPromoteResourceAccountEmailRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::ResendPromoteResourceAccountEmailRequest; - -ResendPromoteResourceAccountEmailRequest::ResendPromoteResourceAccountEmailRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "ResendPromoteResourceAccountEmail") -{ - setMethod(HttpRequest::Method::Post); -} - -ResendPromoteResourceAccountEmailRequest::~ResendPromoteResourceAccountEmailRequest() -{} - -std::string ResendPromoteResourceAccountEmailRequest::getRecordId()const -{ - return recordId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::ResendPromoteResourceAccountEmailRequest; + +ResendPromoteResourceAccountEmailRequest::ResendPromoteResourceAccountEmailRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "ResendPromoteResourceAccountEmail") { + setMethod(HttpRequest::Method::Post); } -void ResendPromoteResourceAccountEmailRequest::setRecordId(const std::string& recordId) -{ - recordId_ = recordId; - setParameter("RecordId", recordId); +ResendPromoteResourceAccountEmailRequest::~ResendPromoteResourceAccountEmailRequest() {} + +std::string ResendPromoteResourceAccountEmailRequest::getRecordId() const { + return recordId_; +} + +void ResendPromoteResourceAccountEmailRequest::setRecordId(const std::string &recordId) { + recordId_ = recordId; + setParameter(std::string("RecordId"), recordId); } diff --git a/resourcemanager/src/model/SendVerificationCodeForBindSecureMobilePhoneRequest.cc b/resourcemanager/src/model/SendVerificationCodeForBindSecureMobilePhoneRequest.cc index f9ef94977..27befa9af 100644 --- a/resourcemanager/src/model/SendVerificationCodeForBindSecureMobilePhoneRequest.cc +++ b/resourcemanager/src/model/SendVerificationCodeForBindSecureMobilePhoneRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::SendVerificationCodeForBindSecureMobilePhoneRequest; - -SendVerificationCodeForBindSecureMobilePhoneRequest::SendVerificationCodeForBindSecureMobilePhoneRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "SendVerificationCodeForBindSecureMobilePhone") -{ - setMethod(HttpRequest::Method::Post); -} - -SendVerificationCodeForBindSecureMobilePhoneRequest::~SendVerificationCodeForBindSecureMobilePhoneRequest() -{} - -std::string SendVerificationCodeForBindSecureMobilePhoneRequest::getSecureMobilePhone()const -{ - return secureMobilePhone_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::SendVerificationCodeForBindSecureMobilePhoneRequest; + +SendVerificationCodeForBindSecureMobilePhoneRequest::SendVerificationCodeForBindSecureMobilePhoneRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "SendVerificationCodeForBindSecureMobilePhone") { + setMethod(HttpRequest::Method::Post); } -void SendVerificationCodeForBindSecureMobilePhoneRequest::setSecureMobilePhone(const std::string& secureMobilePhone) -{ - secureMobilePhone_ = secureMobilePhone; - setParameter("SecureMobilePhone", secureMobilePhone); +SendVerificationCodeForBindSecureMobilePhoneRequest::~SendVerificationCodeForBindSecureMobilePhoneRequest() {} + +std::string SendVerificationCodeForBindSecureMobilePhoneRequest::getSecureMobilePhone() const { + return secureMobilePhone_; } -std::string SendVerificationCodeForBindSecureMobilePhoneRequest::getAccountId()const -{ - return accountId_; +void SendVerificationCodeForBindSecureMobilePhoneRequest::setSecureMobilePhone(const std::string &secureMobilePhone) { + secureMobilePhone_ = secureMobilePhone; + setParameter(std::string("SecureMobilePhone"), secureMobilePhone); } -void SendVerificationCodeForBindSecureMobilePhoneRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +std::string SendVerificationCodeForBindSecureMobilePhoneRequest::getAccountId() const { + return accountId_; +} + +void SendVerificationCodeForBindSecureMobilePhoneRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/SendVerificationCodeForEnableRDRequest.cc b/resourcemanager/src/model/SendVerificationCodeForEnableRDRequest.cc index 96e99974d..36c6eb5dc 100644 --- a/resourcemanager/src/model/SendVerificationCodeForEnableRDRequest.cc +++ b/resourcemanager/src/model/SendVerificationCodeForEnableRDRequest.cc @@ -1,40 +1,36 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::SendVerificationCodeForEnableRDRequest; - -SendVerificationCodeForEnableRDRequest::SendVerificationCodeForEnableRDRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "SendVerificationCodeForEnableRD") -{ - setMethod(HttpRequest::Method::Post); -} - -SendVerificationCodeForEnableRDRequest::~SendVerificationCodeForEnableRDRequest() -{} - -std::string SendVerificationCodeForEnableRDRequest::getSecureMobilePhone()const -{ - return secureMobilePhone_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::SendVerificationCodeForEnableRDRequest; + +SendVerificationCodeForEnableRDRequest::SendVerificationCodeForEnableRDRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "SendVerificationCodeForEnableRD") { + setMethod(HttpRequest::Method::Post); } -void SendVerificationCodeForEnableRDRequest::setSecureMobilePhone(const std::string& secureMobilePhone) -{ - secureMobilePhone_ = secureMobilePhone; - setParameter("SecureMobilePhone", secureMobilePhone); +SendVerificationCodeForEnableRDRequest::~SendVerificationCodeForEnableRDRequest() {} + +std::string SendVerificationCodeForEnableRDRequest::getSecureMobilePhone() const { + return secureMobilePhone_; +} + +void SendVerificationCodeForEnableRDRequest::setSecureMobilePhone(const std::string &secureMobilePhone) { + secureMobilePhone_ = secureMobilePhone; + setParameter(std::string("SecureMobilePhone"), secureMobilePhone); } diff --git a/resourcemanager/src/model/SetDefaultPolicyVersionRequest.cc b/resourcemanager/src/model/SetDefaultPolicyVersionRequest.cc index 0ae7c3d04..b3cba31c7 100644 --- a/resourcemanager/src/model/SetDefaultPolicyVersionRequest.cc +++ b/resourcemanager/src/model/SetDefaultPolicyVersionRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::SetDefaultPolicyVersionRequest; - -SetDefaultPolicyVersionRequest::SetDefaultPolicyVersionRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "SetDefaultPolicyVersion") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDefaultPolicyVersionRequest::~SetDefaultPolicyVersionRequest() -{} - -std::string SetDefaultPolicyVersionRequest::getVersionId()const -{ - return versionId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::SetDefaultPolicyVersionRequest; + +SetDefaultPolicyVersionRequest::SetDefaultPolicyVersionRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "SetDefaultPolicyVersion") { + setMethod(HttpRequest::Method::Post); } -void SetDefaultPolicyVersionRequest::setVersionId(const std::string& versionId) -{ - versionId_ = versionId; - setParameter("VersionId", versionId); +SetDefaultPolicyVersionRequest::~SetDefaultPolicyVersionRequest() {} + +std::string SetDefaultPolicyVersionRequest::getVersionId() const { + return versionId_; } -std::string SetDefaultPolicyVersionRequest::getPolicyName()const -{ - return policyName_; +void SetDefaultPolicyVersionRequest::setVersionId(const std::string &versionId) { + versionId_ = versionId; + setParameter(std::string("VersionId"), versionId); } -void SetDefaultPolicyVersionRequest::setPolicyName(const std::string& policyName) -{ - policyName_ = policyName; - setParameter("PolicyName", policyName); +std::string SetDefaultPolicyVersionRequest::getPolicyName() const { + return policyName_; +} + +void SetDefaultPolicyVersionRequest::setPolicyName(const std::string &policyName) { + policyName_ = policyName; + setParameter(std::string("PolicyName"), policyName); } diff --git a/resourcemanager/src/model/UpdateAccountRequest.cc b/resourcemanager/src/model/UpdateAccountRequest.cc index fa7604c82..de9b5b869 100644 --- a/resourcemanager/src/model/UpdateAccountRequest.cc +++ b/resourcemanager/src/model/UpdateAccountRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::UpdateAccountRequest; - -UpdateAccountRequest::UpdateAccountRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateAccountRequest::~UpdateAccountRequest() -{} - -std::string UpdateAccountRequest::getNewDisplayName()const -{ - return newDisplayName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::UpdateAccountRequest; + +UpdateAccountRequest::UpdateAccountRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateAccount") { + setMethod(HttpRequest::Method::Post); } -void UpdateAccountRequest::setNewDisplayName(const std::string& newDisplayName) -{ - newDisplayName_ = newDisplayName; - setParameter("NewDisplayName", newDisplayName); +UpdateAccountRequest::~UpdateAccountRequest() {} + +std::string UpdateAccountRequest::getNewDisplayName() const { + return newDisplayName_; } -std::string UpdateAccountRequest::getNewAccountType()const -{ - return newAccountType_; +void UpdateAccountRequest::setNewDisplayName(const std::string &newDisplayName) { + newDisplayName_ = newDisplayName; + setParameter(std::string("NewDisplayName"), newDisplayName); } -void UpdateAccountRequest::setNewAccountType(const std::string& newAccountType) -{ - newAccountType_ = newAccountType; - setParameter("NewAccountType", newAccountType); +std::string UpdateAccountRequest::getNewAccountType() const { + return newAccountType_; } -std::string UpdateAccountRequest::getAccountId()const -{ - return accountId_; +void UpdateAccountRequest::setNewAccountType(const std::string &newAccountType) { + newAccountType_ = newAccountType; + setParameter(std::string("NewAccountType"), newAccountType); } -void UpdateAccountRequest::setAccountId(const std::string& accountId) -{ - accountId_ = accountId; - setParameter("AccountId", accountId); +std::string UpdateAccountRequest::getAccountId() const { + return accountId_; +} + +void UpdateAccountRequest::setAccountId(const std::string &accountId) { + accountId_ = accountId; + setParameter(std::string("AccountId"), accountId); } diff --git a/resourcemanager/src/model/UpdateControlPolicyRequest.cc b/resourcemanager/src/model/UpdateControlPolicyRequest.cc index 1fcbe057b..e887df4f0 100644 --- a/resourcemanager/src/model/UpdateControlPolicyRequest.cc +++ b/resourcemanager/src/model/UpdateControlPolicyRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::UpdateControlPolicyRequest; - -UpdateControlPolicyRequest::UpdateControlPolicyRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateControlPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateControlPolicyRequest::~UpdateControlPolicyRequest() -{} - -std::string UpdateControlPolicyRequest::getNewPolicyName()const -{ - return newPolicyName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::UpdateControlPolicyRequest; + +UpdateControlPolicyRequest::UpdateControlPolicyRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateControlPolicy") { + setMethod(HttpRequest::Method::Post); } -void UpdateControlPolicyRequest::setNewPolicyName(const std::string& newPolicyName) -{ - newPolicyName_ = newPolicyName; - setParameter("NewPolicyName", newPolicyName); +UpdateControlPolicyRequest::~UpdateControlPolicyRequest() {} + +std::string UpdateControlPolicyRequest::getNewPolicyName() const { + return newPolicyName_; } -std::string UpdateControlPolicyRequest::getPolicyId()const -{ - return policyId_; +void UpdateControlPolicyRequest::setNewPolicyName(const std::string &newPolicyName) { + newPolicyName_ = newPolicyName; + setParameter(std::string("NewPolicyName"), newPolicyName); } -void UpdateControlPolicyRequest::setPolicyId(const std::string& policyId) -{ - policyId_ = policyId; - setParameter("PolicyId", policyId); +std::string UpdateControlPolicyRequest::getPolicyId() const { + return policyId_; } -std::string UpdateControlPolicyRequest::getNewPolicyDocument()const -{ - return newPolicyDocument_; +void UpdateControlPolicyRequest::setPolicyId(const std::string &policyId) { + policyId_ = policyId; + setParameter(std::string("PolicyId"), policyId); } -void UpdateControlPolicyRequest::setNewPolicyDocument(const std::string& newPolicyDocument) -{ - newPolicyDocument_ = newPolicyDocument; - setParameter("NewPolicyDocument", newPolicyDocument); +std::string UpdateControlPolicyRequest::getNewPolicyDocument() const { + return newPolicyDocument_; } -std::string UpdateControlPolicyRequest::getNewDescription()const -{ - return newDescription_; +void UpdateControlPolicyRequest::setNewPolicyDocument(const std::string &newPolicyDocument) { + newPolicyDocument_ = newPolicyDocument; + setParameter(std::string("NewPolicyDocument"), newPolicyDocument); } -void UpdateControlPolicyRequest::setNewDescription(const std::string& newDescription) -{ - newDescription_ = newDescription; - setParameter("NewDescription", newDescription); +std::string UpdateControlPolicyRequest::getNewDescription() const { + return newDescription_; +} + +void UpdateControlPolicyRequest::setNewDescription(const std::string &newDescription) { + newDescription_ = newDescription; + setParameter(std::string("NewDescription"), newDescription); } diff --git a/resourcemanager/src/model/UpdateFolderRequest.cc b/resourcemanager/src/model/UpdateFolderRequest.cc index 09b3966da..e5902c097 100644 --- a/resourcemanager/src/model/UpdateFolderRequest.cc +++ b/resourcemanager/src/model/UpdateFolderRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::UpdateFolderRequest; - -UpdateFolderRequest::UpdateFolderRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateFolderRequest::~UpdateFolderRequest() -{} - -std::string UpdateFolderRequest::getFolderId()const -{ - return folderId_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::UpdateFolderRequest; + +UpdateFolderRequest::UpdateFolderRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateFolder") { + setMethod(HttpRequest::Method::Post); } -void UpdateFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setParameter("FolderId", folderId); +UpdateFolderRequest::~UpdateFolderRequest() {} + +std::string UpdateFolderRequest::getFolderId() const { + return folderId_; } -std::string UpdateFolderRequest::getNewFolderName()const -{ - return newFolderName_; +void UpdateFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setParameter(std::string("FolderId"), folderId); } -void UpdateFolderRequest::setNewFolderName(const std::string& newFolderName) -{ - newFolderName_ = newFolderName; - setParameter("NewFolderName", newFolderName); +std::string UpdateFolderRequest::getNewFolderName() const { + return newFolderName_; +} + +void UpdateFolderRequest::setNewFolderName(const std::string &newFolderName) { + newFolderName_ = newFolderName; + setParameter(std::string("NewFolderName"), newFolderName); } diff --git a/resourcemanager/src/model/UpdateResourceGroupRequest.cc b/resourcemanager/src/model/UpdateResourceGroupRequest.cc index 44161d9d6..797f65b3f 100644 --- a/resourcemanager/src/model/UpdateResourceGroupRequest.cc +++ b/resourcemanager/src/model/UpdateResourceGroupRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::ResourceManager::Model::UpdateResourceGroupRequest; - -UpdateResourceGroupRequest::UpdateResourceGroupRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateResourceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateResourceGroupRequest::~UpdateResourceGroupRequest() -{} - -std::string UpdateResourceGroupRequest::getNewDisplayName()const -{ - return newDisplayName_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::UpdateResourceGroupRequest; + +UpdateResourceGroupRequest::UpdateResourceGroupRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateResourceGroup") { + setMethod(HttpRequest::Method::Post); } -void UpdateResourceGroupRequest::setNewDisplayName(const std::string& newDisplayName) -{ - newDisplayName_ = newDisplayName; - setParameter("NewDisplayName", newDisplayName); +UpdateResourceGroupRequest::~UpdateResourceGroupRequest() {} + +std::string UpdateResourceGroupRequest::getNewDisplayName() const { + return newDisplayName_; } -std::string UpdateResourceGroupRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void UpdateResourceGroupRequest::setNewDisplayName(const std::string &newDisplayName) { + newDisplayName_ = newDisplayName; + setParameter(std::string("NewDisplayName"), newDisplayName); } -void UpdateResourceGroupRequest::setResourceGroupId(const std::string& resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setParameter("ResourceGroupId", resourceGroupId); +std::string UpdateResourceGroupRequest::getResourceGroupId() const { + return resourceGroupId_; +} + +void UpdateResourceGroupRequest::setResourceGroupId(const std::string &resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setParameter(std::string("ResourceGroupId"), resourceGroupId); } diff --git a/resourcemanager/src/model/UpdateResourceGroupResult.cc b/resourcemanager/src/model/UpdateResourceGroupResult.cc index 650a5bee9..212f435ff 100644 --- a/resourcemanager/src/model/UpdateResourceGroupResult.cc +++ b/resourcemanager/src/model/UpdateResourceGroupResult.cc @@ -40,16 +40,16 @@ void UpdateResourceGroupResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto resourceGroupNode = value["ResourceGroup"]; - if(!resourceGroupNode["AccountId"].isNull()) - resourceGroup_.accountId = resourceGroupNode["AccountId"].asString(); if(!resourceGroupNode["DisplayName"].isNull()) resourceGroup_.displayName = resourceGroupNode["DisplayName"].asString(); - if(!resourceGroupNode["Id"].isNull()) - resourceGroup_.id = resourceGroupNode["Id"].asString(); - if(!resourceGroupNode["CreateDate"].isNull()) - resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); + if(!resourceGroupNode["AccountId"].isNull()) + resourceGroup_.accountId = resourceGroupNode["AccountId"].asString(); if(!resourceGroupNode["Name"].isNull()) resourceGroup_.name = resourceGroupNode["Name"].asString(); + if(!resourceGroupNode["CreateDate"].isNull()) + resourceGroup_.createDate = resourceGroupNode["CreateDate"].asString(); + if(!resourceGroupNode["Id"].isNull()) + resourceGroup_.id = resourceGroupNode["Id"].asString(); } diff --git a/resourcemanager/src/model/UpdateRoleRequest.cc b/resourcemanager/src/model/UpdateRoleRequest.cc index a619b0999..e2f3747d3 100644 --- a/resourcemanager/src/model/UpdateRoleRequest.cc +++ b/resourcemanager/src/model/UpdateRoleRequest.cc @@ -1,73 +1,63 @@ /* * 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 - -using AlibabaCloud::ResourceManager::Model::UpdateRoleRequest; - -UpdateRoleRequest::UpdateRoleRequest() : - RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateRole") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateRoleRequest::~UpdateRoleRequest() -{} - -std::string UpdateRoleRequest::getNewAssumeRolePolicyDocument()const -{ - return newAssumeRolePolicyDocument_; + */ + +#include + +using AlibabaCloud::ResourceManager::Model::UpdateRoleRequest; + +UpdateRoleRequest::UpdateRoleRequest() + : RpcServiceRequest("resourcemanager", "2020-03-31", "UpdateRole") { + setMethod(HttpRequest::Method::Post); } -void UpdateRoleRequest::setNewAssumeRolePolicyDocument(const std::string& newAssumeRolePolicyDocument) -{ - newAssumeRolePolicyDocument_ = newAssumeRolePolicyDocument; - setParameter("NewAssumeRolePolicyDocument", newAssumeRolePolicyDocument); +UpdateRoleRequest::~UpdateRoleRequest() {} + +std::string UpdateRoleRequest::getNewAssumeRolePolicyDocument() const { + return newAssumeRolePolicyDocument_; } -std::string UpdateRoleRequest::getRoleName()const -{ - return roleName_; +void UpdateRoleRequest::setNewAssumeRolePolicyDocument(const std::string &newAssumeRolePolicyDocument) { + newAssumeRolePolicyDocument_ = newAssumeRolePolicyDocument; + setParameter(std::string("NewAssumeRolePolicyDocument"), newAssumeRolePolicyDocument); } -void UpdateRoleRequest::setRoleName(const std::string& roleName) -{ - roleName_ = roleName; - setParameter("RoleName", roleName); +std::string UpdateRoleRequest::getRoleName() const { + return roleName_; } -long UpdateRoleRequest::getNewMaxSessionDuration()const -{ - return newMaxSessionDuration_; +void UpdateRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); } -void UpdateRoleRequest::setNewMaxSessionDuration(long newMaxSessionDuration) -{ - newMaxSessionDuration_ = newMaxSessionDuration; - setParameter("NewMaxSessionDuration", std::to_string(newMaxSessionDuration)); +long UpdateRoleRequest::getNewMaxSessionDuration() const { + return newMaxSessionDuration_; } -std::string UpdateRoleRequest::getNewDescription()const -{ - return newDescription_; +void UpdateRoleRequest::setNewMaxSessionDuration(long newMaxSessionDuration) { + newMaxSessionDuration_ = newMaxSessionDuration; + setParameter(std::string("NewMaxSessionDuration"), std::to_string(newMaxSessionDuration)); } -void UpdateRoleRequest::setNewDescription(const std::string& newDescription) -{ - newDescription_ = newDescription; - setParameter("NewDescription", newDescription); +std::string UpdateRoleRequest::getNewDescription() const { + return newDescription_; +} + +void UpdateRoleRequest::setNewDescription(const std::string &newDescription) { + newDescription_ = newDescription; + setParameter(std::string("NewDescription"), newDescription); } diff --git a/resourcemanager/src/model/UpdateRoleResult.cc b/resourcemanager/src/model/UpdateRoleResult.cc index 2fbc76a76..641cdfce8 100644 --- a/resourcemanager/src/model/UpdateRoleResult.cc +++ b/resourcemanager/src/model/UpdateRoleResult.cc @@ -40,24 +40,24 @@ void UpdateRoleResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto roleNode = value["Role"]; - if(!roleNode["MaxSessionDuration"].isNull()) - role_.maxSessionDuration = std::stol(roleNode["MaxSessionDuration"].asString()); - if(!roleNode["UpdateDate"].isNull()) - role_.updateDate = roleNode["UpdateDate"].asString(); - if(!roleNode["RoleName"].isNull()) - role_.roleName = roleNode["RoleName"].asString(); - if(!roleNode["Description"].isNull()) - role_.description = roleNode["Description"].asString(); if(!roleNode["AssumeRolePolicyDocument"].isNull()) role_.assumeRolePolicyDocument = roleNode["AssumeRolePolicyDocument"].asString(); - if(!roleNode["Arn"].isNull()) - role_.arn = roleNode["Arn"].asString(); - if(!roleNode["RoleId"].isNull()) - role_.roleId = roleNode["RoleId"].asString(); - if(!roleNode["CreateDate"].isNull()) - role_.createDate = roleNode["CreateDate"].asString(); if(!roleNode["RolePrincipalName"].isNull()) role_.rolePrincipalName = roleNode["RolePrincipalName"].asString(); + if(!roleNode["Description"].isNull()) + role_.description = roleNode["Description"].asString(); + if(!roleNode["UpdateDate"].isNull()) + role_.updateDate = roleNode["UpdateDate"].asString(); + if(!roleNode["MaxSessionDuration"].isNull()) + role_.maxSessionDuration = std::stol(roleNode["MaxSessionDuration"].asString()); + if(!roleNode["RoleName"].isNull()) + role_.roleName = roleNode["RoleName"].asString(); + if(!roleNode["CreateDate"].isNull()) + role_.createDate = roleNode["CreateDate"].asString(); + if(!roleNode["RoleId"].isNull()) + role_.roleId = roleNode["RoleId"].asString(); + if(!roleNode["Arn"].isNull()) + role_.arn = roleNode["Arn"].asString(); }