/**
* 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. Applies only to
* Hyperledger Fabric.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
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
The status of the member.
CREATING
- The
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
The status of the member.
CREATING
- The
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
The status of the member.
CREATING
- The
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
The status of the member.
CREATING
- The
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
The status of the member.
CREATING
- The
* Amazon Web Services account is in the process of creating a member.
AVAILABLE
- The member has been created and can
* participate in the network.
CREATE_FAILED
- The
* Amazon Web Services account attempted to create a member and creation
* failed.
UPDATING
- The member is in the process
* of being updated.
DELETING
- The member and all
* associated resources are in the process of being deleted. Either the Amazon Web
* Services 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
* Amazon Web Services account that owns the member deleted it, or the member is
* being deleted as the result of an APPROVED
PROPOSAL
to
* remove the member.
INACCESSIBLE_ENCRYPTION_KEY
-
* The member is impaired and might not function as expected because it cannot
* access the specified customer managed key in Key Management Service (KMS) for
* encryption at rest. Either the KMS key was disabled or deleted, or the grants on
* the key were revoked.
The effect of disabling or deleting a key or of * revoking a grant isn't immediate. It might take some time for the member * resource to discover that the key is inaccessible. When a resource is in this * state, we recommend deleting and recreating the resource.
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 Amazon Web Services * account or a different Amazon Web Services account.
*/ inline bool GetIsOwned() const{ return m_isOwned; } /** *An indicator of whether the member is owned by your Amazon Web Services * account or a different Amazon Web Services account.
*/ inline bool IsOwnedHasBeenSet() const { return m_isOwnedHasBeenSet; } /** *An indicator of whether the member is owned by your Amazon Web Services * account or a different Amazon Web Services account.
*/ inline void SetIsOwned(bool value) { m_isOwnedHasBeenSet = true; m_isOwned = value; } /** *An indicator of whether the member is owned by your Amazon Web Services * account or a different Amazon Web Services account.
*/ inline MemberSummary& WithIsOwned(bool value) { SetIsOwned(value); return *this;} /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline MemberSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline MemberSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the member. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline MemberSummary& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; MemberStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; bool m_isOwned; bool m_isOwnedHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws