/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the member account. See Also:
AWS
* API Reference
The ID of the member account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the member account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the member account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the member account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the member account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the member account.
*/ inline Member& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the member account.
*/ inline Member& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the member account.
*/ inline Member& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *The detector ID of the member account.
*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *The detector ID of the member account.
*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *The detector ID of the member account.
*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *The detector ID of the member account.
*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *The detector ID of the member account.
*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *The detector ID of the member account.
*/ inline Member& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *The detector ID of the member account.
*/ inline Member& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *The detector ID of the member account.
*/ inline Member& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *The administrator account ID.
*/ inline const Aws::String& GetMasterId() const{ return m_masterId; } /** *The administrator account ID.
*/ inline bool MasterIdHasBeenSet() const { return m_masterIdHasBeenSet; } /** *The administrator account ID.
*/ inline void SetMasterId(const Aws::String& value) { m_masterIdHasBeenSet = true; m_masterId = value; } /** *The administrator account ID.
*/ inline void SetMasterId(Aws::String&& value) { m_masterIdHasBeenSet = true; m_masterId = std::move(value); } /** *The administrator account ID.
*/ inline void SetMasterId(const char* value) { m_masterIdHasBeenSet = true; m_masterId.assign(value); } /** *The administrator account ID.
*/ inline Member& WithMasterId(const Aws::String& value) { SetMasterId(value); return *this;} /** *The administrator account ID.
*/ inline Member& WithMasterId(Aws::String&& value) { SetMasterId(std::move(value)); return *this;} /** *The administrator account ID.
*/ inline Member& WithMasterId(const char* value) { SetMasterId(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 status of the relationship between the member and the administrator.
*/ inline const Aws::String& GetRelationshipStatus() const{ return m_relationshipStatus; } /** *The status of the relationship between the member and the administrator.
*/ inline bool RelationshipStatusHasBeenSet() const { return m_relationshipStatusHasBeenSet; } /** *The status of the relationship between the member and the administrator.
*/ inline void SetRelationshipStatus(const Aws::String& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = value; } /** *The status of the relationship between the member and the administrator.
*/ inline void SetRelationshipStatus(Aws::String&& value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus = std::move(value); } /** *The status of the relationship between the member and the administrator.
*/ inline void SetRelationshipStatus(const char* value) { m_relationshipStatusHasBeenSet = true; m_relationshipStatus.assign(value); } /** *The status of the relationship between the member and the administrator.
*/ inline Member& WithRelationshipStatus(const Aws::String& value) { SetRelationshipStatus(value); return *this;} /** *The status of the relationship between the member and the administrator.
*/ inline Member& WithRelationshipStatus(Aws::String&& value) { SetRelationshipStatus(std::move(value)); return *this;} /** *The status of the relationship between the member and the administrator.
*/ inline Member& 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 Member& WithInvitedAt(const Aws::String& value) { SetInvitedAt(value); return *this;} /** *The timestamp when the invitation was sent.
*/ inline Member& WithInvitedAt(Aws::String&& value) { SetInvitedAt(std::move(value)); return *this;} /** *The timestamp when the invitation was sent.
*/ inline Member& WithInvitedAt(const char* value) { SetInvitedAt(value); return *this;} /** *The last-updated timestamp of the member.
*/ inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; } /** *The last-updated timestamp of the member.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The last-updated timestamp of the member.
*/ inline void SetUpdatedAt(const Aws::String& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The last-updated timestamp of the member.
*/ inline void SetUpdatedAt(Aws::String&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The last-updated timestamp of the member.
*/ inline void SetUpdatedAt(const char* value) { m_updatedAtHasBeenSet = true; m_updatedAt.assign(value); } /** *The last-updated timestamp of the member.
*/ inline Member& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;} /** *The last-updated timestamp of the member.
*/ inline Member& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The last-updated timestamp of the member.
*/ inline Member& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;} /** *The administrator account ID.
*/ inline const Aws::String& GetAdministratorId() const{ return m_administratorId; } /** *The administrator account ID.
*/ inline bool AdministratorIdHasBeenSet() const { return m_administratorIdHasBeenSet; } /** *The administrator account ID.
*/ inline void SetAdministratorId(const Aws::String& value) { m_administratorIdHasBeenSet = true; m_administratorId = value; } /** *The administrator account ID.
*/ inline void SetAdministratorId(Aws::String&& value) { m_administratorIdHasBeenSet = true; m_administratorId = std::move(value); } /** *The administrator account ID.
*/ inline void SetAdministratorId(const char* value) { m_administratorIdHasBeenSet = true; m_administratorId.assign(value); } /** *The administrator account ID.
*/ inline Member& WithAdministratorId(const Aws::String& value) { SetAdministratorId(value); return *this;} /** *The administrator account ID.
*/ inline Member& WithAdministratorId(Aws::String&& value) { SetAdministratorId(std::move(value)); return *this;} /** *The administrator account ID.
*/ inline Member& WithAdministratorId(const char* value) { SetAdministratorId(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_masterId; bool m_masterIdHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; Aws::String m_relationshipStatus; bool m_relationshipStatusHasBeenSet = false; Aws::String m_invitedAt; bool m_invitedAtHasBeenSet = false; Aws::String m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_administratorId; bool m_administratorIdHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws