AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNetworkSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIALIVE_API DescribeNetworkSummary();
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline DescribeNetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DescribeNetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DescribeNetworkSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
61 inline const Aws::Vector<Aws::String>& GetAssociatedClusterIds() const{ return m_associatedClusterIds; }
62 inline bool AssociatedClusterIdsHasBeenSet() const { return m_associatedClusterIdsHasBeenSet; }
63 inline void SetAssociatedClusterIds(const Aws::Vector<Aws::String>& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds = value; }
64 inline void SetAssociatedClusterIds(Aws::Vector<Aws::String>&& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds = std::move(value); }
67 inline DescribeNetworkSummary& AddAssociatedClusterIds(const Aws::String& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds.push_back(value); return *this; }
68 inline DescribeNetworkSummary& AddAssociatedClusterIds(Aws::String&& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds.push_back(std::move(value)); return *this; }
69 inline DescribeNetworkSummary& AddAssociatedClusterIds(const char* value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds.push_back(value); return *this; }
71
73
77 inline const Aws::String& GetId() const{ return m_id; }
78 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
79 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
80 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
81 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
82 inline DescribeNetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline DescribeNetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline DescribeNetworkSummary& WithId(const char* value) { SetId(value); return *this;}
86
88
95 inline const Aws::Vector<IpPool>& GetIpPools() const{ return m_ipPools; }
96 inline bool IpPoolsHasBeenSet() const { return m_ipPoolsHasBeenSet; }
97 inline void SetIpPools(const Aws::Vector<IpPool>& value) { m_ipPoolsHasBeenSet = true; m_ipPools = value; }
98 inline void SetIpPools(Aws::Vector<IpPool>&& value) { m_ipPoolsHasBeenSet = true; m_ipPools = std::move(value); }
99 inline DescribeNetworkSummary& WithIpPools(const Aws::Vector<IpPool>& value) { SetIpPools(value); return *this;}
100 inline DescribeNetworkSummary& WithIpPools(Aws::Vector<IpPool>&& value) { SetIpPools(std::move(value)); return *this;}
101 inline DescribeNetworkSummary& AddIpPools(const IpPool& value) { m_ipPoolsHasBeenSet = true; m_ipPools.push_back(value); return *this; }
102 inline DescribeNetworkSummary& AddIpPools(IpPool&& value) { m_ipPoolsHasBeenSet = true; m_ipPools.push_back(std::move(value)); return *this; }
104
106
109 inline const Aws::String& GetName() const{ return m_name; }
110 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
111 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
112 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
114 inline DescribeNetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
115 inline DescribeNetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 inline DescribeNetworkSummary& WithName(const char* value) { SetName(value); return *this;}
118
120
124 inline const Aws::Vector<Route>& GetRoutes() const{ return m_routes; }
125 inline bool RoutesHasBeenSet() const { return m_routesHasBeenSet; }
126 inline void SetRoutes(const Aws::Vector<Route>& value) { m_routesHasBeenSet = true; m_routes = value; }
127 inline void SetRoutes(Aws::Vector<Route>&& value) { m_routesHasBeenSet = true; m_routes = std::move(value); }
128 inline DescribeNetworkSummary& WithRoutes(const Aws::Vector<Route>& value) { SetRoutes(value); return *this;}
129 inline DescribeNetworkSummary& WithRoutes(Aws::Vector<Route>&& value) { SetRoutes(std::move(value)); return *this;}
130 inline DescribeNetworkSummary& AddRoutes(const Route& value) { m_routesHasBeenSet = true; m_routes.push_back(value); return *this; }
131 inline DescribeNetworkSummary& AddRoutes(Route&& value) { m_routesHasBeenSet = true; m_routes.push_back(std::move(value)); return *this; }
133
135
138 inline const NetworkState& GetState() const{ return m_state; }
139 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
140 inline void SetState(const NetworkState& value) { m_stateHasBeenSet = true; m_state = value; }
141 inline void SetState(NetworkState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
142 inline DescribeNetworkSummary& WithState(const NetworkState& value) { SetState(value); return *this;}
143 inline DescribeNetworkSummary& WithState(NetworkState&& value) { SetState(std::move(value)); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::Vector<Aws::String> m_associatedClusterIds;
151 bool m_associatedClusterIdsHasBeenSet = false;
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 Aws::Vector<IpPool> m_ipPools;
157 bool m_ipPoolsHasBeenSet = false;
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 Aws::Vector<Route> m_routes;
163 bool m_routesHasBeenSet = false;
164
165 NetworkState m_state;
166 bool m_stateHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace MediaLive
171} // namespace Aws
AWS_MEDIALIVE_API DescribeNetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeNetworkSummary & WithIpPools(const Aws::Vector< IpPool > &value)
DescribeNetworkSummary & WithState(const NetworkState &value)
DescribeNetworkSummary & WithArn(const char *value)
DescribeNetworkSummary & AddRoutes(Route &&value)
const Aws::Vector< Route > & GetRoutes() const
DescribeNetworkSummary & WithId(Aws::String &&value)
DescribeNetworkSummary & AddIpPools(IpPool &&value)
void SetIpPools(Aws::Vector< IpPool > &&value)
DescribeNetworkSummary & WithName(const char *value)
DescribeNetworkSummary & WithArn(Aws::String &&value)
DescribeNetworkSummary & AddRoutes(const Route &value)
DescribeNetworkSummary & WithName(Aws::String &&value)
DescribeNetworkSummary & AddAssociatedClusterIds(const char *value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoutes(const Aws::Vector< Route > &value)
DescribeNetworkSummary & AddAssociatedClusterIds(Aws::String &&value)
DescribeNetworkSummary & WithRoutes(const Aws::Vector< Route > &value)
DescribeNetworkSummary & WithState(NetworkState &&value)
DescribeNetworkSummary & AddAssociatedClusterIds(const Aws::String &value)
DescribeNetworkSummary & WithArn(const Aws::String &value)
DescribeNetworkSummary & WithId(const char *value)
DescribeNetworkSummary & WithName(const Aws::String &value)
void SetAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
void SetAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
DescribeNetworkSummary & WithRoutes(Aws::Vector< Route > &&value)
DescribeNetworkSummary & WithAssociatedClusterIds(const Aws::Vector< Aws::String > &value)
DescribeNetworkSummary & WithIpPools(Aws::Vector< IpPool > &&value)
AWS_MEDIALIVE_API DescribeNetworkSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAssociatedClusterIds() const
DescribeNetworkSummary & WithId(const Aws::String &value)
void SetIpPools(const Aws::Vector< IpPool > &value)
DescribeNetworkSummary & AddIpPools(const IpPool &value)
DescribeNetworkSummary & WithAssociatedClusterIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< IpPool > & GetIpPools() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue