AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetTokenBalanceRequest.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQueryRequest.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 {
16namespace ManagedBlockchainQuery {
17namespace Model {
18
22 public:
23 AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GetTokenBalance"; }
30
31 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override;
32
34
38 inline const TokenIdentifier& GetTokenIdentifier() const { return m_tokenIdentifier; }
39 inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; }
40 template <typename TokenIdentifierT = TokenIdentifier>
41 void SetTokenIdentifier(TokenIdentifierT&& value) {
42 m_tokenIdentifierHasBeenSet = true;
43 m_tokenIdentifier = std::forward<TokenIdentifierT>(value);
44 }
45 template <typename TokenIdentifierT = TokenIdentifier>
46 GetTokenBalanceRequest& WithTokenIdentifier(TokenIdentifierT&& value) {
47 SetTokenIdentifier(std::forward<TokenIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const OwnerIdentifier& GetOwnerIdentifier() const { return m_ownerIdentifier; }
57 inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; }
58 template <typename OwnerIdentifierT = OwnerIdentifier>
59 void SetOwnerIdentifier(OwnerIdentifierT&& value) {
60 m_ownerIdentifierHasBeenSet = true;
61 m_ownerIdentifier = std::forward<OwnerIdentifierT>(value);
62 }
63 template <typename OwnerIdentifierT = OwnerIdentifier>
64 GetTokenBalanceRequest& WithOwnerIdentifier(OwnerIdentifierT&& value) {
65 SetOwnerIdentifier(std::forward<OwnerIdentifierT>(value));
66 return *this;
67 }
69
71
76 inline const BlockchainInstant& GetAtBlockchainInstant() const { return m_atBlockchainInstant; }
77 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
78 template <typename AtBlockchainInstantT = BlockchainInstant>
79 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) {
80 m_atBlockchainInstantHasBeenSet = true;
81 m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value);
82 }
83 template <typename AtBlockchainInstantT = BlockchainInstant>
84 GetTokenBalanceRequest& WithAtBlockchainInstant(AtBlockchainInstantT&& value) {
85 SetAtBlockchainInstant(std::forward<AtBlockchainInstantT>(value));
86 return *this;
87 }
89 private:
90 TokenIdentifier m_tokenIdentifier;
91
92 OwnerIdentifier m_ownerIdentifier;
93
94 BlockchainInstant m_atBlockchainInstant;
95 bool m_tokenIdentifierHasBeenSet = false;
96 bool m_ownerIdentifierHasBeenSet = false;
97 bool m_atBlockchainInstantHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace ManagedBlockchainQuery
102} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceRequest()=default
GetTokenBalanceRequest & WithOwnerIdentifier(OwnerIdentifierT &&value)
GetTokenBalanceRequest & WithAtBlockchainInstant(AtBlockchainInstantT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
GetTokenBalanceRequest & WithTokenIdentifier(TokenIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String