AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TokenIdentifier.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/model/QueryNetwork.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ManagedBlockchainQuery
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier();
39 AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const QueryNetwork& GetNetwork() const{ return m_network; }
49 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
50 inline void SetNetwork(const QueryNetwork& value) { m_networkHasBeenSet = true; m_network = value; }
51 inline void SetNetwork(QueryNetwork&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
52 inline TokenIdentifier& WithNetwork(const QueryNetwork& value) { SetNetwork(value); return *this;}
53 inline TokenIdentifier& WithNetwork(QueryNetwork&& value) { SetNetwork(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetContractAddress() const{ return m_contractAddress; }
61 inline bool ContractAddressHasBeenSet() const { return m_contractAddressHasBeenSet; }
62 inline void SetContractAddress(const Aws::String& value) { m_contractAddressHasBeenSet = true; m_contractAddress = value; }
63 inline void SetContractAddress(Aws::String&& value) { m_contractAddressHasBeenSet = true; m_contractAddress = std::move(value); }
64 inline void SetContractAddress(const char* value) { m_contractAddressHasBeenSet = true; m_contractAddress.assign(value); }
65 inline TokenIdentifier& WithContractAddress(const Aws::String& value) { SetContractAddress(value); return *this;}
66 inline TokenIdentifier& WithContractAddress(Aws::String&& value) { SetContractAddress(std::move(value)); return *this;}
67 inline TokenIdentifier& WithContractAddress(const char* value) { SetContractAddress(value); return *this;}
69
71
78 inline const Aws::String& GetTokenId() const{ return m_tokenId; }
79 inline bool TokenIdHasBeenSet() const { return m_tokenIdHasBeenSet; }
80 inline void SetTokenId(const Aws::String& value) { m_tokenIdHasBeenSet = true; m_tokenId = value; }
81 inline void SetTokenId(Aws::String&& value) { m_tokenIdHasBeenSet = true; m_tokenId = std::move(value); }
82 inline void SetTokenId(const char* value) { m_tokenIdHasBeenSet = true; m_tokenId.assign(value); }
83 inline TokenIdentifier& WithTokenId(const Aws::String& value) { SetTokenId(value); return *this;}
84 inline TokenIdentifier& WithTokenId(Aws::String&& value) { SetTokenId(std::move(value)); return *this;}
85 inline TokenIdentifier& WithTokenId(const char* value) { SetTokenId(value); return *this;}
87 private:
88
89 QueryNetwork m_network;
90 bool m_networkHasBeenSet = false;
91
92 Aws::String m_contractAddress;
93 bool m_contractAddressHasBeenSet = false;
94
95 Aws::String m_tokenId;
96 bool m_tokenIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ManagedBlockchainQuery
101} // namespace Aws
TokenIdentifier & WithContractAddress(const Aws::String &value)
TokenIdentifier & WithNetwork(QueryNetwork &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
TokenIdentifier & WithContractAddress(Aws::String &&value)
TokenIdentifier & WithTokenId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier(Aws::Utils::Json::JsonView jsonValue)
TokenIdentifier & WithTokenId(const char *value)
TokenIdentifier & WithNetwork(const QueryNetwork &value)
TokenIdentifier & WithContractAddress(const char *value)
TokenIdentifier & WithTokenId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API TokenIdentifier()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue