7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
9#include <aws/managedblockchain-query/model/BlockchainInstant.h>
10#include <aws/managedblockchain-query/model/OwnerIdentifier.h>
11#include <aws/managedblockchain-query/model/TokenIdentifier.h>
22namespace ManagedBlockchainQuery {
43 template <
typename OwnerIdentifierT = OwnerIdentifier>
45 m_ownerIdentifierHasBeenSet =
true;
46 m_ownerIdentifier = std::forward<OwnerIdentifierT>(value);
48 template <
typename OwnerIdentifierT = OwnerIdentifier>
62 template <
typename TokenIdentifierT = TokenIdentifier>
64 m_tokenIdentifierHasBeenSet =
true;
65 m_tokenIdentifier = std::forward<TokenIdentifierT>(value);
67 template <
typename TokenIdentifierT = TokenIdentifier>
80 template <
typename BalanceT = Aws::String>
82 m_balanceHasBeenSet =
true;
83 m_balance = std::forward<BalanceT>(value);
85 template <
typename BalanceT = Aws::String>
100 template <
typename AtBlockchainInstantT = BlockchainInstant>
102 m_atBlockchainInstantHasBeenSet =
true;
103 m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value);
105 template <
typename AtBlockchainInstantT = BlockchainInstant>
119 template <
typename LastUpdatedTimeT = BlockchainInstant>
121 m_lastUpdatedTimeHasBeenSet =
true;
122 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
124 template <
typename LastUpdatedTimeT = BlockchainInstant>
140 bool m_ownerIdentifierHasBeenSet =
false;
141 bool m_tokenIdentifierHasBeenSet =
false;
142 bool m_balanceHasBeenSet =
false;
143 bool m_atBlockchainInstantHasBeenSet =
false;
144 bool m_lastUpdatedTimeHasBeenSet =
false;
TokenBalance & WithTokenIdentifier(TokenIdentifierT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
TokenBalance & WithBalance(BalanceT &&value)
const TokenIdentifier & GetTokenIdentifier() const
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance()=default
bool LastUpdatedTimeHasBeenSet() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool TokenIdentifierHasBeenSet() const
TokenBalance & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool BalanceHasBeenSet() const
bool OwnerIdentifierHasBeenSet() const
void SetTokenIdentifier(TokenIdentifierT &&value)
const BlockchainInstant & GetAtBlockchainInstant() const
TokenBalance & WithAtBlockchainInstant(AtBlockchainInstantT &&value)
bool AtBlockchainInstantHasBeenSet() const
void SetOwnerIdentifier(OwnerIdentifierT &&value)
const OwnerIdentifier & GetOwnerIdentifier() const
TokenBalance & WithOwnerIdentifier(OwnerIdentifierT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBalance() const
void SetAtBlockchainInstant(AtBlockchainInstantT &&value)
void SetBalance(BalanceT &&value)
const BlockchainInstant & GetLastUpdatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue