/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The balance of the token.See Also:
AWS
* API Reference
The container for the identifier of the owner.
*/ inline const OwnerIdentifier& GetOwnerIdentifier() const{ return m_ownerIdentifier; } /** *The container for the identifier of the owner.
*/ inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; } /** *The container for the identifier of the owner.
*/ inline void SetOwnerIdentifier(const OwnerIdentifier& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = value; } /** *The container for the identifier of the owner.
*/ inline void SetOwnerIdentifier(OwnerIdentifier&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::move(value); } /** *The container for the identifier of the owner.
*/ inline TokenBalance& WithOwnerIdentifier(const OwnerIdentifier& value) { SetOwnerIdentifier(value); return *this;} /** *The container for the identifier of the owner.
*/ inline TokenBalance& WithOwnerIdentifier(OwnerIdentifier&& value) { SetOwnerIdentifier(std::move(value)); return *this;} /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline const TokenIdentifier& GetTokenIdentifier() const{ return m_tokenIdentifier; } /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; } /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline void SetTokenIdentifier(const TokenIdentifier& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = value; } /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline void SetTokenIdentifier(TokenIdentifier&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::move(value); } /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline TokenBalance& WithTokenIdentifier(const TokenIdentifier& value) { SetTokenIdentifier(value); return *this;} /** *The identifier for the token, including the unique token ID and its * blockchain network.
*/ inline TokenBalance& WithTokenIdentifier(TokenIdentifier&& value) { SetTokenIdentifier(std::move(value)); return *this;} /** *The container of the token balance.
*/ inline const Aws::String& GetBalance() const{ return m_balance; } /** *The container of the token balance.
*/ inline bool BalanceHasBeenSet() const { return m_balanceHasBeenSet; } /** *The container of the token balance.
*/ inline void SetBalance(const Aws::String& value) { m_balanceHasBeenSet = true; m_balance = value; } /** *The container of the token balance.
*/ inline void SetBalance(Aws::String&& value) { m_balanceHasBeenSet = true; m_balance = std::move(value); } /** *The container of the token balance.
*/ inline void SetBalance(const char* value) { m_balanceHasBeenSet = true; m_balance.assign(value); } /** *The container of the token balance.
*/ inline TokenBalance& WithBalance(const Aws::String& value) { SetBalance(value); return *this;} /** *The container of the token balance.
*/ inline TokenBalance& WithBalance(Aws::String&& value) { SetBalance(std::move(value)); return *this;} /** *The container of the token balance.
*/ inline TokenBalance& WithBalance(const char* value) { SetBalance(value); return *this;} /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline const BlockchainInstant& GetAtBlockchainInstant() const{ return m_atBlockchainInstant; } /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; } /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline void SetAtBlockchainInstant(const BlockchainInstant& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = value; } /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline void SetAtBlockchainInstant(BlockchainInstant&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::move(value); } /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline TokenBalance& WithAtBlockchainInstant(const BlockchainInstant& value) { SetAtBlockchainInstant(value); return *this;} /** *The time for when the TokenBalance is requested or the current time if a time * is not provided in the request.
This time will only be recorded up * to the second.
*/ inline TokenBalance& WithAtBlockchainInstant(BlockchainInstant&& value) { SetAtBlockchainInstant(std::move(value)); return *this;} /** *The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.
The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.
The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.
The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.
The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.
The timestamp
of the last transaction at which the balance for
* the token in the wallet was updated.