/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of the Accessor.See Also:
AWS
* API Reference
The unique identifier of the accessor.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier of the accessor.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier of the accessor.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier of the accessor.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier of the accessor.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier of the accessor.
*/ inline Accessor& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier of the accessor.
*/ inline Accessor& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier of the accessor.
*/ inline Accessor& WithId(const char* value) { SetId(value); return *this;} /** *The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The type of the accessor.
Currently, accessor type is
* restricted to BILLING_TOKEN
.
The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline const Aws::String& GetBillingToken() const{ return m_billingToken; } /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline bool BillingTokenHasBeenSet() const { return m_billingTokenHasBeenSet; } /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline void SetBillingToken(const Aws::String& value) { m_billingTokenHasBeenSet = true; m_billingToken = value; } /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline void SetBillingToken(Aws::String&& value) { m_billingTokenHasBeenSet = true; m_billingToken = std::move(value); } /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline void SetBillingToken(const char* value) { m_billingTokenHasBeenSet = true; m_billingToken.assign(value); } /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline Accessor& WithBillingToken(const Aws::String& value) { SetBillingToken(value); return *this;} /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline Accessor& WithBillingToken(Aws::String&& value) { SetBillingToken(std::move(value)); return *this;} /** *The billing token is a property of the accessor. Use this token to make * Ethereum API calls to your Ethereum node. The billing token is used to track * your accessor object for billing Ethereum API requests made to your Ethereum * nodes.
*/ inline Accessor& WithBillingToken(const char* value) { SetBillingToken(value); return *this;} /** *The current status of the accessor.
*/ inline const AccessorStatus& GetStatus() const{ return m_status; } /** *The current status of the accessor.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the accessor.
*/ inline void SetStatus(const AccessorStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the accessor.
*/ inline void SetStatus(AccessorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the accessor.
*/ inline Accessor& WithStatus(const AccessorStatus& value) { SetStatus(value); return *this;} /** *The current status of the accessor.
*/ inline Accessor& WithStatus(AccessorStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The creation date and time of the accessor.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The creation date and time of the accessor.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The creation date and time of the accessor.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The creation date and time of the accessor.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The creation date and time of the accessor.
*/ inline Accessor& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The creation date and time of the accessor.
*/ inline Accessor& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the accessor. 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 accessor. 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 accessor. 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 accessor. 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 accessor. 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 accessor. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Accessor& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the accessor. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Accessor& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the accessor. For more information about * ARNs and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.
*/ inline Accessor& WithArn(const char* value) { SetArn(value); return *this;} /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline const Aws::MapThe tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline void SetTags(const Aws::MapThe tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline void SetTags(Aws::MapThe tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& WithTags(const Aws::MapThe tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& WithTags(Aws::MapThe tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the Accessor.
For more information about tags, * see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.
*/ inline Accessor& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; AccessorType m_type; bool m_typeHasBeenSet = false; Aws::String m_billingToken; bool m_billingTokenHasBeenSet = false; AccessorStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Map