AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnableOrganizationAdminAccountRequest.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Macie2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "EnableOrganizationAdminAccount"; }
32
33 AWS_MACIE2_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
42 inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; }
43 inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; }
44 inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); }
45 inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); }
48 inline EnableOrganizationAdminAccountRequest& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
50
52
56 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
57 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
58 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
59 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
60 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
62 inline EnableOrganizationAdminAccountRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
63 inline EnableOrganizationAdminAccountRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
65 private:
66
67 Aws::String m_adminAccountId;
68 bool m_adminAccountIdHasBeenSet = false;
69
70 Aws::String m_clientToken;
71 bool m_clientTokenHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Macie2
76} // namespace Aws
AWS_MACIE2_API Aws::String SerializePayload() const override
EnableOrganizationAdminAccountRequest & WithClientToken(const Aws::String &value)
EnableOrganizationAdminAccountRequest & WithAdminAccountId(Aws::String &&value)
EnableOrganizationAdminAccountRequest & WithClientToken(Aws::String &&value)
EnableOrganizationAdminAccountRequest & WithAdminAccountId(const char *value)
EnableOrganizationAdminAccountRequest & WithClientToken(const char *value)
EnableOrganizationAdminAccountRequest & WithAdminAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String