AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
TargetNetworkUpdate.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/TargetNetworkTopology.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace mgn {
21namespace Model {
22
30 public:
31 AWS_MGN_API TargetNetworkUpdate() = default;
35
37
40 inline TargetNetworkTopology GetTopology() const { return m_topology; }
41 inline bool TopologyHasBeenSet() const { return m_topologyHasBeenSet; }
43 m_topologyHasBeenSet = true;
44 m_topology = value;
45 }
47 SetTopology(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetInboundCidr() const { return m_inboundCidr; }
57 inline bool InboundCidrHasBeenSet() const { return m_inboundCidrHasBeenSet; }
58 template <typename InboundCidrT = Aws::String>
59 void SetInboundCidr(InboundCidrT&& value) {
60 m_inboundCidrHasBeenSet = true;
61 m_inboundCidr = std::forward<InboundCidrT>(value);
62 }
63 template <typename InboundCidrT = Aws::String>
64 TargetNetworkUpdate& WithInboundCidr(InboundCidrT&& value) {
65 SetInboundCidr(std::forward<InboundCidrT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOutboundCidr() const { return m_outboundCidr; }
75 inline bool OutboundCidrHasBeenSet() const { return m_outboundCidrHasBeenSet; }
76 template <typename OutboundCidrT = Aws::String>
77 void SetOutboundCidr(OutboundCidrT&& value) {
78 m_outboundCidrHasBeenSet = true;
79 m_outboundCidr = std::forward<OutboundCidrT>(value);
80 }
81 template <typename OutboundCidrT = Aws::String>
82 TargetNetworkUpdate& WithOutboundCidr(OutboundCidrT&& value) {
83 SetOutboundCidr(std::forward<OutboundCidrT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetInspectionCidr() const { return m_inspectionCidr; }
93 inline bool InspectionCidrHasBeenSet() const { return m_inspectionCidrHasBeenSet; }
94 template <typename InspectionCidrT = Aws::String>
95 void SetInspectionCidr(InspectionCidrT&& value) {
96 m_inspectionCidrHasBeenSet = true;
97 m_inspectionCidr = std::forward<InspectionCidrT>(value);
98 }
99 template <typename InspectionCidrT = Aws::String>
100 TargetNetworkUpdate& WithInspectionCidr(InspectionCidrT&& value) {
101 SetInspectionCidr(std::forward<InspectionCidrT>(value));
102 return *this;
103 }
105 private:
107
108 Aws::String m_inboundCidr;
109
110 Aws::String m_outboundCidr;
111
112 Aws::String m_inspectionCidr;
113 bool m_topologyHasBeenSet = false;
114 bool m_inboundCidrHasBeenSet = false;
115 bool m_outboundCidrHasBeenSet = false;
116 bool m_inspectionCidrHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace mgn
121} // namespace Aws
void SetInspectionCidr(InspectionCidrT &&value)
const Aws::String & GetOutboundCidr() const
TargetNetworkTopology GetTopology() const
AWS_MGN_API TargetNetworkUpdate()=default
void SetOutboundCidr(OutboundCidrT &&value)
const Aws::String & GetInboundCidr() const
AWS_MGN_API TargetNetworkUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetInboundCidr(InboundCidrT &&value)
TargetNetworkUpdate & WithOutboundCidr(OutboundCidrT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInspectionCidr() const
void SetTopology(TargetNetworkTopology value)
TargetNetworkUpdate & WithInspectionCidr(InspectionCidrT &&value)
TargetNetworkUpdate & WithInboundCidr(InboundCidrT &&value)
TargetNetworkUpdate & WithTopology(TargetNetworkTopology value)
AWS_MGN_API TargetNetworkUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue