AWS SDK for C++  1.9.160
AWS SDK for C++
NetworkFabricAttributes.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetOrderingServiceEndpoint() const{ return m_orderingServiceEndpoint; }
45 
49  inline bool OrderingServiceEndpointHasBeenSet() const { return m_orderingServiceEndpointHasBeenSet; }
50 
54  inline void SetOrderingServiceEndpoint(const Aws::String& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = value; }
55 
59  inline void SetOrderingServiceEndpoint(Aws::String&& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = std::move(value); }
60 
64  inline void SetOrderingServiceEndpoint(const char* value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint.assign(value); }
65 
69  inline NetworkFabricAttributes& WithOrderingServiceEndpoint(const Aws::String& value) { SetOrderingServiceEndpoint(value); return *this;}
70 
74  inline NetworkFabricAttributes& WithOrderingServiceEndpoint(Aws::String&& value) { SetOrderingServiceEndpoint(std::move(value)); return *this;}
75 
79  inline NetworkFabricAttributes& WithOrderingServiceEndpoint(const char* value) { SetOrderingServiceEndpoint(value); return *this;}
80 
81 
88  inline const Edition& GetEdition() const{ return m_edition; }
89 
96  inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
97 
104  inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; }
105 
112  inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); }
113 
120  inline NetworkFabricAttributes& WithEdition(const Edition& value) { SetEdition(value); return *this;}
121 
128  inline NetworkFabricAttributes& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;}
129 
130  private:
131 
132  Aws::String m_orderingServiceEndpoint;
133  bool m_orderingServiceEndpointHasBeenSet;
134 
135  Edition m_edition;
136  bool m_editionHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace ManagedBlockchain
141 } // namespace Aws
Aws::ManagedBlockchain::Model::Edition
Edition
Definition: Edition.h:17
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::WithOrderingServiceEndpoint
NetworkFabricAttributes & WithOrderingServiceEndpoint(const char *value)
Definition: NetworkFabricAttributes.h:79
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::SetEdition
void SetEdition(const Edition &value)
Definition: NetworkFabricAttributes.h:104
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::GetEdition
const Edition & GetEdition() const
Definition: NetworkFabricAttributes.h:88
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::NetworkFabricAttributes
NetworkFabricAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::EditionHasBeenSet
bool EditionHasBeenSet() const
Definition: NetworkFabricAttributes.h:96
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::NetworkFabricAttributes
NetworkFabricAttributes()
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::OrderingServiceEndpointHasBeenSet
bool OrderingServiceEndpointHasBeenSet() const
Definition: NetworkFabricAttributes.h:49
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::WithOrderingServiceEndpoint
NetworkFabricAttributes & WithOrderingServiceEndpoint(const Aws::String &value)
Definition: NetworkFabricAttributes.h:69
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::WithEdition
NetworkFabricAttributes & WithEdition(const Edition &value)
Definition: NetworkFabricAttributes.h:120
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::WithEdition
NetworkFabricAttributes & WithEdition(Edition &&value)
Definition: NetworkFabricAttributes.h:128
Aws::ManagedBlockchain::Model::NetworkFabricAttributes
Definition: NetworkFabricAttributes.h:33
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::WithOrderingServiceEndpoint
NetworkFabricAttributes & WithOrderingServiceEndpoint(Aws::String &&value)
Definition: NetworkFabricAttributes.h:74
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::SetOrderingServiceEndpoint
void SetOrderingServiceEndpoint(const char *value)
Definition: NetworkFabricAttributes.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::SetEdition
void SetEdition(Edition &&value)
Definition: NetworkFabricAttributes.h:112
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::operator=
NetworkFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API
#define AWS_MANAGEDBLOCKCHAIN_API
Definition: ManagedBlockchain_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::SetOrderingServiceEndpoint
void SetOrderingServiceEndpoint(Aws::String &&value)
Definition: NetworkFabricAttributes.h:59
ManagedBlockchain_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::SetOrderingServiceEndpoint
void SetOrderingServiceEndpoint(const Aws::String &value)
Definition: NetworkFabricAttributes.h:54
Aws::ManagedBlockchain::Model::NetworkFabricAttributes::GetOrderingServiceEndpoint
const Aws::String & GetOrderingServiceEndpoint() const
Definition: NetworkFabricAttributes.h:44
Edition.h