/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an invitation for an Amazon Web Services account to join a resource
* share.See Also:
AWS
* API Reference
The Amazon * Resource Name (ARN) of the invitation.
*/ inline const Aws::String& GetResourceShareInvitationArn() const{ return m_resourceShareInvitationArn; } /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline bool ResourceShareInvitationArnHasBeenSet() const { return m_resourceShareInvitationArnHasBeenSet; } /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline void SetResourceShareInvitationArn(const Aws::String& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = value; } /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline void SetResourceShareInvitationArn(Aws::String&& value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn = std::move(value); } /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline void SetResourceShareInvitationArn(const char* value) { m_resourceShareInvitationArnHasBeenSet = true; m_resourceShareInvitationArn.assign(value); } /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline ResourceShareInvitation& WithResourceShareInvitationArn(const Aws::String& value) { SetResourceShareInvitationArn(value); return *this;} /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline ResourceShareInvitation& WithResourceShareInvitationArn(Aws::String&& value) { SetResourceShareInvitationArn(std::move(value)); return *this;} /** *The Amazon * Resource Name (ARN) of the invitation.
*/ inline ResourceShareInvitation& WithResourceShareInvitationArn(const char* value) { SetResourceShareInvitationArn(value); return *this;} /** *The name of the resource share.
*/ inline const Aws::String& GetResourceShareName() const{ return m_resourceShareName; } /** *The name of the resource share.
*/ inline bool ResourceShareNameHasBeenSet() const { return m_resourceShareNameHasBeenSet; } /** *The name of the resource share.
*/ inline void SetResourceShareName(const Aws::String& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = value; } /** *The name of the resource share.
*/ inline void SetResourceShareName(Aws::String&& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = std::move(value); } /** *The name of the resource share.
*/ inline void SetResourceShareName(const char* value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName.assign(value); } /** *The name of the resource share.
*/ inline ResourceShareInvitation& WithResourceShareName(const Aws::String& value) { SetResourceShareName(value); return *this;} /** *The name of the resource share.
*/ inline ResourceShareInvitation& WithResourceShareName(Aws::String&& value) { SetResourceShareName(std::move(value)); return *this;} /** *The name of the resource share.
*/ inline ResourceShareInvitation& WithResourceShareName(const char* value) { SetResourceShareName(value); return *this;} /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline const Aws::String& GetResourceShareArn() const{ return m_resourceShareArn; } /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline bool ResourceShareArnHasBeenSet() const { return m_resourceShareArnHasBeenSet; } /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline void SetResourceShareArn(const Aws::String& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = value; } /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline void SetResourceShareArn(Aws::String&& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = std::move(value); } /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline void SetResourceShareArn(const char* value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn.assign(value); } /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline ResourceShareInvitation& WithResourceShareArn(const Aws::String& value) { SetResourceShareArn(value); return *this;} /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline ResourceShareInvitation& WithResourceShareArn(Aws::String&& value) { SetResourceShareArn(std::move(value)); return *this;} /** *The Amazon * Resource Name (ARN) of the resource share
*/ inline ResourceShareInvitation& WithResourceShareArn(const char* value) { SetResourceShareArn(value); return *this;} /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline const Aws::String& GetSenderAccountId() const{ return m_senderAccountId; } /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline bool SenderAccountIdHasBeenSet() const { return m_senderAccountIdHasBeenSet; } /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline void SetSenderAccountId(const Aws::String& value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId = value; } /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline void SetSenderAccountId(Aws::String&& value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId = std::move(value); } /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline void SetSenderAccountId(const char* value) { m_senderAccountIdHasBeenSet = true; m_senderAccountId.assign(value); } /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline ResourceShareInvitation& WithSenderAccountId(const Aws::String& value) { SetSenderAccountId(value); return *this;} /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline ResourceShareInvitation& WithSenderAccountId(Aws::String&& value) { SetSenderAccountId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that sent the invitation.
*/ inline ResourceShareInvitation& WithSenderAccountId(const char* value) { SetSenderAccountId(value); return *this;} /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline const Aws::String& GetReceiverAccountId() const{ return m_receiverAccountId; } /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline bool ReceiverAccountIdHasBeenSet() const { return m_receiverAccountIdHasBeenSet; } /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline void SetReceiverAccountId(const Aws::String& value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId = value; } /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline void SetReceiverAccountId(Aws::String&& value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId = std::move(value); } /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline void SetReceiverAccountId(const char* value) { m_receiverAccountIdHasBeenSet = true; m_receiverAccountId.assign(value); } /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline ResourceShareInvitation& WithReceiverAccountId(const Aws::String& value) { SetReceiverAccountId(value); return *this;} /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline ResourceShareInvitation& WithReceiverAccountId(Aws::String&& value) { SetReceiverAccountId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that received the invitation.
*/ inline ResourceShareInvitation& WithReceiverAccountId(const char* value) { SetReceiverAccountId(value); return *this;} /** *The date and time when the invitation was sent.
*/ inline const Aws::Utils::DateTime& GetInvitationTimestamp() const{ return m_invitationTimestamp; } /** *The date and time when the invitation was sent.
*/ inline bool InvitationTimestampHasBeenSet() const { return m_invitationTimestampHasBeenSet; } /** *The date and time when the invitation was sent.
*/ inline void SetInvitationTimestamp(const Aws::Utils::DateTime& value) { m_invitationTimestampHasBeenSet = true; m_invitationTimestamp = value; } /** *The date and time when the invitation was sent.
*/ inline void SetInvitationTimestamp(Aws::Utils::DateTime&& value) { m_invitationTimestampHasBeenSet = true; m_invitationTimestamp = std::move(value); } /** *The date and time when the invitation was sent.
*/ inline ResourceShareInvitation& WithInvitationTimestamp(const Aws::Utils::DateTime& value) { SetInvitationTimestamp(value); return *this;} /** *The date and time when the invitation was sent.
*/ inline ResourceShareInvitation& WithInvitationTimestamp(Aws::Utils::DateTime&& value) { SetInvitationTimestamp(std::move(value)); return *this;} /** *The current status of the invitation.
*/ inline const ResourceShareInvitationStatus& GetStatus() const{ return m_status; } /** *The current status of the invitation.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the invitation.
*/ inline void SetStatus(const ResourceShareInvitationStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the invitation.
*/ inline void SetStatus(ResourceShareInvitationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the invitation.
*/ inline ResourceShareInvitation& WithStatus(const ResourceShareInvitationStatus& value) { SetStatus(value); return *this;} /** *The current status of the invitation.
*/ inline ResourceShareInvitation& WithStatus(ResourceShareInvitationStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline const Aws::String& GetReceiverArn() const{ return m_receiverArn; } /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline bool ReceiverArnHasBeenSet() const { return m_receiverArnHasBeenSet; } /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline void SetReceiverArn(const Aws::String& value) { m_receiverArnHasBeenSet = true; m_receiverArn = value; } /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline void SetReceiverArn(Aws::String&& value) { m_receiverArnHasBeenSet = true; m_receiverArn = std::move(value); } /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline void SetReceiverArn(const char* value) { m_receiverArnHasBeenSet = true; m_receiverArn.assign(value); } /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline ResourceShareInvitation& WithReceiverArn(const Aws::String& value) { SetReceiverArn(value); return *this;} /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline ResourceShareInvitation& WithReceiverArn(Aws::String&& value) { SetReceiverArn(std::move(value)); return *this;} /** *The Amazon * Resource Name (ARN) of the IAM user or role that received the * invitation.
*/ inline ResourceShareInvitation& WithReceiverArn(const char* value) { SetReceiverArn(value); return *this;} private: Aws::String m_resourceShareInvitationArn; bool m_resourceShareInvitationArnHasBeenSet = false; Aws::String m_resourceShareName; bool m_resourceShareNameHasBeenSet = false; Aws::String m_resourceShareArn; bool m_resourceShareArnHasBeenSet = false; Aws::String m_senderAccountId; bool m_senderAccountIdHasBeenSet = false; Aws::String m_receiverAccountId; bool m_receiverAccountIdHasBeenSet = false; Aws::Utils::DateTime m_invitationTimestamp; bool m_invitationTimestampHasBeenSet = false; ResourceShareInvitationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_receiverArn; bool m_receiverArnHasBeenSet = false; }; } // namespace Model } // namespace RAM } // namespace Aws