AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNetworkSdkResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/NetworkState.h>
11#include <aws/medialive/model/IpPool.h>
12#include <aws/medialive/model/Route.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive
28{
29namespace Model
30{
37 {
38 public:
39 AWS_MEDIALIVE_API DescribeNetworkSdkResult();
42
43
45
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline DescribeNetworkSdkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline DescribeNetworkSdkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline DescribeNetworkSdkResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
60 inline const Aws::Vector<Aws::String>& GetAssociatedClusterIds() const{ return m_associatedClusterIds; }
61 inline void SetAssociatedClusterIds(const Aws::Vector<Aws::String>& value) { m_associatedClusterIds = value; }
62 inline void SetAssociatedClusterIds(Aws::Vector<Aws::String>&& value) { m_associatedClusterIds = std::move(value); }
65 inline DescribeNetworkSdkResult& AddAssociatedClusterIds(const Aws::String& value) { m_associatedClusterIds.push_back(value); return *this; }
66 inline DescribeNetworkSdkResult& AddAssociatedClusterIds(Aws::String&& value) { m_associatedClusterIds.push_back(std::move(value)); return *this; }
67 inline DescribeNetworkSdkResult& AddAssociatedClusterIds(const char* value) { m_associatedClusterIds.push_back(value); return *this; }
69
71
75 inline const Aws::String& GetId() const{ return m_id; }
76 inline void SetId(const Aws::String& value) { m_id = value; }
77 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
78 inline void SetId(const char* value) { m_id.assign(value); }
79 inline DescribeNetworkSdkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
80 inline DescribeNetworkSdkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
81 inline DescribeNetworkSdkResult& WithId(const char* value) { SetId(value); return *this;}
83
85
92 inline const Aws::Vector<IpPool>& GetIpPools() const{ return m_ipPools; }
93 inline void SetIpPools(const Aws::Vector<IpPool>& value) { m_ipPools = value; }
94 inline void SetIpPools(Aws::Vector<IpPool>&& value) { m_ipPools = std::move(value); }
95 inline DescribeNetworkSdkResult& WithIpPools(const Aws::Vector<IpPool>& value) { SetIpPools(value); return *this;}
96 inline DescribeNetworkSdkResult& WithIpPools(Aws::Vector<IpPool>&& value) { SetIpPools(std::move(value)); return *this;}
97 inline DescribeNetworkSdkResult& AddIpPools(const IpPool& value) { m_ipPools.push_back(value); return *this; }
98 inline DescribeNetworkSdkResult& AddIpPools(IpPool&& value) { m_ipPools.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::String& GetName() const{ return m_name; }
106 inline void SetName(const Aws::String& value) { m_name = value; }
107 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
108 inline void SetName(const char* value) { m_name.assign(value); }
109 inline DescribeNetworkSdkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline DescribeNetworkSdkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline DescribeNetworkSdkResult& WithName(const char* value) { SetName(value); return *this;}
113
115
119 inline const Aws::Vector<Route>& GetRoutes() const{ return m_routes; }
120 inline void SetRoutes(const Aws::Vector<Route>& value) { m_routes = value; }
121 inline void SetRoutes(Aws::Vector<Route>&& value) { m_routes = std::move(value); }
122 inline DescribeNetworkSdkResult& WithRoutes(const Aws::Vector<Route>& value) { SetRoutes(value); return *this;}
123 inline DescribeNetworkSdkResult& WithRoutes(Aws::Vector<Route>&& value) { SetRoutes(std::move(value)); return *this;}
124 inline DescribeNetworkSdkResult& AddRoutes(const Route& value) { m_routes.push_back(value); return *this; }
125 inline DescribeNetworkSdkResult& AddRoutes(Route&& value) { m_routes.push_back(std::move(value)); return *this; }
127
129
132 inline const NetworkState& GetState() const{ return m_state; }
133 inline void SetState(const NetworkState& value) { m_state = value; }
134 inline void SetState(NetworkState&& value) { m_state = std::move(value); }
135 inline DescribeNetworkSdkResult& WithState(const NetworkState& value) { SetState(value); return *this;}
136 inline DescribeNetworkSdkResult& WithState(NetworkState&& value) { SetState(std::move(value)); return *this;}
138
140
141 inline const Aws::String& GetRequestId() const{ return m_requestId; }
142 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
144 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
145 inline DescribeNetworkSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline DescribeNetworkSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline DescribeNetworkSdkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
149 private:
150
151 Aws::String m_arn;
152
153 Aws::Vector<Aws::String> m_associatedClusterIds;
154
155 Aws::String m_id;
156
157 Aws::Vector<IpPool> m_ipPools;
158
159 Aws::String m_name;
160
161 Aws::Vector<Route> m_routes;
162
163 NetworkState m_state;
164
165 Aws::String m_requestId;
166 };
167
168} // namespace Model
169} // namespace MediaLive
170} // namespace Aws
DescribeNetworkSdkResult & AddRoutes(const Route &value)
DescribeNetworkSdkResult & WithIpPools(Aws::Vector< IpPool > &&value)
DescribeNetworkSdkResult & WithName(const Aws::String &value)
DescribeNetworkSdkResult & WithRequestId(const char *value)
DescribeNetworkSdkResult & AddAssociatedClusterIds(const Aws::String &value)
void SetAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
AWS_MEDIALIVE_API DescribeNetworkSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeNetworkSdkResult & WithRequestId(Aws::String &&value)
DescribeNetworkSdkResult & AddRoutes(Route &&value)
DescribeNetworkSdkResult & WithAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
DescribeNetworkSdkResult & WithRequestId(const Aws::String &value)
DescribeNetworkSdkResult & AddIpPools(const IpPool &value)
DescribeNetworkSdkResult & WithName(Aws::String &&value)
DescribeNetworkSdkResult & AddIpPools(IpPool &&value)
DescribeNetworkSdkResult & WithArn(const Aws::String &value)
DescribeNetworkSdkResult & WithAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
void SetIpPools(const Aws::Vector< IpPool > &value)
DescribeNetworkSdkResult & WithId(const Aws::String &value)
DescribeNetworkSdkResult & WithRoutes(Aws::Vector< Route > &&value)
DescribeNetworkSdkResult & WithState(NetworkState &&value)
DescribeNetworkSdkResult & WithId(const char *value)
AWS_MEDIALIVE_API DescribeNetworkSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutes(const Aws::Vector< Route > &value)
DescribeNetworkSdkResult & WithArn(Aws::String &&value)
DescribeNetworkSdkResult & WithId(Aws::String &&value)
DescribeNetworkSdkResult & AddAssociatedClusterIds(Aws::String &&value)
DescribeNetworkSdkResult & WithState(const NetworkState &value)
DescribeNetworkSdkResult & WithRoutes(const Aws::Vector< Route > &value)
DescribeNetworkSdkResult & AddAssociatedClusterIds(const char *value)
const Aws::Vector< Aws::String > & GetAssociatedClusterIds() const
void SetAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
DescribeNetworkSdkResult & WithName(const char *value)
DescribeNetworkSdkResult & WithIpPools(const Aws::Vector< IpPool > &value)
const Aws::Vector< IpPool > & GetIpPools() const
DescribeNetworkSdkResult & WithArn(const char *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