AWS SDK for C++  1.9.104
AWS SDK for C++
DisableOrganizationAdminAccountRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SecurityHub
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DisableOrganizationAdminAccount"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
40 
45  inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; }
46 
51  inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; }
52 
57  inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); }
58 
63  inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); }
64 
69  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;}
70 
75  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;}
76 
81  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_adminAccountId;
86  bool m_adminAccountIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace SecurityHub
91 } // namespace Aws
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(const char *value)
Definition: DisableOrganizationAdminAccountRequest.h:81
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(Aws::String &&value)
Definition: DisableOrganizationAdminAccountRequest.h:75
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::GetAdminAccountId
const Aws::String & GetAdminAccountId() const
Definition: DisableOrganizationAdminAccountRequest.h:39
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(Aws::String &&value)
Definition: DisableOrganizationAdminAccountRequest.h:57
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::DisableOrganizationAdminAccountRequest
DisableOrganizationAdminAccountRequest()
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(const Aws::String &value)
Definition: DisableOrganizationAdminAccountRequest.h:51
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisableOrganizationAdminAccountRequest.h:30
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(const char *value)
Definition: DisableOrganizationAdminAccountRequest.h:63
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
AWSString.h
SecurityHubRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::AdminAccountIdHasBeenSet
bool AdminAccountIdHasBeenSet() const
Definition: DisableOrganizationAdminAccountRequest.h:45
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(const Aws::String &value)
Definition: DisableOrganizationAdminAccountRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::DisableOrganizationAdminAccountRequest
Definition: DisableOrganizationAdminAccountRequest.h:22