/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the invitation to become a member
* account.See Also:
AWS
* API Reference
The ID of the account that the invitation was sent from.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the account that the invitation was sent from.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the account that the invitation was sent from.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the account that the invitation was sent from.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the account that the invitation was sent from.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the account that the invitation was sent from.
*/ inline Invitation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the account that the invitation was sent from.
*/ inline Invitation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the account that the invitation was sent from.
*/ inline Invitation& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline const Aws::String& GetInvitationId() const{ return m_invitationId; } /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline bool InvitationIdHasBeenSet() const { return m_invitationIdHasBeenSet; } /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline void SetInvitationId(const Aws::String& value) { m_invitationIdHasBeenSet = true; m_invitationId = value; } /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline void SetInvitationId(Aws::String&& value) { m_invitationIdHasBeenSet = true; m_invitationId = std::move(value); } /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline void SetInvitationId(const char* value) { m_invitationIdHasBeenSet = true; m_invitationId.assign(value); } /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline Invitation& WithInvitationId(const Aws::String& value) { SetInvitationId(value); return *this;} /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline Invitation& WithInvitationId(Aws::String&& value) { SetInvitationId(std::move(value)); return *this;} /** *The ID of the invitation. This value is used to validate the inviter account * to the member account.
*/ inline Invitation& WithInvitationId(const char* value) { SetInvitationId(value); return *this;} /** *The status of the relationship between the inviter and invitee accounts.
*/ inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; } /** *The status of the relationship between the inviter and invitee accounts.
*/ inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; } /** *The status of the relationship between the inviter and invitee accounts.
*/ inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; } /** *The status of the relationship between the inviter and invitee accounts.
*/ inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); } /** *The status of the relationship between the inviter and invitee accounts.
*/ inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); } /** *The status of the relationship between the inviter and invitee accounts.
*/ inline Invitation& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;} /** *The status of the relationship between the inviter and invitee accounts.
*/ inline Invitation& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;} /** *The status of the relationship between the inviter and invitee accounts.
*/ inline Invitation& WithRelationshipStatus(const char* value) { SetRelationshipStatus(value); return *this;} /** *The timestamp when the invitation was sent.
*/ inline const Aws::String& GetInvitedAt() const{ return m_invitedAt; } /** *The timestamp when the invitation was sent.
*/ inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; } /** *The timestamp when the invitation was sent.
*/ inline void SetInvitedAt(const Aws::String& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; } /** *The timestamp when the invitation was sent.
*/ inline void SetInvitedAt(Aws::String&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); } /** *The timestamp when the invitation was sent.
*/ inline void SetInvitedAt(const char* value) { m_invitedAtHasBeenSet = true; m_invitedAt.assign(value); } /** *The timestamp when the invitation was sent.
*/ inline Invitation& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;} /** *The timestamp when the invitation was sent.
*/ inline Invitation& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;} /** *The timestamp when the invitation was sent.
*/ inline Invitation& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_invitationId; bool m_invitationIdHasBeenSet = false; Aws::String m_relationshipStatus; bool m_relationshipStatusHasBeenSet = false; Aws::String m_invitedAt; bool m_invitedAtHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws