/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An invitation to an AWS account to create a member and join the
* network.See Also:
AWS
* API Reference
The unique identifier for the invitation.
*/ inline const Aws::String& GetInvitationId() const{ return m_invitationId; } /** *The unique identifier for the invitation.
*/ inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; } /** *The unique identifier for the invitation.
*/ inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; } /** *The unique identifier for the invitation.
*/ inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); } /** *The unique identifier for the invitation.
*/ inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); } /** *The unique identifier for the invitation.
*/ inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;} /** *The unique identifier for the invitation.
*/ inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;} /** *The unique identifier for the invitation.
*/ inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;} /** *The date and time that the invitation was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date and time that the invitation was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date and time that the invitation was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date and time that the invitation was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date and time that the invitation was created.
*/ inline Invitation& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date and time that the invitation was created.
*/ inline Invitation& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The date and time that the invitation expires. This is the
* CreationDate plus the ProposalDurationInHours that is
* specified in the ProposalThresholdPolicy. After this date and time,
* the invitee can no longer create a member and join the network using this
* InvitationId.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.
The status of the invitation:
PENDING - The
* invitee has not created a member to join the network, and the invitation has not
* yet expired.
ACCEPTING - The invitee has begun
* creating a member, and creation has not yet completed.
* ACCEPTED - The invitee created a member and joined the network
* using the InvitationID.
REJECTED -
* The invitee rejected the invitation.
EXPIRED -
* The invitee neither created a member nor rejected the invitation before the
* ExpirationDate.