7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/BlockchainChainId.h>
9#include <aws/bedrock-agentcore/model/CryptoWalletNetwork.h>
10#include <aws/bedrock-agentcore/model/InstrumentBalanceToken.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgentCore {
44 template <
typename AmountT = Aws::String>
46 m_amountHasBeenSet =
true;
47 m_amount = std::forward<AmountT>(value);
49 template <
typename AmountT = Aws::String>
63 m_decimalsHasBeenSet =
true;
79 m_tokenHasBeenSet =
true;
95 m_networkHasBeenSet =
true;
111 m_chainHasBeenSet =
true;
129 bool m_amountHasBeenSet =
false;
130 bool m_decimalsHasBeenSet =
false;
131 bool m_tokenHasBeenSet =
false;
132 bool m_networkHasBeenSet =
false;
133 bool m_chainHasBeenSet =
false;
AWS_BEDROCKAGENTCORE_API TokenBalance()=default
TokenBalance & WithToken(InstrumentBalanceToken value)
bool AmountHasBeenSet() const
void SetNetwork(CryptoWalletNetwork value)
TokenBalance & WithAmount(AmountT &&value)
InstrumentBalanceToken GetToken() const
const Aws::String & GetAmount() const
bool ChainHasBeenSet() const
AWS_BEDROCKAGENTCORE_API TokenBalance(Aws::Utils::Json::JsonView jsonValue)
bool TokenHasBeenSet() const
TokenBalance & WithChain(BlockchainChainId value)
void SetAmount(AmountT &&value)
bool NetworkHasBeenSet() const
BlockchainChainId GetChain() const
void SetDecimals(int value)
void SetChain(BlockchainChainId value)
void SetToken(InstrumentBalanceToken value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
TokenBalance & WithNetwork(CryptoWalletNetwork value)
bool DecimalsHasBeenSet() const
CryptoWalletNetwork GetNetwork() const
TokenBalance & WithDecimals(int value)
AWS_BEDROCKAGENTCORE_API TokenBalance & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue