/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An invitation to an Amazon Web Services account to create a member and join
* the network. Applies only to Hyperledger Fabric.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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 hasn't created a member to join the network, and the invitation hasn't
* yet expired.
ACCEPTING
- The invitee has begun
* creating a member, and creation hasn't 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 Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Invitation& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Invitation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the invitation. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Invitation& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_invitationId; bool m_invitationIdHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Utils::DateTime m_expirationDate; bool m_expirationDateHasBeenSet = false; InvitationStatus m_status; bool m_statusHasBeenSet = false; NetworkSummary m_networkSummary; bool m_networkSummaryHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws