7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/model/OwnerIdentifier.h>
9#include <aws/managedblockchain-query/model/TokenIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/managedblockchain-query/model/BlockchainInstant.h>
24namespace ManagedBlockchainQuery
49 template<
typename OwnerIdentifierT = OwnerIdentifier>
50 void SetOwnerIdentifier(OwnerIdentifierT&& value) { m_ownerIdentifierHasBeenSet =
true; m_ownerIdentifier = std::forward<OwnerIdentifierT>(value); }
51 template<
typename OwnerIdentifierT = OwnerIdentifier>
62 template<
typename TokenIdentifierT = TokenIdentifier>
63 void SetTokenIdentifier(TokenIdentifierT&& value) { m_tokenIdentifierHasBeenSet =
true; m_tokenIdentifier = std::forward<TokenIdentifierT>(value); }
64 template<
typename TokenIdentifierT = TokenIdentifier>
74 template<
typename BalanceT = Aws::String>
75 void SetBalance(BalanceT&& value) { m_balanceHasBeenSet =
true; m_balance = std::forward<BalanceT>(value); }
76 template<
typename BalanceT = Aws::String>
88 template<
typename AtBlockchainInstantT = BlockchainInstant>
89 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) { m_atBlockchainInstantHasBeenSet =
true; m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value); }
90 template<
typename AtBlockchainInstantT = BlockchainInstant>
101 template<
typename LastUpdatedTimeT = BlockchainInstant>
102 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
103 template<
typename LastUpdatedTimeT = BlockchainInstant>
109 bool m_ownerIdentifierHasBeenSet =
false;
112 bool m_tokenIdentifierHasBeenSet =
false;
115 bool m_balanceHasBeenSet =
false;
118 bool m_atBlockchainInstantHasBeenSet =
false;
121 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