AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
NetworkRouteDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/networkmanager/NetworkManager_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NetworkManager {
20namespace Model {
21
28 public:
29 AWS_NETWORKMANAGER_API NetworkRouteDestination() = default;
30 AWS_NETWORKMANAGER_API NetworkRouteDestination(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCoreNetworkAttachmentId() const { return m_coreNetworkAttachmentId; }
39 inline bool CoreNetworkAttachmentIdHasBeenSet() const { return m_coreNetworkAttachmentIdHasBeenSet; }
40 template <typename CoreNetworkAttachmentIdT = Aws::String>
41 void SetCoreNetworkAttachmentId(CoreNetworkAttachmentIdT&& value) {
42 m_coreNetworkAttachmentIdHasBeenSet = true;
43 m_coreNetworkAttachmentId = std::forward<CoreNetworkAttachmentIdT>(value);
44 }
45 template <typename CoreNetworkAttachmentIdT = Aws::String>
46 NetworkRouteDestination& WithCoreNetworkAttachmentId(CoreNetworkAttachmentIdT&& value) {
47 SetCoreNetworkAttachmentId(std::forward<CoreNetworkAttachmentIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTransitGatewayAttachmentId() const { return m_transitGatewayAttachmentId; }
57 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
58 template <typename TransitGatewayAttachmentIdT = Aws::String>
59 void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) {
60 m_transitGatewayAttachmentIdHasBeenSet = true;
61 m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value);
62 }
63 template <typename TransitGatewayAttachmentIdT = Aws::String>
64 NetworkRouteDestination& WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) {
65 SetTransitGatewayAttachmentId(std::forward<TransitGatewayAttachmentIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetSegmentName() const { return m_segmentName; }
75 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
76 template <typename SegmentNameT = Aws::String>
77 void SetSegmentName(SegmentNameT&& value) {
78 m_segmentNameHasBeenSet = true;
79 m_segmentName = std::forward<SegmentNameT>(value);
80 }
81 template <typename SegmentNameT = Aws::String>
83 SetSegmentName(std::forward<SegmentNameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetNetworkFunctionGroupName() const { return m_networkFunctionGroupName; }
93 inline bool NetworkFunctionGroupNameHasBeenSet() const { return m_networkFunctionGroupNameHasBeenSet; }
94 template <typename NetworkFunctionGroupNameT = Aws::String>
95 void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT&& value) {
96 m_networkFunctionGroupNameHasBeenSet = true;
97 m_networkFunctionGroupName = std::forward<NetworkFunctionGroupNameT>(value);
98 }
99 template <typename NetworkFunctionGroupNameT = Aws::String>
100 NetworkRouteDestination& WithNetworkFunctionGroupName(NetworkFunctionGroupNameT&& value) {
101 SetNetworkFunctionGroupName(std::forward<NetworkFunctionGroupNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetEdgeLocation() const { return m_edgeLocation; }
111 inline bool EdgeLocationHasBeenSet() const { return m_edgeLocationHasBeenSet; }
112 template <typename EdgeLocationT = Aws::String>
113 void SetEdgeLocation(EdgeLocationT&& value) {
114 m_edgeLocationHasBeenSet = true;
115 m_edgeLocation = std::forward<EdgeLocationT>(value);
116 }
117 template <typename EdgeLocationT = Aws::String>
119 SetEdgeLocation(std::forward<EdgeLocationT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetResourceType() const { return m_resourceType; }
129 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
130 template <typename ResourceTypeT = Aws::String>
131 void SetResourceType(ResourceTypeT&& value) {
132 m_resourceTypeHasBeenSet = true;
133 m_resourceType = std::forward<ResourceTypeT>(value);
134 }
135 template <typename ResourceTypeT = Aws::String>
137 SetResourceType(std::forward<ResourceTypeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetResourceId() const { return m_resourceId; }
147 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
148 template <typename ResourceIdT = Aws::String>
149 void SetResourceId(ResourceIdT&& value) {
150 m_resourceIdHasBeenSet = true;
151 m_resourceId = std::forward<ResourceIdT>(value);
152 }
153 template <typename ResourceIdT = Aws::String>
155 SetResourceId(std::forward<ResourceIdT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_coreNetworkAttachmentId;
161
162 Aws::String m_transitGatewayAttachmentId;
163
164 Aws::String m_segmentName;
165
166 Aws::String m_networkFunctionGroupName;
167
168 Aws::String m_edgeLocation;
169
170 Aws::String m_resourceType;
171
172 Aws::String m_resourceId;
173 bool m_coreNetworkAttachmentIdHasBeenSet = false;
174 bool m_transitGatewayAttachmentIdHasBeenSet = false;
175 bool m_segmentNameHasBeenSet = false;
176 bool m_networkFunctionGroupNameHasBeenSet = false;
177 bool m_edgeLocationHasBeenSet = false;
178 bool m_resourceTypeHasBeenSet = false;
179 bool m_resourceIdHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace NetworkManager
184} // namespace Aws
AWS_NETWORKMANAGER_API NetworkRouteDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkRouteDestination & WithSegmentName(SegmentNameT &&value)
NetworkRouteDestination & WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
NetworkRouteDestination & WithEdgeLocation(EdgeLocationT &&value)
NetworkRouteDestination & WithCoreNetworkAttachmentId(CoreNetworkAttachmentIdT &&value)
AWS_NETWORKMANAGER_API NetworkRouteDestination(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
NetworkRouteDestination & WithResourceId(ResourceIdT &&value)
void SetCoreNetworkAttachmentId(CoreNetworkAttachmentIdT &&value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkRouteDestination & WithResourceType(ResourceTypeT &&value)
void SetTransitGatewayAttachmentId(TransitGatewayAttachmentIdT &&value)
AWS_NETWORKMANAGER_API NetworkRouteDestination()=default
NetworkRouteDestination & WithNetworkFunctionGroupName(NetworkFunctionGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue