AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeFabricAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ManagedBlockchain
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes();
36 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetPeerEndpoint() const{ return m_peerEndpoint; }
47 inline bool PeerEndpointHasBeenSet() const { return m_peerEndpointHasBeenSet; }
48 inline void SetPeerEndpoint(const Aws::String& value) { m_peerEndpointHasBeenSet = true; m_peerEndpoint = value; }
49 inline void SetPeerEndpoint(Aws::String&& value) { m_peerEndpointHasBeenSet = true; m_peerEndpoint = std::move(value); }
50 inline void SetPeerEndpoint(const char* value) { m_peerEndpointHasBeenSet = true; m_peerEndpoint.assign(value); }
51 inline NodeFabricAttributes& WithPeerEndpoint(const Aws::String& value) { SetPeerEndpoint(value); return *this;}
52 inline NodeFabricAttributes& WithPeerEndpoint(Aws::String&& value) { SetPeerEndpoint(std::move(value)); return *this;}
53 inline NodeFabricAttributes& WithPeerEndpoint(const char* value) { SetPeerEndpoint(value); return *this;}
55
57
61 inline const Aws::String& GetPeerEventEndpoint() const{ return m_peerEventEndpoint; }
62 inline bool PeerEventEndpointHasBeenSet() const { return m_peerEventEndpointHasBeenSet; }
63 inline void SetPeerEventEndpoint(const Aws::String& value) { m_peerEventEndpointHasBeenSet = true; m_peerEventEndpoint = value; }
64 inline void SetPeerEventEndpoint(Aws::String&& value) { m_peerEventEndpointHasBeenSet = true; m_peerEventEndpoint = std::move(value); }
65 inline void SetPeerEventEndpoint(const char* value) { m_peerEventEndpointHasBeenSet = true; m_peerEventEndpoint.assign(value); }
66 inline NodeFabricAttributes& WithPeerEventEndpoint(const Aws::String& value) { SetPeerEventEndpoint(value); return *this;}
67 inline NodeFabricAttributes& WithPeerEventEndpoint(Aws::String&& value) { SetPeerEventEndpoint(std::move(value)); return *this;}
68 inline NodeFabricAttributes& WithPeerEventEndpoint(const char* value) { SetPeerEventEndpoint(value); return *this;}
70 private:
71
72 Aws::String m_peerEndpoint;
73 bool m_peerEndpointHasBeenSet = false;
74
75 Aws::String m_peerEventEndpoint;
76 bool m_peerEventEndpointHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ManagedBlockchain
81} // namespace Aws
NodeFabricAttributes & WithPeerEndpoint(const char *value)
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFabricAttributes & WithPeerEventEndpoint(Aws::String &&value)
NodeFabricAttributes & WithPeerEndpoint(const Aws::String &value)
NodeFabricAttributes & WithPeerEventEndpoint(const Aws::String &value)
NodeFabricAttributes & WithPeerEndpoint(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NodeFabricAttributes & WithPeerEventEndpoint(const char *value)
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue