AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCoreNetworkAttachmentId(const Aws::String& value) { m_coreNetworkAttachmentIdHasBeenSet = true; m_coreNetworkAttachmentId = value; }
47 inline void SetCoreNetworkAttachmentId(Aws::String&& value) { m_coreNetworkAttachmentIdHasBeenSet = true; m_coreNetworkAttachmentId = std::move(value); }
48 inline void SetCoreNetworkAttachmentId(const char* value) { m_coreNetworkAttachmentIdHasBeenSet = true; m_coreNetworkAttachmentId.assign(value); }
51 inline NetworkRouteDestination& WithCoreNetworkAttachmentId(const char* value) { SetCoreNetworkAttachmentId(value); return *this;}
53
55
58 inline const Aws::String& GetTransitGatewayAttachmentId() const{ return m_transitGatewayAttachmentId; }
59 inline bool TransitGatewayAttachmentIdHasBeenSet() const { return m_transitGatewayAttachmentIdHasBeenSet; }
60 inline void SetTransitGatewayAttachmentId(const Aws::String& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = value; }
61 inline void SetTransitGatewayAttachmentId(Aws::String&& value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId = std::move(value); }
62 inline void SetTransitGatewayAttachmentId(const char* value) { m_transitGatewayAttachmentIdHasBeenSet = true; m_transitGatewayAttachmentId.assign(value); }
67
69
72 inline const Aws::String& GetSegmentName() const{ return m_segmentName; }
73 inline bool SegmentNameHasBeenSet() const { return m_segmentNameHasBeenSet; }
74 inline void SetSegmentName(const Aws::String& value) { m_segmentNameHasBeenSet = true; m_segmentName = value; }
75 inline void SetSegmentName(Aws::String&& value) { m_segmentNameHasBeenSet = true; m_segmentName = std::move(value); }
76 inline void SetSegmentName(const char* value) { m_segmentNameHasBeenSet = true; m_segmentName.assign(value); }
77 inline NetworkRouteDestination& WithSegmentName(const Aws::String& value) { SetSegmentName(value); return *this;}
78 inline NetworkRouteDestination& WithSegmentName(Aws::String&& value) { SetSegmentName(std::move(value)); return *this;}
79 inline NetworkRouteDestination& WithSegmentName(const char* value) { SetSegmentName(value); return *this;}
81
83
86 inline const Aws::String& GetNetworkFunctionGroupName() const{ return m_networkFunctionGroupName; }
87 inline bool NetworkFunctionGroupNameHasBeenSet() const { return m_networkFunctionGroupNameHasBeenSet; }
88 inline void SetNetworkFunctionGroupName(const Aws::String& value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName = value; }
89 inline void SetNetworkFunctionGroupName(Aws::String&& value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName = std::move(value); }
90 inline void SetNetworkFunctionGroupName(const char* value) { m_networkFunctionGroupNameHasBeenSet = true; m_networkFunctionGroupName.assign(value); }
93 inline NetworkRouteDestination& WithNetworkFunctionGroupName(const char* value) { SetNetworkFunctionGroupName(value); return *this;}
95
97
100 inline const Aws::String& GetEdgeLocation() const{ return m_edgeLocation; }
101 inline bool EdgeLocationHasBeenSet() const { return m_edgeLocationHasBeenSet; }
102 inline void SetEdgeLocation(const Aws::String& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = value; }
103 inline void SetEdgeLocation(Aws::String&& value) { m_edgeLocationHasBeenSet = true; m_edgeLocation = std::move(value); }
104 inline void SetEdgeLocation(const char* value) { m_edgeLocationHasBeenSet = true; m_edgeLocation.assign(value); }
105 inline NetworkRouteDestination& WithEdgeLocation(const Aws::String& value) { SetEdgeLocation(value); return *this;}
106 inline NetworkRouteDestination& WithEdgeLocation(Aws::String&& value) { SetEdgeLocation(std::move(value)); return *this;}
107 inline NetworkRouteDestination& WithEdgeLocation(const char* value) { SetEdgeLocation(value); return *this;}
109
111
114 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
115 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
116 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
117 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
118 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
119 inline NetworkRouteDestination& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
120 inline NetworkRouteDestination& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
121 inline NetworkRouteDestination& WithResourceType(const char* value) { SetResourceType(value); return *this;}
123
125
128 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
129 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
130 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
131 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
132 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
133 inline NetworkRouteDestination& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
134 inline NetworkRouteDestination& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
135 inline NetworkRouteDestination& WithResourceId(const char* value) { SetResourceId(value); return *this;}
137 private:
138
139 Aws::String m_coreNetworkAttachmentId;
140 bool m_coreNetworkAttachmentIdHasBeenSet = false;
141
142 Aws::String m_transitGatewayAttachmentId;
143 bool m_transitGatewayAttachmentIdHasBeenSet = false;
144
145 Aws::String m_segmentName;
146 bool m_segmentNameHasBeenSet = false;
147
148 Aws::String m_networkFunctionGroupName;
149 bool m_networkFunctionGroupNameHasBeenSet = false;
150
151 Aws::String m_edgeLocation;
152 bool m_edgeLocationHasBeenSet = false;
153
154 Aws::String m_resourceType;
155 bool m_resourceTypeHasBeenSet = false;
156
157 Aws::String m_resourceId;
158 bool m_resourceIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace NetworkManager
163} // namespace Aws
AWS_NETWORKMANAGER_API NetworkRouteDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkRouteDestination & WithTransitGatewayAttachmentId(Aws::String &&value)
NetworkRouteDestination & WithEdgeLocation(Aws::String &&value)
NetworkRouteDestination & WithCoreNetworkAttachmentId(const char *value)
NetworkRouteDestination & WithResourceType(Aws::String &&value)
NetworkRouteDestination & WithResourceId(const char *value)
NetworkRouteDestination & WithNetworkFunctionGroupName(const Aws::String &value)
NetworkRouteDestination & WithTransitGatewayAttachmentId(const Aws::String &value)
NetworkRouteDestination & WithResourceId(const Aws::String &value)
NetworkRouteDestination & WithResourceType(const char *value)
NetworkRouteDestination & WithSegmentName(const char *value)
AWS_NETWORKMANAGER_API NetworkRouteDestination(Aws::Utils::Json::JsonView jsonValue)
NetworkRouteDestination & WithCoreNetworkAttachmentId(const Aws::String &value)
NetworkRouteDestination & WithEdgeLocation(const Aws::String &value)
NetworkRouteDestination & WithCoreNetworkAttachmentId(Aws::String &&value)
NetworkRouteDestination & WithNetworkFunctionGroupName(const char *value)
NetworkRouteDestination & WithResourceType(const Aws::String &value)
NetworkRouteDestination & WithSegmentName(Aws::String &&value)
NetworkRouteDestination & WithSegmentName(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkRouteDestination & WithEdgeLocation(const char *value)
NetworkRouteDestination & WithTransitGatewayAttachmentId(const char *value)
NetworkRouteDestination & WithNetworkFunctionGroupName(Aws::String &&value)
NetworkRouteDestination & WithResourceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue