7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/organizations/Organizations_EXPORTS.h>
11#include <aws/organizations/model/ActionType.h>
12#include <aws/organizations/model/HandshakeParty.h>
13#include <aws/organizations/model/HandshakeResource.h>
14#include <aws/organizations/model/HandshakeState.h>
25namespace Organizations {
53 template <
typename IdT = Aws::String>
55 m_idHasBeenSet =
true;
56 m_id = std::forward<IdT>(value);
58 template <
typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
75 template <
typename ArnT = Aws::String>
77 m_arnHasBeenSet =
true;
78 m_arn = std::forward<ArnT>(value);
80 template <
typename ArnT = Aws::String>
82 SetArn(std::forward<ArnT>(value));
94 template <
typename PartiesT = Aws::Vector<HandshakeParty>>
96 m_partiesHasBeenSet =
true;
97 m_parties = std::forward<PartiesT>(value);
99 template <
typename PartiesT = Aws::Vector<HandshakeParty>>
104 template <
typename PartiesT = HandshakeParty>
106 m_partiesHasBeenSet =
true;
107 m_parties.emplace_back(std::forward<PartiesT>(value));
126 m_stateHasBeenSet =
true;
141 template <
typename RequestedTimestampT = Aws::Utils::DateTime>
143 m_requestedTimestampHasBeenSet =
true;
144 m_requestedTimestamp = std::forward<RequestedTimestampT>(value);
146 template <
typename RequestedTimestampT = Aws::Utils::DateTime>
159 template <
typename ExpirationTimestampT = Aws::Utils::DateTime>
161 m_expirationTimestampHasBeenSet =
true;
162 m_expirationTimestamp = std::forward<ExpirationTimestampT>(value);
164 template <
typename ExpirationTimestampT = Aws::Utils::DateTime>
186 m_actionHasBeenSet =
true;
203 template <
typename ResourcesT = Aws::Vector<HandshakeResource>>
205 m_resourcesHasBeenSet =
true;
206 m_resources = std::forward<ResourcesT>(value);
208 template <
typename ResourcesT = Aws::Vector<HandshakeResource>>
213 template <
typename ResourcesT = HandshakeResource>
215 m_resourcesHasBeenSet =
true;
216 m_resources.emplace_back(std::forward<ResourcesT>(value));
236 bool m_idHasBeenSet =
false;
237 bool m_arnHasBeenSet =
false;
238 bool m_partiesHasBeenSet =
false;
239 bool m_stateHasBeenSet =
false;
240 bool m_requestedTimestampHasBeenSet =
false;
241 bool m_expirationTimestampHasBeenSet =
false;
242 bool m_actionHasBeenSet =
false;
243 bool m_resourcesHasBeenSet =
false;
const Aws::Utils::DateTime & GetExpirationTimestamp() const
const Aws::Vector< HandshakeParty > & GetParties() const
void SetExpirationTimestamp(ExpirationTimestampT &&value)
Handshake & WithResources(ResourcesT &&value)
void SetAction(ActionType value)
void SetRequestedTimestamp(RequestedTimestampT &&value)
const Aws::Utils::DateTime & GetRequestedTimestamp() const
bool RequestedTimestampHasBeenSet() const
HandshakeState GetState() const
bool ExpirationTimestampHasBeenSet() const
Handshake & WithAction(ActionType value)
Handshake & WithState(HandshakeState value)
Handshake & WithParties(PartiesT &&value)
Handshake & WithRequestedTimestamp(RequestedTimestampT &&value)
AWS_ORGANIZATIONS_API Handshake & operator=(Aws::Utils::Json::JsonView jsonValue)
Handshake & WithId(IdT &&value)
bool StateHasBeenSet() const
void SetResources(ResourcesT &&value)
Handshake & AddParties(PartiesT &&value)
const Aws::String & GetArn() const
AWS_ORGANIZATIONS_API Handshake()=default
void SetArn(ArnT &&value)
const Aws::String & GetId() const
bool ActionHasBeenSet() const
bool IdHasBeenSet() const
ActionType GetAction() const
bool ArnHasBeenSet() const
Handshake & AddResources(ResourcesT &&value)
void SetParties(PartiesT &&value)
AWS_ORGANIZATIONS_API Handshake(Aws::Utils::Json::JsonView jsonValue)
void SetState(HandshakeState value)
bool PartiesHasBeenSet() const
Handshake & WithExpirationTimestamp(ExpirationTimestampT &&value)
const Aws::Vector< HandshakeResource > & GetResources() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Handshake & WithArn(ArnT &&value)
bool ResourcesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue