/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details about a member account.See Also:
AWS
* API Reference
The AWS account ID of the member account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The AWS account ID of the member account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The AWS account ID of the member account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The AWS account ID of the member account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The AWS account ID of the member account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The AWS account ID of the member account.
*/ inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The AWS account ID of the member account.
*/ inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The AWS account ID of the member account.
*/ inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The email address of the member account.
*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *The email address of the member account.
*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *The email address of the member account.
*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *The email address of the member account.
*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *The email address of the member account.
*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *The email address of the member account.
*/ inline Member& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *The email address of the member account.
*/ inline Member& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *The email address of the member account.
*/ inline Member& WithEmail(const char* value) { SetEmail(value); return *this;} /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline const Aws::String& GetMasterId() const{ return m_masterId; } /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; } /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline void SetMasterId(const Aws::String& value) { m_masterIdHasBeenSet = true; m_masterId = value; } /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline void SetMasterId(Aws::String&& value) { m_masterIdHasBeenSet = true; m_masterId = std::move(value); } /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline void SetMasterId(const char* value) { m_masterIdHasBeenSet = true; m_masterId.assign(value); } /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline Member& WithMasterId(const Aws::String& value) { SetMasterId(value); return *this;} /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline Member& WithMasterId(Aws::String&& value) { SetMasterId(std::move(value)); return *this;} /** *The AWS account ID of the Security Hub master account associated with this * member account.
*/ inline Member& WithMasterId(const char* value) { SetMasterId(value); return *this;} /** *The status of the relationship between the member account and its master * account.
*/ inline const Aws::String& GetMemberStatus() const{ return m_memberStatus; } /** *The status of the relationship between the member account and its master * account.
*/ inline bool MemberStatusHasBeenSet() const { return m_memberStatusHasBeenSet; } /** *The status of the relationship between the member account and its master * account.
*/ inline void SetMemberStatus(const Aws::String& value) { m_memberStatusHasBeenSet = true; m_memberStatus = value; } /** *The status of the relationship between the member account and its master * account.
*/ inline void SetMemberStatus(Aws::String&& value) { m_memberStatusHasBeenSet = true; m_memberStatus = std::move(value); } /** *The status of the relationship between the member account and its master * account.
*/ inline void SetMemberStatus(const char* value) { m_memberStatusHasBeenSet = true; m_memberStatus.assign(value); } /** *The status of the relationship between the member account and its master * account.
*/ inline Member& WithMemberStatus(const Aws::String& value) { SetMemberStatus(value); return *this;} /** *The status of the relationship between the member account and its master * account.
*/ inline Member& WithMemberStatus(Aws::String&& value) { SetMemberStatus(std::move(value)); return *this;} /** *The status of the relationship between the member account and its master * account.
*/ inline Member& WithMemberStatus(const char* value) { SetMemberStatus(value); return *this;} /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline const Aws::Utils::DateTime& GetInvitedAt() const{ return m_invitedAt; } /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline bool InvitedAtHasBeenSet() const { return m_invitedAtHasBeenSet; } /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline void SetInvitedAt(const Aws::Utils::DateTime& value) { m_invitedAtHasBeenSet = true; m_invitedAt = value; } /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline void SetInvitedAt(Aws::Utils::DateTime&& value) { m_invitedAtHasBeenSet = true; m_invitedAt = std::move(value); } /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline Member& WithInvitedAt(const Aws::Utils::DateTime& value) { SetInvitedAt(value); return *this;} /** *A timestamp for the date and time when the invitation was sent to the member * account.
*/ inline Member& WithInvitedAt(Aws::Utils::DateTime&& value) { SetInvitedAt(std::move(value)); return *this;} /** *The timestamp for the date and time when the member account was updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The timestamp for the date and time when the member account was updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The timestamp for the date and time when the member account was updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The timestamp for the date and time when the member account was updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The timestamp for the date and time when the member account was updated.
*/ inline Member& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The timestamp for the date and time when the member account was updated.
*/ inline Member& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet; Aws::String m_email; bool m_emailHasBeenSet; Aws::String m_masterId; bool m_masterIdHasBeenSet; Aws::String m_memberStatus; bool m_memberStatusHasBeenSet; Aws::Utils::DateTime m_invitedAt; bool m_invitedAtHasBeenSet; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws