AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GetAssetContractResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
9#include <aws/managedblockchain-query/model/ContractIdentifier.h>
10#include <aws/managedblockchain-query/model/ContractMetadata.h>
11#include <aws/managedblockchain-query/model/QueryTokenStandard.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchainQuery {
25namespace Model {
27 public:
28 AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult() = default;
31
33
37 inline const ContractIdentifier& GetContractIdentifier() const { return m_contractIdentifier; }
38 template <typename ContractIdentifierT = ContractIdentifier>
39 void SetContractIdentifier(ContractIdentifierT&& value) {
40 m_contractIdentifierHasBeenSet = true;
41 m_contractIdentifier = std::forward<ContractIdentifierT>(value);
42 }
43 template <typename ContractIdentifierT = ContractIdentifier>
44 GetAssetContractResult& WithContractIdentifier(ContractIdentifierT&& value) {
45 SetContractIdentifier(std::forward<ContractIdentifierT>(value));
46 return *this;
47 }
49
51
54 inline QueryTokenStandard GetTokenStandard() const { return m_tokenStandard; }
56 m_tokenStandardHasBeenSet = true;
57 m_tokenStandard = value;
58 }
60 SetTokenStandard(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDeployerAddress() const { return m_deployerAddress; }
70 template <typename DeployerAddressT = Aws::String>
71 void SetDeployerAddress(DeployerAddressT&& value) {
72 m_deployerAddressHasBeenSet = true;
73 m_deployerAddress = std::forward<DeployerAddressT>(value);
74 }
75 template <typename DeployerAddressT = Aws::String>
76 GetAssetContractResult& WithDeployerAddress(DeployerAddressT&& value) {
77 SetDeployerAddress(std::forward<DeployerAddressT>(value));
78 return *this;
79 }
81
83
84 inline const ContractMetadata& GetMetadata() const { return m_metadata; }
85 template <typename MetadataT = ContractMetadata>
86 void SetMetadata(MetadataT&& value) {
87 m_metadataHasBeenSet = true;
88 m_metadata = std::forward<MetadataT>(value);
89 }
90 template <typename MetadataT = ContractMetadata>
92 SetMetadata(std::forward<MetadataT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 ContractIdentifier m_contractIdentifier;
113
115
116 Aws::String m_deployerAddress;
117
118 ContractMetadata m_metadata;
119
120 Aws::String m_requestId;
121 bool m_contractIdentifierHasBeenSet = false;
122 bool m_tokenStandardHasBeenSet = false;
123 bool m_deployerAddressHasBeenSet = false;
124 bool m_metadataHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ManagedBlockchainQuery
130} // namespace Aws
GetAssetContractResult & WithTokenStandard(QueryTokenStandard value)
GetAssetContractResult & WithMetadata(MetadataT &&value)
GetAssetContractResult & WithContractIdentifier(ContractIdentifierT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult()=default
GetAssetContractResult & WithDeployerAddress(DeployerAddressT &&value)
GetAssetContractResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue