AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkFabricAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/Edition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ManagedBlockchain
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MANAGEDBLOCKCHAIN_API NetworkFabricAttributes();
36 AWS_MANAGEDBLOCKCHAIN_API NetworkFabricAttributes(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API NetworkFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetOrderingServiceEndpoint() const{ return m_orderingServiceEndpoint; }
46 inline bool OrderingServiceEndpointHasBeenSet() const { return m_orderingServiceEndpointHasBeenSet; }
47 inline void SetOrderingServiceEndpoint(const Aws::String& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = value; }
48 inline void SetOrderingServiceEndpoint(Aws::String&& value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint = std::move(value); }
49 inline void SetOrderingServiceEndpoint(const char* value) { m_orderingServiceEndpointHasBeenSet = true; m_orderingServiceEndpoint.assign(value); }
52 inline NetworkFabricAttributes& WithOrderingServiceEndpoint(const char* value) { SetOrderingServiceEndpoint(value); return *this;}
54
56
62 inline const Edition& GetEdition() const{ return m_edition; }
63 inline bool EditionHasBeenSet() const { return m_editionHasBeenSet; }
64 inline void SetEdition(const Edition& value) { m_editionHasBeenSet = true; m_edition = value; }
65 inline void SetEdition(Edition&& value) { m_editionHasBeenSet = true; m_edition = std::move(value); }
66 inline NetworkFabricAttributes& WithEdition(const Edition& value) { SetEdition(value); return *this;}
67 inline NetworkFabricAttributes& WithEdition(Edition&& value) { SetEdition(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_orderingServiceEndpoint;
72 bool m_orderingServiceEndpointHasBeenSet = false;
73
74 Edition m_edition;
75 bool m_editionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ManagedBlockchain
80} // namespace Aws
NetworkFabricAttributes & WithEdition(Edition &&value)
NetworkFabricAttributes & WithOrderingServiceEndpoint(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkFabricAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API NetworkFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkFabricAttributes & WithOrderingServiceEndpoint(const char *value)
NetworkFabricAttributes & WithEdition(const Edition &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkFabricAttributes & WithOrderingServiceEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue