7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/organizations/model/HandshakeState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/organizations/model/ActionType.h>
13#include <aws/organizations/model/HandshakeParty.h>
14#include <aws/organizations/model/HandshakeResource.h>
27namespace Organizations
63 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
64 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
81 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
82 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
197 bool m_idHasBeenSet =
false;
200 bool m_arnHasBeenSet =
false;
203 bool m_partiesHasBeenSet =
false;
206 bool m_stateHasBeenSet =
false;
209 bool m_requestedTimestampHasBeenSet =
false;
212 bool m_expirationTimestampHasBeenSet =
false;
215 bool m_actionHasBeenSet =
false;
218 bool m_resourcesHasBeenSet =
false;
const Aws::Utils::DateTime & GetExpirationTimestamp() const
void SetState(HandshakeState &&value)
const Aws::Vector< HandshakeParty > & GetParties() const
Handshake & AddResources(const HandshakeResource &value)
Handshake & WithState(HandshakeState &&value)
const Aws::Utils::DateTime & GetRequestedTimestamp() const
Handshake & WithId(const Aws::String &value)
bool RequestedTimestampHasBeenSet() const
Handshake & WithId(const char *value)
Handshake & AddParties(HandshakeParty &&value)
Handshake & WithId(Aws::String &&value)
void SetAction(const ActionType &value)
Handshake & WithRequestedTimestamp(Aws::Utils::DateTime &&value)
void SetRequestedTimestamp(Aws::Utils::DateTime &&value)
Handshake & WithParties(const Aws::Vector< HandshakeParty > &value)
bool ExpirationTimestampHasBeenSet() const
Handshake & WithParties(Aws::Vector< HandshakeParty > &&value)
void SetId(Aws::String &&value)
void SetArn(const char *value)
AWS_ORGANIZATIONS_API Handshake & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(ActionType &&value)
bool StateHasBeenSet() const
void SetRequestedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetExpirationTimestamp(const Aws::Utils::DateTime &value)
const HandshakeState & GetState() const
Handshake & AddResources(HandshakeResource &&value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
Handshake & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
bool ActionHasBeenSet() const
void SetExpirationTimestamp(Aws::Utils::DateTime &&value)
Handshake & WithResources(Aws::Vector< HandshakeResource > &&value)
Handshake & WithResources(const Aws::Vector< HandshakeResource > &value)
bool IdHasBeenSet() const
void SetState(const HandshakeState &value)
Handshake & AddParties(const HandshakeParty &value)
Handshake & WithExpirationTimestamp(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
Handshake & WithAction(ActionType &&value)
Handshake & WithExpirationTimestamp(Aws::Utils::DateTime &&value)
void SetParties(const Aws::Vector< HandshakeParty > &value)
AWS_ORGANIZATIONS_API Handshake(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Handshake & WithRequestedTimestamp(const Aws::Utils::DateTime &value)
void SetResources(Aws::Vector< HandshakeResource > &&value)
Handshake & WithAction(const ActionType &value)
Handshake & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
AWS_ORGANIZATIONS_API Handshake()
Handshake & WithArn(const char *value)
bool PartiesHasBeenSet() const
Handshake & WithState(const HandshakeState &value)
const Aws::Vector< HandshakeResource > & GetResources() const
const ActionType & GetAction() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParties(Aws::Vector< HandshakeParty > &&value)
void SetResources(const Aws::Vector< HandshakeResource > &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