AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetTokenBalanceResult.h
1
6#pragma once
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>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchainQuery {
25namespace Model {
27 public:
28 AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult() = default;
31
33
34 inline const OwnerIdentifier& GetOwnerIdentifier() const { return m_ownerIdentifier; }
35 template <typename OwnerIdentifierT = OwnerIdentifier>
36 void SetOwnerIdentifier(OwnerIdentifierT&& value) {
37 m_ownerIdentifierHasBeenSet = true;
38 m_ownerIdentifier = std::forward<OwnerIdentifierT>(value);
39 }
40 template <typename OwnerIdentifierT = OwnerIdentifier>
41 GetTokenBalanceResult& WithOwnerIdentifier(OwnerIdentifierT&& value) {
42 SetOwnerIdentifier(std::forward<OwnerIdentifierT>(value));
43 return *this;
44 }
46
48
49 inline const TokenIdentifier& GetTokenIdentifier() const { return m_tokenIdentifier; }
50 template <typename TokenIdentifierT = TokenIdentifier>
51 void SetTokenIdentifier(TokenIdentifierT&& value) {
52 m_tokenIdentifierHasBeenSet = true;
53 m_tokenIdentifier = std::forward<TokenIdentifierT>(value);
54 }
55 template <typename TokenIdentifierT = TokenIdentifier>
56 GetTokenBalanceResult& WithTokenIdentifier(TokenIdentifierT&& value) {
57 SetTokenIdentifier(std::forward<TokenIdentifierT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetBalance() const { return m_balance; }
67 template <typename BalanceT = Aws::String>
68 void SetBalance(BalanceT&& value) {
69 m_balanceHasBeenSet = true;
70 m_balance = std::forward<BalanceT>(value);
71 }
72 template <typename BalanceT = Aws::String>
74 SetBalance(std::forward<BalanceT>(value));
75 return *this;
76 }
78
80
81 inline const BlockchainInstant& GetAtBlockchainInstant() const { return m_atBlockchainInstant; }
82 template <typename AtBlockchainInstantT = BlockchainInstant>
83 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) {
84 m_atBlockchainInstantHasBeenSet = true;
85 m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value);
86 }
87 template <typename AtBlockchainInstantT = BlockchainInstant>
88 GetTokenBalanceResult& WithAtBlockchainInstant(AtBlockchainInstantT&& value) {
89 SetAtBlockchainInstant(std::forward<AtBlockchainInstantT>(value));
90 return *this;
91 }
93
95
96 inline const BlockchainInstant& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
97 template <typename LastUpdatedTimeT = BlockchainInstant>
98 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
99 m_lastUpdatedTimeHasBeenSet = true;
100 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
101 }
102 template <typename LastUpdatedTimeT = BlockchainInstant>
103 GetTokenBalanceResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) {
104 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
105 return *this;
106 }
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template <typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) {
114 m_requestIdHasBeenSet = true;
115 m_requestId = std::forward<RequestIdT>(value);
116 }
117 template <typename RequestIdT = Aws::String>
119 SetRequestId(std::forward<RequestIdT>(value));
120 return *this;
121 }
123 private:
124 OwnerIdentifier m_ownerIdentifier;
125
126 TokenIdentifier m_tokenIdentifier;
127
128 Aws::String m_balance;
129
130 BlockchainInstant m_atBlockchainInstant;
131
132 BlockchainInstant m_lastUpdatedTime;
133
134 Aws::String m_requestId;
135 bool m_ownerIdentifierHasBeenSet = false;
136 bool m_tokenIdentifierHasBeenSet = false;
137 bool m_balanceHasBeenSet = false;
138 bool m_atBlockchainInstantHasBeenSet = false;
139 bool m_lastUpdatedTimeHasBeenSet = false;
140 bool m_requestIdHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace ManagedBlockchainQuery
145} // namespace Aws
GetTokenBalanceResult & WithOwnerIdentifier(OwnerIdentifierT &&value)
GetTokenBalanceResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetTokenBalanceResult & WithRequestId(RequestIdT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult()=default
GetTokenBalanceResult & WithTokenIdentifier(TokenIdentifierT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTokenBalanceResult & WithBalance(BalanceT &&value)
GetTokenBalanceResult & WithAtBlockchainInstant(AtBlockchainInstantT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue