AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetContract.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ManagedBlockchainQuery
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract();
38 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ContractIdentifier& GetContractIdentifier() const{ return m_contractIdentifier; }
49 inline bool ContractIdentifierHasBeenSet() const { return m_contractIdentifierHasBeenSet; }
50 inline void SetContractIdentifier(const ContractIdentifier& value) { m_contractIdentifierHasBeenSet = true; m_contractIdentifier = value; }
51 inline void SetContractIdentifier(ContractIdentifier&& value) { m_contractIdentifierHasBeenSet = true; m_contractIdentifier = std::move(value); }
53 inline AssetContract& WithContractIdentifier(ContractIdentifier&& value) { SetContractIdentifier(std::move(value)); return *this;}
55
57
60 inline const QueryTokenStandard& GetTokenStandard() const{ return m_tokenStandard; }
61 inline bool TokenStandardHasBeenSet() const { return m_tokenStandardHasBeenSet; }
62 inline void SetTokenStandard(const QueryTokenStandard& value) { m_tokenStandardHasBeenSet = true; m_tokenStandard = value; }
63 inline void SetTokenStandard(QueryTokenStandard&& value) { m_tokenStandardHasBeenSet = true; m_tokenStandard = std::move(value); }
64 inline AssetContract& WithTokenStandard(const QueryTokenStandard& value) { SetTokenStandard(value); return *this;}
65 inline AssetContract& WithTokenStandard(QueryTokenStandard&& value) { SetTokenStandard(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDeployerAddress() const{ return m_deployerAddress; }
73 inline bool DeployerAddressHasBeenSet() const { return m_deployerAddressHasBeenSet; }
74 inline void SetDeployerAddress(const Aws::String& value) { m_deployerAddressHasBeenSet = true; m_deployerAddress = value; }
75 inline void SetDeployerAddress(Aws::String&& value) { m_deployerAddressHasBeenSet = true; m_deployerAddress = std::move(value); }
76 inline void SetDeployerAddress(const char* value) { m_deployerAddressHasBeenSet = true; m_deployerAddress.assign(value); }
77 inline AssetContract& WithDeployerAddress(const Aws::String& value) { SetDeployerAddress(value); return *this;}
78 inline AssetContract& WithDeployerAddress(Aws::String&& value) { SetDeployerAddress(std::move(value)); return *this;}
79 inline AssetContract& WithDeployerAddress(const char* value) { SetDeployerAddress(value); return *this;}
81 private:
82
83 ContractIdentifier m_contractIdentifier;
84 bool m_contractIdentifierHasBeenSet = false;
85
86 QueryTokenStandard m_tokenStandard;
87 bool m_tokenStandardHasBeenSet = false;
88
89 Aws::String m_deployerAddress;
90 bool m_deployerAddressHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ManagedBlockchainQuery
95} // namespace Aws
AssetContract & WithDeployerAddress(Aws::String &&value)
AssetContract & WithDeployerAddress(const char *value)
AssetContract & WithContractIdentifier(const ContractIdentifier &value)
void SetContractIdentifier(ContractIdentifier &&value)
AssetContract & WithContractIdentifier(ContractIdentifier &&value)
void SetTokenStandard(QueryTokenStandard &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract()
const ContractIdentifier & GetContractIdentifier() const
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract & operator=(Aws::Utils::Json::JsonView jsonValue)
const QueryTokenStandard & GetTokenStandard() const
AssetContract & WithTokenStandard(QueryTokenStandard &&value)
AssetContract & WithDeployerAddress(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContractIdentifier(const ContractIdentifier &value)
void SetDeployerAddress(const Aws::String &value)
AssetContract & WithTokenStandard(const QueryTokenStandard &value)
void SetTokenStandard(const QueryTokenStandard &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue