AWS SDK for C++

AWS SDK for C++ Version 1.11.770

Loading...
Searching...
No Matches
TransferParticipant.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/organizations/Organizations_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Organizations {
20namespace Model {
21
31 public:
32 AWS_ORGANIZATIONS_API TransferParticipant() = default;
33 AWS_ORGANIZATIONS_API TransferParticipant(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ORGANIZATIONS_API TransferParticipant& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetManagementAccountId() const { return m_managementAccountId; }
42 inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; }
43 template <typename ManagementAccountIdT = Aws::String>
44 void SetManagementAccountId(ManagementAccountIdT&& value) {
45 m_managementAccountIdHasBeenSet = true;
46 m_managementAccountId = std::forward<ManagementAccountIdT>(value);
47 }
48 template <typename ManagementAccountIdT = Aws::String>
49 TransferParticipant& WithManagementAccountId(ManagementAccountIdT&& value) {
50 SetManagementAccountId(std::forward<ManagementAccountIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetManagementAccountEmail() const { return m_managementAccountEmail; }
60 inline bool ManagementAccountEmailHasBeenSet() const { return m_managementAccountEmailHasBeenSet; }
61 template <typename ManagementAccountEmailT = Aws::String>
62 void SetManagementAccountEmail(ManagementAccountEmailT&& value) {
63 m_managementAccountEmailHasBeenSet = true;
64 m_managementAccountEmail = std::forward<ManagementAccountEmailT>(value);
65 }
66 template <typename ManagementAccountEmailT = Aws::String>
67 TransferParticipant& WithManagementAccountEmail(ManagementAccountEmailT&& value) {
68 SetManagementAccountEmail(std::forward<ManagementAccountEmailT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_managementAccountId;
74
75 Aws::String m_managementAccountEmail;
76 bool m_managementAccountIdHasBeenSet = false;
77 bool m_managementAccountEmailHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Organizations
82} // namespace Aws
AWS_ORGANIZATIONS_API TransferParticipant(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ORGANIZATIONS_API TransferParticipant & operator=(Aws::Utils::Json::JsonView jsonValue)
TransferParticipant & WithManagementAccountEmail(ManagementAccountEmailT &&value)
void SetManagementAccountEmail(ManagementAccountEmailT &&value)
TransferParticipant & WithManagementAccountId(ManagementAccountIdT &&value)
void SetManagementAccountId(ManagementAccountIdT &&value)
AWS_ORGANIZATIONS_API TransferParticipant()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue