AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGlobalNetworkId(const Aws::String& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = value; }
51 inline void SetGlobalNetworkId(Aws::String&& value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId = std::move(value); }
52 inline void SetGlobalNetworkId(const char* value) { m_globalNetworkIdHasBeenSet = true; m_globalNetworkId.assign(value); }
53 inline RouteAnalysis& WithGlobalNetworkId(const Aws::String& value) { SetGlobalNetworkId(value); return *this;}
54 inline RouteAnalysis& WithGlobalNetworkId(Aws::String&& value) { SetGlobalNetworkId(std::move(value)); return *this;}
55 inline RouteAnalysis& WithGlobalNetworkId(const char* value) { SetGlobalNetworkId(value); return *this;}
57
59
62 inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; }
63 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
64 inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; }
65 inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); }
66 inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); }
67 inline RouteAnalysis& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;}
68 inline RouteAnalysis& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;}
69 inline RouteAnalysis& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;}
71
73
76 inline const Aws::String& GetRouteAnalysisId() const{ return m_routeAnalysisId; }
77 inline bool RouteAnalysisIdHasBeenSet() const { return m_routeAnalysisIdHasBeenSet; }
78 inline void SetRouteAnalysisId(const Aws::String& value) { m_routeAnalysisIdHasBeenSet = true; m_routeAnalysisId = value; }
79 inline void SetRouteAnalysisId(Aws::String&& value) { m_routeAnalysisIdHasBeenSet = true; m_routeAnalysisId = std::move(value); }
80 inline void SetRouteAnalysisId(const char* value) { m_routeAnalysisIdHasBeenSet = true; m_routeAnalysisId.assign(value); }
81 inline RouteAnalysis& WithRouteAnalysisId(const Aws::String& value) { SetRouteAnalysisId(value); return *this;}
82 inline RouteAnalysis& WithRouteAnalysisId(Aws::String&& value) { SetRouteAnalysisId(std::move(value)); return *this;}
83 inline RouteAnalysis& WithRouteAnalysisId(const char* value) { SetRouteAnalysisId(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
91 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
92 inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
93 inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
94 inline RouteAnalysis& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
95 inline RouteAnalysis& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
97
99
102 inline const RouteAnalysisStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const RouteAnalysisStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(RouteAnalysisStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline RouteAnalysis& WithStatus(const RouteAnalysisStatus& value) { SetStatus(value); return *this;}
107 inline RouteAnalysis& WithStatus(RouteAnalysisStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const RouteAnalysisEndpointOptions& GetSource() const{ return m_source; }
115 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
116 inline void SetSource(const RouteAnalysisEndpointOptions& value) { m_sourceHasBeenSet = true; m_source = value; }
117 inline void SetSource(RouteAnalysisEndpointOptions&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
118 inline RouteAnalysis& WithSource(const RouteAnalysisEndpointOptions& value) { SetSource(value); return *this;}
119 inline RouteAnalysis& WithSource(RouteAnalysisEndpointOptions&& value) { SetSource(std::move(value)); return *this;}
121
123
126 inline const RouteAnalysisEndpointOptions& GetDestination() const{ return m_destination; }
127 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
128 inline void SetDestination(const RouteAnalysisEndpointOptions& value) { m_destinationHasBeenSet = true; m_destination = value; }
129 inline void SetDestination(RouteAnalysisEndpointOptions&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
130 inline RouteAnalysis& WithDestination(const RouteAnalysisEndpointOptions& value) { SetDestination(value); return *this;}
131 inline RouteAnalysis& WithDestination(RouteAnalysisEndpointOptions&& value) { SetDestination(std::move(value)); return *this;}
133
135
139 inline bool GetIncludeReturnPath() const{ return m_includeReturnPath; }
140 inline bool IncludeReturnPathHasBeenSet() const { return m_includeReturnPathHasBeenSet; }
141 inline void SetIncludeReturnPath(bool value) { m_includeReturnPathHasBeenSet = true; m_includeReturnPath = value; }
142 inline RouteAnalysis& WithIncludeReturnPath(bool value) { SetIncludeReturnPath(value); return *this;}
144
146
150 inline bool GetUseMiddleboxes() const{ return m_useMiddleboxes; }
151 inline bool UseMiddleboxesHasBeenSet() const { return m_useMiddleboxesHasBeenSet; }
152 inline void SetUseMiddleboxes(bool value) { m_useMiddleboxesHasBeenSet = true; m_useMiddleboxes = value; }
153 inline RouteAnalysis& WithUseMiddleboxes(bool value) { SetUseMiddleboxes(value); return *this;}
155
157
160 inline const RouteAnalysisPath& GetForwardPath() const{ return m_forwardPath; }
161 inline bool ForwardPathHasBeenSet() const { return m_forwardPathHasBeenSet; }
162 inline void SetForwardPath(const RouteAnalysisPath& value) { m_forwardPathHasBeenSet = true; m_forwardPath = value; }
163 inline void SetForwardPath(RouteAnalysisPath&& value) { m_forwardPathHasBeenSet = true; m_forwardPath = std::move(value); }
164 inline RouteAnalysis& WithForwardPath(const RouteAnalysisPath& value) { SetForwardPath(value); return *this;}
165 inline RouteAnalysis& WithForwardPath(RouteAnalysisPath&& value) { SetForwardPath(std::move(value)); return *this;}
167
169
172 inline const RouteAnalysisPath& GetReturnPath() const{ return m_returnPath; }
173 inline bool ReturnPathHasBeenSet() const { return m_returnPathHasBeenSet; }
174 inline void SetReturnPath(const RouteAnalysisPath& value) { m_returnPathHasBeenSet = true; m_returnPath = value; }
175 inline void SetReturnPath(RouteAnalysisPath&& value) { m_returnPathHasBeenSet = true; m_returnPath = std::move(value); }
176 inline RouteAnalysis& WithReturnPath(const RouteAnalysisPath& value) { SetReturnPath(value); return *this;}
177 inline RouteAnalysis& WithReturnPath(RouteAnalysisPath&& value) { SetReturnPath(std::move(value)); return *this;}
179 private:
180
181 Aws::String m_globalNetworkId;
182 bool m_globalNetworkIdHasBeenSet = false;
183
184 Aws::String m_ownerAccountId;
185 bool m_ownerAccountIdHasBeenSet = false;
186
187 Aws::String m_routeAnalysisId;
188 bool m_routeAnalysisIdHasBeenSet = false;
189
190 Aws::Utils::DateTime m_startTimestamp;
191 bool m_startTimestampHasBeenSet = false;
192
193 RouteAnalysisStatus m_status;
194 bool m_statusHasBeenSet = false;
195
197 bool m_sourceHasBeenSet = false;
198
199 RouteAnalysisEndpointOptions m_destination;
200 bool m_destinationHasBeenSet = false;
201
202 bool m_includeReturnPath;
203 bool m_includeReturnPathHasBeenSet = false;
204
205 bool m_useMiddleboxes;
206 bool m_useMiddleboxesHasBeenSet = false;
207
208 RouteAnalysisPath m_forwardPath;
209 bool m_forwardPathHasBeenSet = false;
210
211 RouteAnalysisPath m_returnPath;
212 bool m_returnPathHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace NetworkManager
217} // namespace Aws
void SetOwnerAccountId(const char *value)
RouteAnalysis & WithDestination(const RouteAnalysisEndpointOptions &value)
const Aws::String & GetRouteAnalysisId() const
AWS_NETWORKMANAGER_API RouteAnalysis(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysis & WithUseMiddleboxes(bool value)
RouteAnalysis & WithDestination(RouteAnalysisEndpointOptions &&value)
RouteAnalysis & WithSource(const RouteAnalysisEndpointOptions &value)
void SetStatus(const RouteAnalysisStatus &value)
RouteAnalysis & WithOwnerAccountId(Aws::String &&value)
RouteAnalysis & WithStartTimestamp(const Aws::Utils::DateTime &value)
void SetOwnerAccountId(Aws::String &&value)
const Aws::String & GetOwnerAccountId() const
void SetSource(RouteAnalysisEndpointOptions &&value)
RouteAnalysis & WithForwardPath(const RouteAnalysisPath &value)
AWS_NETWORKMANAGER_API RouteAnalysis & operator=(Aws::Utils::Json::JsonView jsonValue)
RouteAnalysis & WithStatus(RouteAnalysisStatus &&value)
void SetGlobalNetworkId(const Aws::String &value)
void SetSource(const RouteAnalysisEndpointOptions &value)
RouteAnalysis & WithGlobalNetworkId(Aws::String &&value)
void SetStartTimestamp(const Aws::Utils::DateTime &value)
const RouteAnalysisPath & GetForwardPath() const
RouteAnalysis & WithReturnPath(const RouteAnalysisPath &value)
RouteAnalysis & WithReturnPath(RouteAnalysisPath &&value)
AWS_NETWORKMANAGER_API RouteAnalysis()
RouteAnalysis & WithGlobalNetworkId(const char *value)
const RouteAnalysisStatus & GetStatus() const
void SetGlobalNetworkId(Aws::String &&value)
void SetForwardPath(RouteAnalysisPath &&value)
void SetRouteAnalysisId(const char *value)
void SetDestination(RouteAnalysisEndpointOptions &&value)
const Aws::String & GetGlobalNetworkId() const
void SetReturnPath(const RouteAnalysisPath &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RouteAnalysis & WithRouteAnalysisId(const Aws::String &value)
void SetForwardPath(const RouteAnalysisPath &value)
void SetRouteAnalysisId(Aws::String &&value)
const RouteAnalysisEndpointOptions & GetDestination() const
RouteAnalysis & WithOwnerAccountId(const Aws::String &value)
RouteAnalysis & WithSource(RouteAnalysisEndpointOptions &&value)
RouteAnalysis & WithStartTimestamp(Aws::Utils::DateTime &&value)
RouteAnalysis & WithIncludeReturnPath(bool value)
void SetDestination(const RouteAnalysisEndpointOptions &value)
RouteAnalysis & WithRouteAnalysisId(const char *value)
const RouteAnalysisEndpointOptions & GetSource() const
void SetStatus(RouteAnalysisStatus &&value)
void SetOwnerAccountId(const Aws::String &value)
RouteAnalysis & WithStatus(const RouteAnalysisStatus &value)
RouteAnalysis & WithForwardPath(RouteAnalysisPath &&value)
void SetStartTimestamp(Aws::Utils::DateTime &&value)
const RouteAnalysisPath & GetReturnPath() const
RouteAnalysis & WithRouteAnalysisId(Aws::String &&value)
void SetRouteAnalysisId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTimestamp() const
RouteAnalysis & WithOwnerAccountId(const char *value)
void SetGlobalNetworkId(const char *value)
RouteAnalysis & WithGlobalNetworkId(const Aws::String &value)
void SetReturnPath(RouteAnalysisPath &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue