AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetTokenBalanceOutputItem.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
36 {
37 public:
38 AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem() = default;
39 AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const OwnerIdentifier& GetOwnerIdentifier() const { return m_ownerIdentifier; }
47 inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; }
48 template<typename OwnerIdentifierT = OwnerIdentifier>
49 void SetOwnerIdentifier(OwnerIdentifierT&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::forward<OwnerIdentifierT>(value); }
50 template<typename OwnerIdentifierT = OwnerIdentifier>
51 BatchGetTokenBalanceOutputItem& WithOwnerIdentifier(OwnerIdentifierT&& value) { SetOwnerIdentifier(std::forward<OwnerIdentifierT>(value)); return *this;}
53
55
56 inline const TokenIdentifier& GetTokenIdentifier() const { return m_tokenIdentifier; }
57 inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; }
58 template<typename TokenIdentifierT = TokenIdentifier>
59 void SetTokenIdentifier(TokenIdentifierT&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::forward<TokenIdentifierT>(value); }
60 template<typename TokenIdentifierT = TokenIdentifier>
61 BatchGetTokenBalanceOutputItem& WithTokenIdentifier(TokenIdentifierT&& value) { SetTokenIdentifier(std::forward<TokenIdentifierT>(value)); return *this;}
63
65
68 inline const Aws::String& GetBalance() const { return m_balance; }
69 inline bool BalanceHasBeenSet() const { return m_balanceHasBeenSet; }
70 template<typename BalanceT = Aws::String>
71 void SetBalance(BalanceT&& value) { m_balanceHasBeenSet = true; m_balance = std::forward<BalanceT>(value); }
72 template<typename BalanceT = Aws::String>
73 BatchGetTokenBalanceOutputItem& WithBalance(BalanceT&& value) { SetBalance(std::forward<BalanceT>(value)); return *this;}
75
77
78 inline const BlockchainInstant& GetAtBlockchainInstant() const { return m_atBlockchainInstant; }
79 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
80 template<typename AtBlockchainInstantT = BlockchainInstant>
81 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value); }
82 template<typename AtBlockchainInstantT = BlockchainInstant>
83 BatchGetTokenBalanceOutputItem& WithAtBlockchainInstant(AtBlockchainInstantT&& value) { SetAtBlockchainInstant(std::forward<AtBlockchainInstantT>(value)); return *this;}
85
87
88 inline const BlockchainInstant& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
89 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
90 template<typename LastUpdatedTimeT = BlockchainInstant>
91 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
92 template<typename LastUpdatedTimeT = BlockchainInstant>
93 BatchGetTokenBalanceOutputItem& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
95 private:
96
97 OwnerIdentifier m_ownerIdentifier;
98 bool m_ownerIdentifierHasBeenSet = false;
99
100 TokenIdentifier m_tokenIdentifier;
101 bool m_tokenIdentifierHasBeenSet = false;
102
103 Aws::String m_balance;
104 bool m_balanceHasBeenSet = false;
105
106 BlockchainInstant m_atBlockchainInstant;
107 bool m_atBlockchainInstantHasBeenSet = false;
108
109 BlockchainInstant m_lastUpdatedTime;
110 bool m_lastUpdatedTimeHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ManagedBlockchainQuery
115} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem()=default
AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem(Aws::Utils::Json::JsonView jsonValue)
BatchGetTokenBalanceOutputItem & WithAtBlockchainInstant(AtBlockchainInstantT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetTokenBalanceOutputItem & WithOwnerIdentifier(OwnerIdentifierT &&value)
BatchGetTokenBalanceOutputItem & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API BatchGetTokenBalanceOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetTokenBalanceOutputItem & WithTokenIdentifier(TokenIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue