7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
10#include <aws/organizations/model/ResponsibilityTransferStatus.h>
11#include <aws/organizations/model/ResponsibilityTransferType.h>
12#include <aws/organizations/model/TransferParticipant.h>
23namespace Organizations {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename IdT = Aws::String>
84 m_idHasBeenSet =
true;
85 m_id = std::forward<IdT>(value);
87 template <
typename IdT = Aws::String>
89 SetId(std::forward<IdT>(value));
101 m_typeHasBeenSet =
true;
117 m_statusHasBeenSet =
true;
133 template <
typename SourceT = TransferParticipant>
135 m_sourceHasBeenSet =
true;
136 m_source = std::forward<SourceT>(value);
138 template <
typename SourceT = TransferParticipant>
152 template <
typename TargetT = TransferParticipant>
154 m_targetHasBeenSet =
true;
155 m_target = std::forward<TargetT>(value);
157 template <
typename TargetT = TransferParticipant>
170 template <
typename StartTimestampT = Aws::Utils::DateTime>
172 m_startTimestampHasBeenSet =
true;
173 m_startTimestamp = std::forward<StartTimestampT>(value);
175 template <
typename StartTimestampT = Aws::Utils::DateTime>
188 template <
typename EndTimestampT = Aws::Utils::DateTime>
190 m_endTimestampHasBeenSet =
true;
191 m_endTimestamp = std::forward<EndTimestampT>(value);
193 template <
typename EndTimestampT = Aws::Utils::DateTime>
206 template <
typename ActiveHandshakeIdT = Aws::String>
208 m_activeHandshakeIdHasBeenSet =
true;
209 m_activeHandshakeId = std::forward<ActiveHandshakeIdT>(value);
211 template <
typename ActiveHandshakeIdT = Aws::String>
228 TransferParticipant m_source;
230 TransferParticipant m_target;
237 bool m_arnHasBeenSet =
false;
238 bool m_nameHasBeenSet =
false;
239 bool m_idHasBeenSet =
false;
240 bool m_typeHasBeenSet =
false;
241 bool m_statusHasBeenSet =
false;
242 bool m_sourceHasBeenSet =
false;
243 bool m_targetHasBeenSet =
false;
244 bool m_startTimestampHasBeenSet =
false;
245 bool m_endTimestampHasBeenSet =
false;
246 bool m_activeHandshakeIdHasBeenSet =
false;
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ResponsibilityTransfer & WithArn(ArnT &&value)
void SetEndTimestamp(EndTimestampT &&value)
bool SourceHasBeenSet() const
const TransferParticipant & GetTarget() const
AWS_ORGANIZATIONS_API ResponsibilityTransfer()=default
ResponsibilityTransfer & WithId(IdT &&value)
void SetActiveHandshakeId(ActiveHandshakeIdT &&value)
ResponsibilityTransferType GetType() const
ResponsibilityTransfer & WithStatus(ResponsibilityTransferStatus value)
ResponsibilityTransfer & WithEndTimestamp(EndTimestampT &&value)
bool IdHasBeenSet() const
ResponsibilityTransferStatus GetStatus() const
void SetType(ResponsibilityTransferType value)
void SetStartTimestamp(StartTimestampT &&value)
ResponsibilityTransfer & WithStartTimestamp(StartTimestampT &&value)
void SetTarget(TargetT &&value)
bool ActiveHandshakeIdHasBeenSet() const
void SetStatus(ResponsibilityTransferStatus value)
bool TypeHasBeenSet() const
const Aws::String & GetActiveHandshakeId() const
void SetName(NameT &&value)
bool StartTimestampHasBeenSet() const
AWS_ORGANIZATIONS_API ResponsibilityTransfer & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponsibilityTransfer & WithActiveHandshakeId(ActiveHandshakeIdT &&value)
ResponsibilityTransfer & WithName(NameT &&value)
ResponsibilityTransfer & WithSource(SourceT &&value)
const TransferParticipant & GetSource() const
ResponsibilityTransfer & WithTarget(TargetT &&value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetEndTimestamp() const
bool NameHasBeenSet() const
bool TargetHasBeenSet() const
void SetSource(SourceT &&value)
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetId() const
AWS_ORGANIZATIONS_API ResponsibilityTransfer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
bool StatusHasBeenSet() const
bool EndTimestampHasBeenSet() const
ResponsibilityTransfer & WithType(ResponsibilityTransferType value)
const Aws::Utils::DateTime & GetStartTimestamp() const
ResponsibilityTransferType
ResponsibilityTransferStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue