AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetTokenBalanceRequest.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQueryRequest.h>
9#include <aws/managedblockchain-query/model/TokenIdentifier.h>
10#include <aws/managedblockchain-query/model/OwnerIdentifier.h>
11#include <aws/managedblockchain-query/model/BlockchainInstant.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ManagedBlockchainQuery
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetTokenBalance"; }
33
34 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override;
35
36
38
42 inline const TokenIdentifier& GetTokenIdentifier() const { return m_tokenIdentifier; }
43 inline bool TokenIdentifierHasBeenSet() const { return m_tokenIdentifierHasBeenSet; }
44 template<typename TokenIdentifierT = TokenIdentifier>
45 void SetTokenIdentifier(TokenIdentifierT&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::forward<TokenIdentifierT>(value); }
46 template<typename TokenIdentifierT = TokenIdentifier>
47 GetTokenBalanceRequest& WithTokenIdentifier(TokenIdentifierT&& value) { SetTokenIdentifier(std::forward<TokenIdentifierT>(value)); return *this;}
49
51
54 inline const OwnerIdentifier& GetOwnerIdentifier() const { return m_ownerIdentifier; }
55 inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; }
56 template<typename OwnerIdentifierT = OwnerIdentifier>
57 void SetOwnerIdentifier(OwnerIdentifierT&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::forward<OwnerIdentifierT>(value); }
58 template<typename OwnerIdentifierT = OwnerIdentifier>
59 GetTokenBalanceRequest& WithOwnerIdentifier(OwnerIdentifierT&& value) { SetOwnerIdentifier(std::forward<OwnerIdentifierT>(value)); return *this;}
61
63
68 inline const BlockchainInstant& GetAtBlockchainInstant() const { return m_atBlockchainInstant; }
69 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
70 template<typename AtBlockchainInstantT = BlockchainInstant>
71 void SetAtBlockchainInstant(AtBlockchainInstantT&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::forward<AtBlockchainInstantT>(value); }
72 template<typename AtBlockchainInstantT = BlockchainInstant>
73 GetTokenBalanceRequest& WithAtBlockchainInstant(AtBlockchainInstantT&& value) { SetAtBlockchainInstant(std::forward<AtBlockchainInstantT>(value)); return *this;}
75 private:
76
77 TokenIdentifier m_tokenIdentifier;
78 bool m_tokenIdentifierHasBeenSet = false;
79
80 OwnerIdentifier m_ownerIdentifier;
81 bool m_ownerIdentifierHasBeenSet = false;
82
83 BlockchainInstant m_atBlockchainInstant;
84 bool m_atBlockchainInstantHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ManagedBlockchainQuery
89} // 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