AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NodeFabricAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ManagedBlockchain {
20namespace Model {
21
29 public:
30 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes() = default;
31 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetPeerEndpoint() const { return m_peerEndpoint; }
41 inline bool PeerEndpointHasBeenSet() const { return m_peerEndpointHasBeenSet; }
42 template <typename PeerEndpointT = Aws::String>
43 void SetPeerEndpoint(PeerEndpointT&& value) {
44 m_peerEndpointHasBeenSet = true;
45 m_peerEndpoint = std::forward<PeerEndpointT>(value);
46 }
47 template <typename PeerEndpointT = Aws::String>
48 NodeFabricAttributes& WithPeerEndpoint(PeerEndpointT&& value) {
49 SetPeerEndpoint(std::forward<PeerEndpointT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetPeerEventEndpoint() const { return m_peerEventEndpoint; }
60 inline bool PeerEventEndpointHasBeenSet() const { return m_peerEventEndpointHasBeenSet; }
61 template <typename PeerEventEndpointT = Aws::String>
62 void SetPeerEventEndpoint(PeerEventEndpointT&& value) {
63 m_peerEventEndpointHasBeenSet = true;
64 m_peerEventEndpoint = std::forward<PeerEventEndpointT>(value);
65 }
66 template <typename PeerEventEndpointT = Aws::String>
67 NodeFabricAttributes& WithPeerEventEndpoint(PeerEventEndpointT&& value) {
68 SetPeerEventEndpoint(std::forward<PeerEventEndpointT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_peerEndpoint;
74
75 Aws::String m_peerEventEndpoint;
76 bool m_peerEndpointHasBeenSet = false;
77 bool m_peerEventEndpointHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ManagedBlockchain
82} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes()=default
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFabricAttributes & WithPeerEndpoint(PeerEndpointT &&value)
NodeFabricAttributes & WithPeerEventEndpoint(PeerEventEndpointT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
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