/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of configuration properties for a member.See Also:
* AWS
* API Reference
The unique identifier of the member.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier of the member.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier of the member.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier of the member.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier of the member.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier of the member.
*/ inline MemberSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier of the member.
*/ inline MemberSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier of the member.
*/ inline MemberSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of the member.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the member.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the member.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the member.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the member.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the member.
*/ inline MemberSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the member.
*/ inline MemberSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the member.
*/ inline MemberSummary& WithName(const char* value) { SetName(value); return *this;} /** *An optional description of the member.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *An optional description of the member.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *An optional description of the member.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *An optional description of the member.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *An optional description of the member.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *An optional description of the member.
*/ inline MemberSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *An optional description of the member.
*/ inline MemberSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *An optional description of the member.
*/ inline MemberSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The status of the member.
CREATING - The AWS
* account is in the process of creating a member.
* AVAILABLE - The member has been created and can participate in the
* network.
CREATE_FAILED - The AWS account
* attempted to create a member and creation failed.
* DELETING - The member and all associated resources are in the
* process of being deleted. Either the AWS account that owns the member deleted
* it, or the member is being deleted as the result of an APPROVED
* PROPOSAL to remove the member.
* DELETED - The member can no longer participate on the network and
* all associated resources are deleted. Either the AWS account that owns the
* member deleted it, or the member is being deleted as the result of an
* APPROVED PROPOSAL to remove the member.
The date and time that the member was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date and time that the member was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date and time that the member was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date and time that the member was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date and time that the member was created.
*/ inline MemberSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date and time that the member was created.
*/ inline MemberSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *An indicator of whether the member is owned by your AWS account or a * different AWS account.
*/ inline bool GetIsOwned() const{ return m_isOwned; } /** *An indicator of whether the member is owned by your AWS account or a * different AWS account.
*/ inline bool IsOwnedHasBeenSet() const { return m_isOwnedHasBeenSet; } /** *An indicator of whether the member is owned by your AWS account or a * different AWS account.
*/ inline void SetIsOwned(bool value) { m_isOwnedHasBeenSet = true; m_isOwned = value; } /** *An indicator of whether the member is owned by your AWS account or a * different AWS account.
*/ inline MemberSummary& WithIsOwned(bool value) { SetIsOwned(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; MemberStatus m_status; bool m_statusHasBeenSet; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet; bool m_isOwned; bool m_isOwnedHasBeenSet; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws