AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOwnerIdentifier(const OwnerIdentifier& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = value; }
50 inline void SetOwnerIdentifier(OwnerIdentifier&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::move(value); }
51 inline TokenBalance& WithOwnerIdentifier(const OwnerIdentifier& value) { SetOwnerIdentifier(value); return *this;}
52 inline TokenBalance& WithOwnerIdentifier(OwnerIdentifier&& value) { SetOwnerIdentifier(std::move(value)); return *this;}
54
56
60 inline const TokenIdentifier& GetTokenIdentifier() const{ return m_tokenIdentifier; }
61 inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; }
62 inline void SetTokenIdentifier(const TokenIdentifier& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = value; }
63 inline void SetTokenIdentifier(TokenIdentifier&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::move(value); }
64 inline TokenBalance& WithTokenIdentifier(const TokenIdentifier& value) { SetTokenIdentifier(value); return *this;}
65 inline TokenBalance& WithTokenIdentifier(TokenIdentifier&& value) { SetTokenIdentifier(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetBalance() const{ return m_balance; }
73 inline bool BalanceHasBeenSet() const { return m_balanceHasBeenSet; }
74 inline void SetBalance(const Aws::String& value) { m_balanceHasBeenSet = true; m_balance = value; }
75 inline void SetBalance(Aws::String&& value) { m_balanceHasBeenSet = true; m_balance = std::move(value); }
76 inline void SetBalance(const char* value) { m_balanceHasBeenSet = true; m_balance.assign(value); }
77 inline TokenBalance& WithBalance(const Aws::String& value) { SetBalance(value); return *this;}
78 inline TokenBalance& WithBalance(Aws::String&& value) { SetBalance(std::move(value)); return *this;}
79 inline TokenBalance& WithBalance(const char* value) { SetBalance(value); return *this;}
81
83
88 inline const BlockchainInstant& GetAtBlockchainInstant() const{ return m_atBlockchainInstant; }
89 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
90 inline void SetAtBlockchainInstant(const BlockchainInstant& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = value; }
91 inline void SetAtBlockchainInstant(BlockchainInstant&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::move(value); }
93 inline TokenBalance& WithAtBlockchainInstant(BlockchainInstant&& value) { SetAtBlockchainInstant(std::move(value)); return *this;}
95
97
101 inline const BlockchainInstant& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
102 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
103 inline void SetLastUpdatedTime(const BlockchainInstant& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
104 inline void SetLastUpdatedTime(BlockchainInstant&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
105 inline TokenBalance& WithLastUpdatedTime(const BlockchainInstant& value) { SetLastUpdatedTime(value); return *this;}
106 inline TokenBalance& WithLastUpdatedTime(BlockchainInstant&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
108 private:
109
110 OwnerIdentifier m_ownerIdentifier;
111 bool m_ownerIdentifierHasBeenSet = false;
112
113 TokenIdentifier m_tokenIdentifier;
114 bool m_tokenIdentifierHasBeenSet = false;
115
116 Aws::String m_balance;
117 bool m_balanceHasBeenSet = false;
118
119 BlockchainInstant m_atBlockchainInstant;
120 bool m_atBlockchainInstantHasBeenSet = false;
121
122 BlockchainInstant m_lastUpdatedTime;
123 bool m_lastUpdatedTimeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ManagedBlockchainQuery
128} // namespace Aws
void SetAtBlockchainInstant(const BlockchainInstant &value)
void SetTokenIdentifier(TokenIdentifier &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedTime(const BlockchainInstant &value)
void SetAtBlockchainInstant(BlockchainInstant &&value)
const TokenIdentifier & GetTokenIdentifier() const
TokenBalance & WithAtBlockchainInstant(BlockchainInstant &&value)
void SetTokenIdentifier(const TokenIdentifier &value)
void SetBalance(const Aws::String &value)
void SetOwnerIdentifier(const OwnerIdentifier &value)
void SetOwnerIdentifier(OwnerIdentifier &&value)
TokenBalance & WithLastUpdatedTime(const BlockchainInstant &value)
TokenBalance & WithOwnerIdentifier(OwnerIdentifier &&value)
TokenBalance & WithLastUpdatedTime(BlockchainInstant &&value)
const BlockchainInstant & GetAtBlockchainInstant() const
TokenBalance & WithBalance(Aws::String &&value)
TokenBalance & WithOwnerIdentifier(const OwnerIdentifier &value)
TokenBalance & WithAtBlockchainInstant(const BlockchainInstant &value)
const OwnerIdentifier & GetOwnerIdentifier() const
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(BlockchainInstant &&value)
TokenBalance & WithBalance(const char *value)
TokenBalance & WithTokenIdentifier(const TokenIdentifier &value)
TokenBalance & WithBalance(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenBalance()
const BlockchainInstant & GetLastUpdatedTime() const
TokenBalance & WithTokenIdentifier(TokenIdentifier &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue