AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TokenBalance.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchainQuery
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance() = default;
38 AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const OwnerIdentifier& GetOwnerIdentifier() const { return m_ownerIdentifier; }
48 inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; }
49 template<typename OwnerIdentifierT = OwnerIdentifier>
50 void SetOwnerIdentifier(OwnerIdentifierT&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::forward<OwnerIdentifierT>(value); }
51 template<typename OwnerIdentifierT = OwnerIdentifier>
52 TokenBalance& WithOwnerIdentifier(OwnerIdentifierT&& value) { SetOwnerIdentifier(std::forward<OwnerIdentifierT>(value)); return *this;}
54
56
60 inline const TokenIdentifier& GetTokenIdentifier() const { return m_tokenIdentifier; }
61 inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; }
62 template<typename TokenIdentifierT = TokenIdentifier>
63 void SetTokenIdentifier(TokenIdentifierT&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::forward<TokenIdentifierT>(value); }
64 template<typename TokenIdentifierT = TokenIdentifier>
65 TokenBalance& WithTokenIdentifier(TokenIdentifierT&& value) { SetTokenIdentifier(std::forward<TokenIdentifierT>(value)); return *this;}
67
69
72 inline const Aws::String& GetBalance() const { return m_balance; }
73 inline bool BalanceHasBeenSet() const { return m_balanceHasBeenSet; }
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>
77 TokenBalance& WithBalance(BalanceT&& value) { SetBalance(std::forward<BalanceT>(value)); return *this;}
79
81
86 inline const BlockchainInstant& GetAtBlockchainInstant() const { return m_atBlockchainInstant; }
87 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
88 template<typename AtBlockchainInstantT = BlockchainInstant>
89 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value); }
90 template<typename AtBlockchainInstantT = BlockchainInstant>
91 TokenBalance& WithAtBlockchainInstant(AtBlockchainInstantT&& value) { SetAtBlockchainInstant(std::forward<AtBlockchainInstantT>(value)); return *this;}
93
95
99 inline const BlockchainInstant& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
100 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
101 template<typename LastUpdatedTimeT = BlockchainInstant>
102 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
103 template<typename LastUpdatedTimeT = BlockchainInstant>
104 TokenBalance& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
106 private:
107
108 OwnerIdentifier m_ownerIdentifier;
109 bool m_ownerIdentifierHasBeenSet = false;
110
111 TokenIdentifier m_tokenIdentifier;
112 bool m_tokenIdentifierHasBeenSet = false;
113
114 Aws::String m_balance;
115 bool m_balanceHasBeenSet = false;
116
117 BlockchainInstant m_atBlockchainInstant;
118 bool m_atBlockchainInstantHasBeenSet = false;
119
120 BlockchainInstant m_lastUpdatedTime;
121 bool m_lastUpdatedTimeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ManagedBlockchainQuery
126} // namespace Aws
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
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
TokenBalance & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetTokenIdentifier(TokenIdentifierT &&value)
const BlockchainInstant & GetAtBlockchainInstant() const
TokenBalance & WithAtBlockchainInstant(AtBlockchainInstantT &&value)
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)
void SetAtBlockchainInstant(AtBlockchainInstantT &&value)
const BlockchainInstant & GetLastUpdatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue