AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTokenBalanceResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ManagedBlockchainQuery
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult();
36
37
39
40 inline const OwnerIdentifier& GetOwnerIdentifier() const{ return m_ownerIdentifier; }
41 inline void SetOwnerIdentifier(const OwnerIdentifier& value) { m_ownerIdentifier = value; }
42 inline void SetOwnerIdentifier(OwnerIdentifier&& value) { m_ownerIdentifier = std::move(value); }
43 inline GetTokenBalanceResult& WithOwnerIdentifier(const OwnerIdentifier& value) { SetOwnerIdentifier(value); return *this;}
44 inline GetTokenBalanceResult& WithOwnerIdentifier(OwnerIdentifier&& value) { SetOwnerIdentifier(std::move(value)); return *this;}
46
48
49 inline const TokenIdentifier& GetTokenIdentifier() const{ return m_tokenIdentifier; }
50 inline void SetTokenIdentifier(const TokenIdentifier& value) { m_tokenIdentifier = value; }
51 inline void SetTokenIdentifier(TokenIdentifier&& value) { m_tokenIdentifier = std::move(value); }
52 inline GetTokenBalanceResult& WithTokenIdentifier(const TokenIdentifier& value) { SetTokenIdentifier(value); return *this;}
53 inline GetTokenBalanceResult& WithTokenIdentifier(TokenIdentifier&& value) { SetTokenIdentifier(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetBalance() const{ return m_balance; }
61 inline void SetBalance(const Aws::String& value) { m_balance = value; }
62 inline void SetBalance(Aws::String&& value) { m_balance = std::move(value); }
63 inline void SetBalance(const char* value) { m_balance.assign(value); }
64 inline GetTokenBalanceResult& WithBalance(const Aws::String& value) { SetBalance(value); return *this;}
65 inline GetTokenBalanceResult& WithBalance(Aws::String&& value) { SetBalance(std::move(value)); return *this;}
66 inline GetTokenBalanceResult& WithBalance(const char* value) { SetBalance(value); return *this;}
68
70
71 inline const BlockchainInstant& GetAtBlockchainInstant() const{ return m_atBlockchainInstant; }
72 inline void SetAtBlockchainInstant(const BlockchainInstant& value) { m_atBlockchainInstant = value; }
73 inline void SetAtBlockchainInstant(BlockchainInstant&& value) { m_atBlockchainInstant = std::move(value); }
77
79
80 inline const BlockchainInstant& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
81 inline void SetLastUpdatedTime(const BlockchainInstant& value) { m_lastUpdatedTime = value; }
82 inline void SetLastUpdatedTime(BlockchainInstant&& value) { m_lastUpdatedTime = std::move(value); }
84 inline GetTokenBalanceResult& WithLastUpdatedTime(BlockchainInstant&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline GetTokenBalanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline GetTokenBalanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline GetTokenBalanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 OwnerIdentifier m_ownerIdentifier;
100
101 TokenIdentifier m_tokenIdentifier;
102
103 Aws::String m_balance;
104
105 BlockchainInstant m_atBlockchainInstant;
106
107 BlockchainInstant m_lastUpdatedTime;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace ManagedBlockchainQuery
114} // namespace Aws
GetTokenBalanceResult & WithRequestId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceResult()
GetTokenBalanceResult & WithTokenIdentifier(TokenIdentifier &&value)
GetTokenBalanceResult & WithLastUpdatedTime(const BlockchainInstant &value)
GetTokenBalanceResult & WithBalance(Aws::String &&value)
GetTokenBalanceResult & WithAtBlockchainInstant(BlockchainInstant &&value)
GetTokenBalanceResult & WithRequestId(const char *value)
GetTokenBalanceResult & WithRequestId(Aws::String &&value)
GetTokenBalanceResult & WithOwnerIdentifier(const OwnerIdentifier &value)
GetTokenBalanceResult & WithLastUpdatedTime(BlockchainInstant &&value)
GetTokenBalanceResult & WithAtBlockchainInstant(const BlockchainInstant &value)
GetTokenBalanceResult & WithBalance(const Aws::String &value)
GetTokenBalanceResult & WithTokenIdentifier(const TokenIdentifier &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(const char *value)
GetTokenBalanceResult & WithOwnerIdentifier(OwnerIdentifier &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue