AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RouteAnalysis.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/networkmanager/model/RouteAnalysisStatus.h>
11#include <aws/networkmanager/model/RouteAnalysisEndpointOptions.h>
12#include <aws/networkmanager/model/RouteAnalysisPath.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace NetworkManager
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_NETWORKMANAGER_API RouteAnalysis() = default;
39 AWS_NETWORKMANAGER_API RouteAnalysis(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NETWORKMANAGER_API RouteAnalysis& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetGlobalNetworkId() const { return m_globalNetworkId; }
49 inline bool GlobalNetworkIdHasBeenSet() const { return m_globalNetworkIdHasBeenSet; }
50 template<typename GlobalNetworkIdT = Aws::String>
51 void SetGlobalNetworkId(GlobalNetworkIdT&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::forward<GlobalNetworkIdT>(value); }
52 template<typename GlobalNetworkIdT = Aws::String>
53 RouteAnalysis& WithGlobalNetworkId(GlobalNetworkIdT&& value) { SetGlobalNetworkId(std::forward<GlobalNetworkIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
61 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
62 template<typename OwnerAccountIdT = Aws::String>
63 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
64 template<typename OwnerAccountIdT = Aws::String>
65 RouteAnalysis& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetRouteAnalysisId() const { return m_routeAnalysisId; }
73 inline bool RouteAnalysisIdHasBeenSet() const { return m_routeAnalysisIdHasBeenSet; }
74 template<typename RouteAnalysisIdT = Aws::String>
75 void SetRouteAnalysisId(RouteAnalysisIdT&& value) { m_routeAnalysisIdHasBeenSet = true; m_routeAnalysisId = std::forward<RouteAnalysisIdT>(value); }
76 template<typename RouteAnalysisIdT = Aws::String>
77 RouteAnalysis& WithRouteAnalysisId(RouteAnalysisIdT&& value) { SetRouteAnalysisId(std::forward<RouteAnalysisIdT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
85 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
86 template<typename StartTimestampT = Aws::Utils::DateTime>
87 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
88 template<typename StartTimestampT = Aws::Utils::DateTime>
89 RouteAnalysis& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
91
93
96 inline RouteAnalysisStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 inline void SetStatus(RouteAnalysisStatus value) { m_statusHasBeenSet = true; m_status = value; }
99 inline RouteAnalysis& WithStatus(RouteAnalysisStatus value) { SetStatus(value); return *this;}
101
103
106 inline const RouteAnalysisEndpointOptions& GetSource() const { return m_source; }
107 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
108 template<typename SourceT = RouteAnalysisEndpointOptions>
109 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
110 template<typename SourceT = RouteAnalysisEndpointOptions>
111 RouteAnalysis& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
113
115
118 inline const RouteAnalysisEndpointOptions& GetDestination() const { return m_destination; }
119 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
120 template<typename DestinationT = RouteAnalysisEndpointOptions>
121 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
122 template<typename DestinationT = RouteAnalysisEndpointOptions>
123 RouteAnalysis& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
125
127
131 inline bool GetIncludeReturnPath() const { return m_includeReturnPath; }
132 inline bool IncludeReturnPathHasBeenSet() const { return m_includeReturnPathHasBeenSet; }
133 inline void SetIncludeReturnPath(bool value) { m_includeReturnPathHasBeenSet = true; m_includeReturnPath = value; }
134 inline RouteAnalysis& WithIncludeReturnPath(bool value) { SetIncludeReturnPath(value); return *this;}
136
138
142 inline bool GetUseMiddleboxes() const { return m_useMiddleboxes; }
143 inline bool UseMiddleboxesHasBeenSet() const { return m_useMiddleboxesHasBeenSet; }
144 inline void SetUseMiddleboxes(bool value) { m_useMiddleboxesHasBeenSet = true; m_useMiddleboxes = value; }
145 inline RouteAnalysis& WithUseMiddleboxes(bool value) { SetUseMiddleboxes(value); return *this;}
147
149
152 inline const RouteAnalysisPath& GetForwardPath() const { return m_forwardPath; }
153 inline bool ForwardPathHasBeenSet() const { return m_forwardPathHasBeenSet; }
154 template<typename ForwardPathT = RouteAnalysisPath>
155 void SetForwardPath(ForwardPathT&& value) { m_forwardPathHasBeenSet = true; m_forwardPath = std::forward<ForwardPathT>(value); }
156 template<typename ForwardPathT = RouteAnalysisPath>
157 RouteAnalysis& WithForwardPath(ForwardPathT&& value) { SetForwardPath(std::forward<ForwardPathT>(value)); return *this;}
159
161
164 inline const RouteAnalysisPath& GetReturnPath() const { return m_returnPath; }
165 inline bool ReturnPathHasBeenSet() const { return m_returnPathHasBeenSet; }
166 template<typename ReturnPathT = RouteAnalysisPath>
167 void SetReturnPath(ReturnPathT&& value) { m_returnPathHasBeenSet = true; m_returnPath = std::forward<ReturnPathT>(value); }
168 template<typename ReturnPathT = RouteAnalysisPath>
169 RouteAnalysis& WithReturnPath(ReturnPathT&& value) { SetReturnPath(std::forward<ReturnPathT>(value)); return *this;}
171 private:
172
173 Aws::String m_globalNetworkId;
174 bool m_globalNetworkIdHasBeenSet = false;
175
176 Aws::String m_ownerAccountId;
177 bool m_ownerAccountIdHasBeenSet = false;
178
179 Aws::String m_routeAnalysisId;
180 bool m_routeAnalysisIdHasBeenSet = false;
181
182 Aws::Utils::DateTime m_startTimestamp{};
183 bool m_startTimestampHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
188 RouteAnalysisEndpointOptions m_source;
189 bool m_sourceHasBeenSet = false;
190
191 RouteAnalysisEndpointOptions m_destination;
192 bool m_destinationHasBeenSet = false;
193
194 bool m_includeReturnPath{false};
195 bool m_includeReturnPathHasBeenSet = false;
196
197 bool m_useMiddleboxes{false};
198 bool m_useMiddleboxesHasBeenSet = false;
199
200 RouteAnalysisPath m_forwardPath;
201 bool m_forwardPathHasBeenSet = false;
202
203 RouteAnalysisPath m_returnPath;
204 bool m_returnPathHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace NetworkManager
209} // namespace Aws
RouteAnalysis & WithOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetRouteAnalysisId() const
AWS_NETWORKMANAGER_API RouteAnalysis(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysis & WithUseMiddleboxes(bool value)
void SetDestination(DestinationT &&value)
const Aws::String & GetOwnerAccountId() const
void SetReturnPath(ReturnPathT &&value)
RouteAnalysis & WithSource(SourceT &&value)
RouteAnalysis & WithReturnPath(ReturnPathT &&value)
AWS_NETWORKMANAGER_API RouteAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysis & WithDestination(DestinationT &&value)
const RouteAnalysisPath & GetForwardPath() const
void SetRouteAnalysisId(RouteAnalysisIdT &&value)
RouteAnalysisStatus GetStatus() const
void SetGlobalNetworkId(GlobalNetworkIdT &&value)
RouteAnalysis & WithRouteAnalysisId(RouteAnalysisIdT &&value)
const Aws::String & GetGlobalNetworkId() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const RouteAnalysisEndpointOptions & GetDestination() const
RouteAnalysis & WithStatus(RouteAnalysisStatus value)
RouteAnalysis & WithIncludeReturnPath(bool value)
void SetForwardPath(ForwardPathT &&value)
const RouteAnalysisEndpointOptions & GetSource() const
RouteAnalysis & WithGlobalNetworkId(GlobalNetworkIdT &&value)
RouteAnalysis & WithForwardPath(ForwardPathT &&value)
void SetStatus(RouteAnalysisStatus value)
RouteAnalysis & WithStartTimestamp(StartTimestampT &&value)
AWS_NETWORKMANAGER_API RouteAnalysis()=default
void SetOwnerAccountId(OwnerAccountIdT &&value)
void SetStartTimestamp(StartTimestampT &&value)
const RouteAnalysisPath & GetReturnPath() const
const Aws::Utils::DateTime & GetStartTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue