/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on a member account in your organization.See Also:
* AWS
* API Reference
The Amazon Web Services account ID of the member account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID of the member account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID of the member account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID of the member account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID of the member account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID of the member account.
*/ inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID of the member account.
*/ inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the member account.
*/ inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline const Aws::String& GetDelegatedAdminAccountId() const{ return m_delegatedAdminAccountId; } /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline bool DelegatedAdminAccountIdHasBeenSet() const { return m_delegatedAdminAccountIdHasBeenSet; } /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline void SetDelegatedAdminAccountId(const Aws::String& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = value; } /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline void SetDelegatedAdminAccountId(Aws::String&& value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId = std::move(value); } /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline void SetDelegatedAdminAccountId(const char* value) { m_delegatedAdminAccountIdHasBeenSet = true; m_delegatedAdminAccountId.assign(value); } /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline Member& WithDelegatedAdminAccountId(const Aws::String& value) { SetDelegatedAdminAccountId(value); return *this;} /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline Member& WithDelegatedAdminAccountId(Aws::String&& value) { SetDelegatedAdminAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the Amazon Inspector delegated * administrator for this member account.
*/ inline Member& WithDelegatedAdminAccountId(const char* value) { SetDelegatedAdminAccountId(value); return *this;} /** *The status of the member account.
*/ inline const RelationshipStatus& GetRelationshipStatus() const{ return m_relationshipStatus; } /** *The status of the member account.
*/ inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; } /** *The status of the member account.
*/ inline void SetRelationshipStatus(const RelationshipStatus& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; } /** *The status of the member account.
*/ inline void SetRelationshipStatus(RelationshipStatus&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); } /** *The status of the member account.
*/ inline Member& WithRelationshipStatus(const RelationshipStatus& value) { SetRelationshipStatus(value); return *this;} /** *The status of the member account.
*/ inline Member& WithRelationshipStatus(RelationshipStatus&& value) { SetRelationshipStatus(std::move(value)); return *this;} /** *A timestamp showing when the status of this member was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *A timestamp showing when the status of this member was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *A timestamp showing when the status of this member was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *A timestamp showing when the status of this member was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *A timestamp showing when the status of this member was last updated.
*/ inline Member& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *A timestamp showing when the status of this member was last updated.
*/ inline Member& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_delegatedAdminAccountId; bool m_delegatedAdminAccountIdHasBeenSet = false; RelationshipStatus m_relationshipStatus; bool m_relationshipStatusHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws