/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { class CreateAccessorResult { public: AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult(); AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult(const Aws::AmazonWebServiceResult& result); AWS_MANAGEDBLOCKCHAIN_API CreateAccessorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier of the accessor.

*/ inline const Aws::String& GetAccessorId() const{ return m_accessorId; } /** *

The unique identifier of the accessor.

*/ inline void SetAccessorId(const Aws::String& value) { m_accessorId = value; } /** *

The unique identifier of the accessor.

*/ inline void SetAccessorId(Aws::String&& value) { m_accessorId = std::move(value); } /** *

The unique identifier of the accessor.

*/ inline void SetAccessorId(const char* value) { m_accessorId.assign(value); } /** *

The unique identifier of the accessor.

*/ inline CreateAccessorResult& WithAccessorId(const Aws::String& value) { SetAccessorId(value); return *this;} /** *

The unique identifier of the accessor.

*/ inline CreateAccessorResult& WithAccessorId(Aws::String&& value) { SetAccessorId(std::move(value)); return *this;} /** *

The unique identifier of the accessor.

*/ inline CreateAccessorResult& WithAccessorId(const char* value) { SetAccessorId(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 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 void SetBillingToken(const Aws::String& value) { 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_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_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 CreateAccessorResult& 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 CreateAccessorResult& 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 CreateAccessorResult& WithBillingToken(const char* value) { SetBillingToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateAccessorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAccessorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAccessorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accessorId; Aws::String m_billingToken; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws