AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAssetContractResult.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/model/ContractIdentifier.h>
9#include <aws/managedblockchain-query/model/QueryTokenStandard.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/managedblockchain-query/model/ContractMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ManagedBlockchainQuery
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult() = default;
36
37
39
43 inline const ContractIdentifier& GetContractIdentifier() const { return m_contractIdentifier; }
44 template<typename ContractIdentifierT = ContractIdentifier>
45 void SetContractIdentifier(ContractIdentifierT&& value) { m_contractIdentifierHasBeenSet = true; m_contractIdentifier = std::forward<ContractIdentifierT>(value); }
46 template<typename ContractIdentifierT = ContractIdentifier>
47 GetAssetContractResult& WithContractIdentifier(ContractIdentifierT&& value) { SetContractIdentifier(std::forward<ContractIdentifierT>(value)); return *this;}
49
51
54 inline QueryTokenStandard GetTokenStandard() const { return m_tokenStandard; }
55 inline void SetTokenStandard(QueryTokenStandard value) { m_tokenStandardHasBeenSet = true; m_tokenStandard = value; }
58
60
63 inline const Aws::String& GetDeployerAddress() const { return m_deployerAddress; }
64 template<typename DeployerAddressT = Aws::String>
65 void SetDeployerAddress(DeployerAddressT&& value) { m_deployerAddressHasBeenSet = true; m_deployerAddress = std::forward<DeployerAddressT>(value); }
66 template<typename DeployerAddressT = Aws::String>
67 GetAssetContractResult& WithDeployerAddress(DeployerAddressT&& value) { SetDeployerAddress(std::forward<DeployerAddressT>(value)); return *this;}
69
71
72 inline const ContractMetadata& GetMetadata() const { return m_metadata; }
73 template<typename MetadataT = ContractMetadata>
74 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
75 template<typename MetadataT = ContractMetadata>
76 GetAssetContractResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetAssetContractResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 ContractIdentifier m_contractIdentifier;
90 bool m_contractIdentifierHasBeenSet = false;
91
93 bool m_tokenStandardHasBeenSet = false;
94
95 Aws::String m_deployerAddress;
96 bool m_deployerAddressHasBeenSet = false;
97
98 ContractMetadata m_metadata;
99 bool m_metadataHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ManagedBlockchainQuery
107} // 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