AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTokenIdentifier(const TokenIdentifier& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = value; }
45 inline void SetTokenIdentifier(TokenIdentifier&& value) { m_tokenIdentifierHasBeenSet = true; m_tokenIdentifier = std::move(value); }
47 inline GetTokenBalanceRequest& WithTokenIdentifier(TokenIdentifier&& value) { SetTokenIdentifier(std::move(value)); return *this;}
49
51
54 inline const OwnerIdentifier& GetOwnerIdentifier() const{ return m_ownerIdentifier; }
55 inline bool OwnerIdentifierHasBeenSet() const { return m_ownerIdentifierHasBeenSet; }
56 inline void SetOwnerIdentifier(const OwnerIdentifier& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = value; }
57 inline void SetOwnerIdentifier(OwnerIdentifier&& value) { m_ownerIdentifierHasBeenSet = true; m_ownerIdentifier = std::move(value); }
59 inline GetTokenBalanceRequest& WithOwnerIdentifier(OwnerIdentifier&& value) { SetOwnerIdentifier(std::move(value)); return *this;}
61
63
68 inline const BlockchainInstant& GetAtBlockchainInstant() const{ return m_atBlockchainInstant; }
69 inline bool AtBlockchainInstantHasBeenSet() const { return m_atBlockchainInstantHasBeenSet; }
70 inline void SetAtBlockchainInstant(const BlockchainInstant& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = value; }
71 inline void SetAtBlockchainInstant(BlockchainInstant&& value) { m_atBlockchainInstantHasBeenSet = true; m_atBlockchainInstant = std::move(value); }
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
GetTokenBalanceRequest & WithAtBlockchainInstant(BlockchainInstant &&value)
GetTokenBalanceRequest & WithTokenIdentifier(TokenIdentifier &&value)
GetTokenBalanceRequest & WithTokenIdentifier(const TokenIdentifier &value)
GetTokenBalanceRequest & WithOwnerIdentifier(const OwnerIdentifier &value)
GetTokenBalanceRequest & WithOwnerIdentifier(OwnerIdentifier &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
AWS_MANAGEDBLOCKCHAINQUERY_API GetTokenBalanceRequest()
GetTokenBalanceRequest & WithAtBlockchainInstant(const BlockchainInstant &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String