AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NetworkRouteDestination.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_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 NetworkManager
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NETWORKMANAGER_API NetworkRouteDestination() = default;
35 AWS_NETWORKMANAGER_API NetworkRouteDestination(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCoreNetworkAttachmentId() const { return m_coreNetworkAttachmentId; }
45 inline bool CoreNetworkAttachmentIdHasBeenSet() const { return m_coreNetworkAttachmentIdHasBeenSet; }
46 template<typename CoreNetworkAttachmentIdT = Aws::String>
47 void SetCoreNetworkAttachmentId(CoreNetworkAttachmentIdT&& value) { m_coreNetworkAttachmentIdHasBeenSet = true; m_coreNetworkAttachmentId = std::forward<CoreNetworkAttachmentIdT>(value); }
48 template<typename CoreNetworkAttachmentIdT = Aws::String>
49 NetworkRouteDestination& WithCoreNetworkAttachmentId(CoreNetworkAttachmentIdT&& value) { SetCoreNetworkAttachmentId(std::forward<CoreNetworkAttachmentIdT>(value)); return *this;}
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) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::forward<TransitGatewayAttachmentIdT>(value); }
60 template<typename TransitGatewayAttachmentIdT = Aws::String>
61 NetworkRouteDestination& WithTransitGatewayAttachmentId(TransitGatewayAttachmentIdT&& value) { SetTransitGatewayAttachmentId(std::forward<TransitGatewayAttachmentIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetSegmentName() const { return m_segmentName; }
69 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
70 template<typename SegmentNameT = Aws::String>
71 void SetSegmentName(SegmentNameT&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::forward<SegmentNameT>(value); }
72 template<typename SegmentNameT = Aws::String>
73 NetworkRouteDestination& WithSegmentName(SegmentNameT&& value) { SetSegmentName(std::forward<SegmentNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetNetworkFunctionGroupName() const { return m_networkFunctionGroupName; }
81 inline bool NetworkFunctionGroupNameHasBeenSet() const { return m_networkFunctionGroupNameHasBeenSet; }
82 template<typename NetworkFunctionGroupNameT = Aws::String>
83 void SetNetworkFunctionGroupName(NetworkFunctionGroupNameT&& value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName = std::forward<NetworkFunctionGroupNameT>(value); }
84 template<typename NetworkFunctionGroupNameT = Aws::String>
85 NetworkRouteDestination& WithNetworkFunctionGroupName(NetworkFunctionGroupNameT&& value) { SetNetworkFunctionGroupName(std::forward<NetworkFunctionGroupNameT>(value)); return *this;}
87
89
92 inline const Aws::String& GetEdgeLocation() const { return m_edgeLocation; }
93 inline bool EdgeLocationHasBeenSet() const { return m_edgeLocationHasBeenSet; }
94 template<typename EdgeLocationT = Aws::String>
95 void SetEdgeLocation(EdgeLocationT&& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = std::forward<EdgeLocationT>(value); }
96 template<typename EdgeLocationT = Aws::String>
97 NetworkRouteDestination& WithEdgeLocation(EdgeLocationT&& value) { SetEdgeLocation(std::forward<EdgeLocationT>(value)); return *this;}
99
101
104 inline const Aws::String& GetResourceType() const { return m_resourceType; }
105 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
106 template<typename ResourceTypeT = Aws::String>
107 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::forward<ResourceTypeT>(value); }
108 template<typename ResourceTypeT = Aws::String>
109 NetworkRouteDestination& WithResourceType(ResourceTypeT&& value) { SetResourceType(std::forward<ResourceTypeT>(value)); return *this;}
111
113
116 inline const Aws::String& GetResourceId() const { return m_resourceId; }
117 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
118 template<typename ResourceIdT = Aws::String>
119 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
120 template<typename ResourceIdT = Aws::String>
121 NetworkRouteDestination& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_coreNetworkAttachmentId;
126 bool m_coreNetworkAttachmentIdHasBeenSet = false;
127
128 Aws::String m_transitGatewayAttachmentId;
129 bool m_transitGatewayAttachmentIdHasBeenSet = false;
130
131 Aws::String m_segmentName;
132 bool m_segmentNameHasBeenSet = false;
133
134 Aws::String m_networkFunctionGroupName;
135 bool m_networkFunctionGroupNameHasBeenSet = false;
136
137 Aws::String m_edgeLocation;
138 bool m_edgeLocationHasBeenSet = false;
139
140 Aws::String m_resourceType;
141 bool m_resourceTypeHasBeenSet = false;
142
143 Aws::String m_resourceId;
144 bool m_resourceIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace NetworkManager
149} // 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