AWS SDK for C++  1.9.160
AWS SDK for C++
NodeFrameworkAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ManagedBlockchain
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const NodeFabricAttributes& GetFabric() const{ return m_fabric; }
47 
52  inline bool FabricHasBeenSet() const { return m_fabricHasBeenSet; }
53 
58  inline void SetFabric(const NodeFabricAttributes& value) { m_fabricHasBeenSet = true; m_fabric = value; }
59 
64  inline void SetFabric(NodeFabricAttributes&& value) { m_fabricHasBeenSet = true; m_fabric = std::move(value); }
65 
70  inline NodeFrameworkAttributes& WithFabric(const NodeFabricAttributes& value) { SetFabric(value); return *this;}
71 
76  inline NodeFrameworkAttributes& WithFabric(NodeFabricAttributes&& value) { SetFabric(std::move(value)); return *this;}
77 
78 
83  inline const NodeEthereumAttributes& GetEthereum() const{ return m_ethereum; }
84 
89  inline bool EthereumHasBeenSet() const { return m_ethereumHasBeenSet; }
90 
95  inline void SetEthereum(const NodeEthereumAttributes& value) { m_ethereumHasBeenSet = true; m_ethereum = value; }
96 
101  inline void SetEthereum(NodeEthereumAttributes&& value) { m_ethereumHasBeenSet = true; m_ethereum = std::move(value); }
102 
107  inline NodeFrameworkAttributes& WithEthereum(const NodeEthereumAttributes& value) { SetEthereum(value); return *this;}
108 
113  inline NodeFrameworkAttributes& WithEthereum(NodeEthereumAttributes&& value) { SetEthereum(std::move(value)); return *this;}
114 
115  private:
116 
117  NodeFabricAttributes m_fabric;
118  bool m_fabricHasBeenSet;
119 
120  NodeEthereumAttributes m_ethereum;
121  bool m_ethereumHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace ManagedBlockchain
126 } // namespace Aws
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::WithFabric
NodeFrameworkAttributes & WithFabric(NodeFabricAttributes &&value)
Definition: NodeFrameworkAttributes.h:76
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::FabricHasBeenSet
bool FabricHasBeenSet() const
Definition: NodeFrameworkAttributes.h:52
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::SetFabric
void SetFabric(const NodeFabricAttributes &value)
Definition: NodeFrameworkAttributes.h:58
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::WithEthereum
NodeFrameworkAttributes & WithEthereum(NodeEthereumAttributes &&value)
Definition: NodeFrameworkAttributes.h:113
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::SetEthereum
void SetEthereum(const NodeEthereumAttributes &value)
Definition: NodeFrameworkAttributes.h:95
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::NodeFrameworkAttributes
NodeFrameworkAttributes()
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::EthereumHasBeenSet
bool EthereumHasBeenSet() const
Definition: NodeFrameworkAttributes.h:89
Aws::ManagedBlockchain::Model::NodeFabricAttributes
Definition: NodeFabricAttributes.h:33
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::operator=
NodeFrameworkAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NodeEthereumAttributes
Definition: NodeEthereumAttributes.h:32
NodeFabricAttributes.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::SetFabric
void SetFabric(NodeFabricAttributes &&value)
Definition: NodeFrameworkAttributes.h:64
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::SetEthereum
void SetEthereum(NodeEthereumAttributes &&value)
Definition: NodeFrameworkAttributes.h:101
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::GetFabric
const NodeFabricAttributes & GetFabric() const
Definition: NodeFrameworkAttributes.h:46
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
NodeEthereumAttributes.h
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::GetEthereum
const NodeEthereumAttributes & GetEthereum() const
Definition: NodeFrameworkAttributes.h:83
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ManagedBlockchain_EXPORTS.h
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::WithFabric
NodeFrameworkAttributes & WithFabric(const NodeFabricAttributes &value)
Definition: NodeFrameworkAttributes.h:70
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::NodeFrameworkAttributes
NodeFrameworkAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes
Definition: NodeFrameworkAttributes.h:34
Aws::ManagedBlockchain::Model::NodeFrameworkAttributes::WithEthereum
NodeFrameworkAttributes & WithEthereum(const NodeEthereumAttributes &value)
Definition: NodeFrameworkAttributes.h:107