AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateNetworkSdkResult.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 UpdateNetworkSdkResult();
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 UpdateNetworkSdkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline UpdateNetworkSdkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& AddAssociatedClusterIds(const Aws::String& value) { m_associatedClusterIds.push_back(value); return *this; }
66 inline UpdateNetworkSdkResult& AddAssociatedClusterIds(Aws::String&& value) { m_associatedClusterIds.push_back(std::move(value)); return *this; }
67 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
80 inline UpdateNetworkSdkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
81 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithIpPools(const Aws::Vector<IpPool>& value) { SetIpPools(value); return *this;}
96 inline UpdateNetworkSdkResult& WithIpPools(Aws::Vector<IpPool>&& value) { SetIpPools(std::move(value)); return *this;}
97 inline UpdateNetworkSdkResult& AddIpPools(const IpPool& value) { m_ipPools.push_back(value); return *this; }
98 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
110 inline UpdateNetworkSdkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithRoutes(const Aws::Vector<Route>& value) { SetRoutes(value); return *this;}
123 inline UpdateNetworkSdkResult& WithRoutes(Aws::Vector<Route>&& value) { SetRoutes(std::move(value)); return *this;}
124 inline UpdateNetworkSdkResult& AddRoutes(const Route& value) { m_routes.push_back(value); return *this; }
125 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithState(const NetworkState& value) { SetState(value); return *this;}
136 inline UpdateNetworkSdkResult& 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 UpdateNetworkSdkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
146 inline UpdateNetworkSdkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
147 inline UpdateNetworkSdkResult& 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
UpdateNetworkSdkResult & WithRoutes(Aws::Vector< Route > &&value)
UpdateNetworkSdkResult & AddAssociatedClusterIds(Aws::String &&value)
UpdateNetworkSdkResult & WithId(const Aws::String &value)
UpdateNetworkSdkResult & WithAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
void SetAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
UpdateNetworkSdkResult & AddRoutes(Route &&value)
void SetAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
UpdateNetworkSdkResult & WithRoutes(const Aws::Vector< Route > &value)
void SetIpPools(Aws::Vector< IpPool > &&value)
UpdateNetworkSdkResult & AddAssociatedClusterIds(const char *value)
UpdateNetworkSdkResult & WithState(const NetworkState &value)
void SetIpPools(const Aws::Vector< IpPool > &value)
UpdateNetworkSdkResult & WithName(const char *value)
const Aws::Vector< Route > & GetRoutes() const
void SetRoutes(const Aws::Vector< Route > &value)
UpdateNetworkSdkResult & WithArn(const char *value)
UpdateNetworkSdkResult & WithRequestId(const Aws::String &value)
UpdateNetworkSdkResult & WithRequestId(const char *value)
const Aws::Vector< Aws::String > & GetAssociatedClusterIds() const
UpdateNetworkSdkResult & WithId(const char *value)
UpdateNetworkSdkResult & WithIpPools(const Aws::Vector< IpPool > &value)
AWS_MEDIALIVE_API UpdateNetworkSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateNetworkSdkResult & AddIpPools(IpPool &&value)
UpdateNetworkSdkResult & AddRoutes(const Route &value)
UpdateNetworkSdkResult & AddIpPools(const IpPool &value)
UpdateNetworkSdkResult & WithArn(Aws::String &&value)
UpdateNetworkSdkResult & WithName(const Aws::String &value)
UpdateNetworkSdkResult & WithState(NetworkState &&value)
UpdateNetworkSdkResult & WithAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
UpdateNetworkSdkResult & WithName(Aws::String &&value)
UpdateNetworkSdkResult & WithRequestId(Aws::String &&value)
UpdateNetworkSdkResult & WithIpPools(Aws::Vector< IpPool > &&value)
UpdateNetworkSdkResult & WithId(Aws::String &&value)
UpdateNetworkSdkResult & WithArn(const Aws::String &value)
AWS_MEDIALIVE_API UpdateNetworkSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< IpPool > & GetIpPools() const
UpdateNetworkSdkResult & AddAssociatedClusterIds(const Aws::String &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