AWS SDK for C++  1.9.41
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 Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Macie2
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DisableOrganizationAdminAccount"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
45 
49  inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; }
50 
54  inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; }
55 
59  inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); }
60 
64  inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); }
65 
69  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;}
70 
74  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;}
75 
79  inline DisableOrganizationAdminAccountRequest& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
80 
81  private:
82 
83  Aws::String m_adminAccountId;
84  bool m_adminAccountIdHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Macie2
89 } // namespace Aws
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::GetAdminAccountId
const Aws::String & GetAdminAccountId() const
Definition: DisableOrganizationAdminAccountRequest.h:44
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest
Definition: DisableOrganizationAdminAccountRequest.h:26
Aws::Http::URI
Definition: URI.h:32
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(const char *value)
Definition: DisableOrganizationAdminAccountRequest.h:79
Macie2_EXPORTS.h
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(Aws::String &&value)
Definition: DisableOrganizationAdminAccountRequest.h:59
Aws::Macie2::Macie2Request
Definition: Macie2Request.h:17
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisableOrganizationAdminAccountRequest.h:34
Macie2Request.h
AWSString.h
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(const char *value)
Definition: DisableOrganizationAdminAccountRequest.h:64
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(const Aws::String &value)
Definition: DisableOrganizationAdminAccountRequest.h:69
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::SetAdminAccountId
void SetAdminAccountId(const Aws::String &value)
Definition: DisableOrganizationAdminAccountRequest.h:54
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::DisableOrganizationAdminAccountRequest
DisableOrganizationAdminAccountRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::WithAdminAccountId
DisableOrganizationAdminAccountRequest & WithAdminAccountId(Aws::String &&value)
Definition: DisableOrganizationAdminAccountRequest.h:74
Aws::Macie2::Model::DisableOrganizationAdminAccountRequest::AdminAccountIdHasBeenSet
bool AdminAccountIdHasBeenSet() const
Definition: DisableOrganizationAdminAccountRequest.h:49