AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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() = default;
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 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 DescribeNetworkSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
59 inline const Aws::Vector<Aws::String>& GetAssociatedClusterIds() const { return m_associatedClusterIds; }
60 inline bool AssociatedClusterIdsHasBeenSet() const { return m_associatedClusterIdsHasBeenSet; }
61 template<typename AssociatedClusterIdsT = Aws::Vector<Aws::String>>
62 void SetAssociatedClusterIds(AssociatedClusterIdsT&& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds = std::forward<AssociatedClusterIdsT>(value); }
63 template<typename AssociatedClusterIdsT = Aws::Vector<Aws::String>>
64 DescribeNetworkSummary& WithAssociatedClusterIds(AssociatedClusterIdsT&& value) { SetAssociatedClusterIds(std::forward<AssociatedClusterIdsT>(value)); return *this;}
65 template<typename AssociatedClusterIdsT = Aws::String>
66 DescribeNetworkSummary& AddAssociatedClusterIds(AssociatedClusterIdsT&& value) { m_associatedClusterIdsHasBeenSet = true; m_associatedClusterIds.emplace_back(std::forward<AssociatedClusterIdsT>(value)); return *this; }
68
70
74 inline const Aws::String& GetId() const { return m_id; }
75 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
76 template<typename IdT = Aws::String>
77 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
78 template<typename IdT = Aws::String>
79 DescribeNetworkSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
81
83
90 inline const Aws::Vector<IpPool>& GetIpPools() const { return m_ipPools; }
91 inline bool IpPoolsHasBeenSet() const { return m_ipPoolsHasBeenSet; }
92 template<typename IpPoolsT = Aws::Vector<IpPool>>
93 void SetIpPools(IpPoolsT&& value) { m_ipPoolsHasBeenSet = true; m_ipPools = std::forward<IpPoolsT>(value); }
94 template<typename IpPoolsT = Aws::Vector<IpPool>>
95 DescribeNetworkSummary& WithIpPools(IpPoolsT&& value) { SetIpPools(std::forward<IpPoolsT>(value)); return *this;}
96 template<typename IpPoolsT = IpPool>
97 DescribeNetworkSummary& AddIpPools(IpPoolsT&& value) { m_ipPoolsHasBeenSet = true; m_ipPools.emplace_back(std::forward<IpPoolsT>(value)); return *this; }
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 DescribeNetworkSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
117 inline const Aws::Vector<Route>& GetRoutes() const { return m_routes; }
118 inline bool RoutesHasBeenSet() const { return m_routesHasBeenSet; }
119 template<typename RoutesT = Aws::Vector<Route>>
120 void SetRoutes(RoutesT&& value) { m_routesHasBeenSet = true; m_routes = std::forward<RoutesT>(value); }
121 template<typename RoutesT = Aws::Vector<Route>>
122 DescribeNetworkSummary& WithRoutes(RoutesT&& value) { SetRoutes(std::forward<RoutesT>(value)); return *this;}
123 template<typename RoutesT = Route>
124 DescribeNetworkSummary& AddRoutes(RoutesT&& value) { m_routesHasBeenSet = true; m_routes.emplace_back(std::forward<RoutesT>(value)); return *this; }
126
128
131 inline NetworkState GetState() const { return m_state; }
132 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
133 inline void SetState(NetworkState value) { m_stateHasBeenSet = true; m_state = value; }
134 inline DescribeNetworkSummary& WithState(NetworkState value) { SetState(value); return *this;}
136 private:
137
138 Aws::String m_arn;
139 bool m_arnHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_associatedClusterIds;
142 bool m_associatedClusterIdsHasBeenSet = false;
143
144 Aws::String m_id;
145 bool m_idHasBeenSet = false;
146
147 Aws::Vector<IpPool> m_ipPools;
148 bool m_ipPoolsHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 Aws::Vector<Route> m_routes;
154 bool m_routesHasBeenSet = false;
155
157 bool m_stateHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace MediaLive
162} // namespace Aws
AWS_MEDIALIVE_API DescribeNetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DescribeNetworkSummary & WithRoutes(RoutesT &&value)
DescribeNetworkSummary & AddRoutes(RoutesT &&value)
DescribeNetworkSummary & WithId(IdT &&value)
DescribeNetworkSummary & WithState(NetworkState value)
const Aws::Vector< Route > & GetRoutes() const
void SetAssociatedClusterIds(AssociatedClusterIdsT &&value)
DescribeNetworkSummary & AddIpPools(IpPoolsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeNetworkSummary & WithArn(ArnT &&value)
DescribeNetworkSummary & WithName(NameT &&value)
AWS_MEDIALIVE_API DescribeNetworkSummary()=default
AWS_MEDIALIVE_API DescribeNetworkSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAssociatedClusterIds() const
DescribeNetworkSummary & WithIpPools(IpPoolsT &&value)
DescribeNetworkSummary & WithAssociatedClusterIds(AssociatedClusterIdsT &&value)
const Aws::Vector< IpPool > & GetIpPools() const
DescribeNetworkSummary & AddAssociatedClusterIds(AssociatedClusterIdsT &&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