AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetNetworkRoutesResult.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/networkmanager/model/CoreNetworkSegmentEdgeIdentifier.h>
10#include <aws/networkmanager/model/RouteTableType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/networkmanager/model/NetworkRoute.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace NetworkManager
29{
30namespace Model
31{
33 {
34 public:
35 AWS_NETWORKMANAGER_API GetNetworkRoutesResult();
38
39
41
44 inline const Aws::String& GetRouteTableArn() const{ return m_routeTableArn; }
45 inline void SetRouteTableArn(const Aws::String& value) { m_routeTableArn = value; }
46 inline void SetRouteTableArn(Aws::String&& value) { m_routeTableArn = std::move(value); }
47 inline void SetRouteTableArn(const char* value) { m_routeTableArn.assign(value); }
48 inline GetNetworkRoutesResult& WithRouteTableArn(const Aws::String& value) { SetRouteTableArn(value); return *this;}
49 inline GetNetworkRoutesResult& WithRouteTableArn(Aws::String&& value) { SetRouteTableArn(std::move(value)); return *this;}
50 inline GetNetworkRoutesResult& WithRouteTableArn(const char* value) { SetRouteTableArn(value); return *this;}
52
54
57 inline const CoreNetworkSegmentEdgeIdentifier& GetCoreNetworkSegmentEdge() const{ return m_coreNetworkSegmentEdge; }
58 inline void SetCoreNetworkSegmentEdge(const CoreNetworkSegmentEdgeIdentifier& value) { m_coreNetworkSegmentEdge = value; }
59 inline void SetCoreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier&& value) { m_coreNetworkSegmentEdge = std::move(value); }
63
65
68 inline const RouteTableType& GetRouteTableType() const{ return m_routeTableType; }
69 inline void SetRouteTableType(const RouteTableType& value) { m_routeTableType = value; }
70 inline void SetRouteTableType(RouteTableType&& value) { m_routeTableType = std::move(value); }
71 inline GetNetworkRoutesResult& WithRouteTableType(const RouteTableType& value) { SetRouteTableType(value); return *this;}
72 inline GetNetworkRoutesResult& WithRouteTableType(RouteTableType&& value) { SetRouteTableType(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetRouteTableTimestamp() const{ return m_routeTableTimestamp; }
80 inline void SetRouteTableTimestamp(const Aws::Utils::DateTime& value) { m_routeTableTimestamp = value; }
81 inline void SetRouteTableTimestamp(Aws::Utils::DateTime&& value) { m_routeTableTimestamp = std::move(value); }
85
87
90 inline const Aws::Vector<NetworkRoute>& GetNetworkRoutes() const{ return m_networkRoutes; }
91 inline void SetNetworkRoutes(const Aws::Vector<NetworkRoute>& value) { m_networkRoutes = value; }
92 inline void SetNetworkRoutes(Aws::Vector<NetworkRoute>&& value) { m_networkRoutes = std::move(value); }
94 inline GetNetworkRoutesResult& WithNetworkRoutes(Aws::Vector<NetworkRoute>&& value) { SetNetworkRoutes(std::move(value)); return *this;}
95 inline GetNetworkRoutesResult& AddNetworkRoutes(const NetworkRoute& value) { m_networkRoutes.push_back(value); return *this; }
96 inline GetNetworkRoutesResult& AddNetworkRoutes(NetworkRoute&& value) { m_networkRoutes.push_back(std::move(value)); return *this; }
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetNetworkRoutesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetNetworkRoutesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetNetworkRoutesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_routeTableArn;
112
113 CoreNetworkSegmentEdgeIdentifier m_coreNetworkSegmentEdge;
114
115 RouteTableType m_routeTableType;
116
117 Aws::Utils::DateTime m_routeTableTimestamp;
118
119 Aws::Vector<NetworkRoute> m_networkRoutes;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace NetworkManager
126} // namespace Aws
GetNetworkRoutesResult & WithRouteTableArn(Aws::String &&value)
GetNetworkRoutesResult & WithRouteTableTimestamp(Aws::Utils::DateTime &&value)
AWS_NETWORKMANAGER_API GetNetworkRoutesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRouteTableTimestamp(Aws::Utils::DateTime &&value)
void SetNetworkRoutes(Aws::Vector< NetworkRoute > &&value)
GetNetworkRoutesResult & WithRequestId(Aws::String &&value)
GetNetworkRoutesResult & WithRouteTableType(RouteTableType &&value)
const Aws::Utils::DateTime & GetRouteTableTimestamp() const
void SetNetworkRoutes(const Aws::Vector< NetworkRoute > &value)
GetNetworkRoutesResult & WithRequestId(const Aws::String &value)
void SetCoreNetworkSegmentEdge(const CoreNetworkSegmentEdgeIdentifier &value)
GetNetworkRoutesResult & WithRouteTableType(const RouteTableType &value)
GetNetworkRoutesResult & WithCoreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier &&value)
const CoreNetworkSegmentEdgeIdentifier & GetCoreNetworkSegmentEdge() const
GetNetworkRoutesResult & WithRequestId(const char *value)
GetNetworkRoutesResult & WithCoreNetworkSegmentEdge(const CoreNetworkSegmentEdgeIdentifier &value)
GetNetworkRoutesResult & WithNetworkRoutes(Aws::Vector< NetworkRoute > &&value)
GetNetworkRoutesResult & AddNetworkRoutes(const NetworkRoute &value)
AWS_NETWORKMANAGER_API GetNetworkRoutesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< NetworkRoute > & GetNetworkRoutes() const
GetNetworkRoutesResult & WithRouteTableTimestamp(const Aws::Utils::DateTime &value)
void SetCoreNetworkSegmentEdge(CoreNetworkSegmentEdgeIdentifier &&value)
void SetRouteTableTimestamp(const Aws::Utils::DateTime &value)
GetNetworkRoutesResult & AddNetworkRoutes(NetworkRoute &&value)
GetNetworkRoutesResult & WithRouteTableArn(const Aws::String &value)
GetNetworkRoutesResult & WithRouteTableArn(const char *value)
GetNetworkRoutesResult & WithNetworkRoutes(const Aws::Vector< NetworkRoute > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue