AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
UpdateClusterSdkResult.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/ClusterType.h>
11#include <aws/medialive/model/ClusterNetworkSettings.h>
12#include <aws/medialive/model/ClusterState.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 UpdateClusterSdkResult() = default;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 UpdateClusterSdkResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
62 inline const Aws::Vector<Aws::String>& GetChannelIds() const { return m_channelIds; }
63 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
64 void SetChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds = std::forward<ChannelIdsT>(value); }
65 template<typename ChannelIdsT = Aws::Vector<Aws::String>>
66 UpdateClusterSdkResult& WithChannelIds(ChannelIdsT&& value) { SetChannelIds(std::forward<ChannelIdsT>(value)); return *this;}
67 template<typename ChannelIdsT = Aws::String>
68 UpdateClusterSdkResult& AddChannelIds(ChannelIdsT&& value) { m_channelIdsHasBeenSet = true; m_channelIds.emplace_back(std::forward<ChannelIdsT>(value)); return *this; }
70
72
75 inline ClusterType GetClusterType() const { return m_clusterType; }
76 inline void SetClusterType(ClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
77 inline UpdateClusterSdkResult& WithClusterType(ClusterType value) { SetClusterType(value); return *this;}
79
81
84 inline const Aws::String& GetId() const { return m_id; }
85 template<typename IdT = Aws::String>
86 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
87 template<typename IdT = Aws::String>
88 UpdateClusterSdkResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 UpdateClusterSdkResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
107 inline const ClusterNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
108 template<typename NetworkSettingsT = ClusterNetworkSettings>
109 void SetNetworkSettings(NetworkSettingsT&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::forward<NetworkSettingsT>(value); }
110 template<typename NetworkSettingsT = ClusterNetworkSettings>
111 UpdateClusterSdkResult& WithNetworkSettings(NetworkSettingsT&& value) { SetNetworkSettings(std::forward<NetworkSettingsT>(value)); return *this;}
113
115
118 inline ClusterState GetState() const { return m_state; }
119 inline void SetState(ClusterState value) { m_stateHasBeenSet = true; m_state = value; }
120 inline UpdateClusterSdkResult& WithState(ClusterState value) { SetState(value); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 UpdateClusterSdkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_arn;
134 bool m_arnHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_channelIds;
137 bool m_channelIdsHasBeenSet = false;
138
139 ClusterType m_clusterType{ClusterType::NOT_SET};
140 bool m_clusterTypeHasBeenSet = false;
141
142 Aws::String m_id;
143 bool m_idHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 ClusterNetworkSettings m_networkSettings;
149 bool m_networkSettingsHasBeenSet = false;
150
152 bool m_stateHasBeenSet = false;
153
154 Aws::String m_requestId;
155 bool m_requestIdHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace MediaLive
160} // namespace Aws
UpdateClusterSdkResult & WithChannelIds(ChannelIdsT &&value)
AWS_MEDIALIVE_API UpdateClusterSdkResult()=default
UpdateClusterSdkResult & WithArn(ArnT &&value)
const ClusterNetworkSettings & GetNetworkSettings() const
UpdateClusterSdkResult & WithState(ClusterState value)
AWS_MEDIALIVE_API UpdateClusterSdkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateClusterSdkResult & WithNetworkSettings(NetworkSettingsT &&value)
AWS_MEDIALIVE_API UpdateClusterSdkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateClusterSdkResult & WithId(IdT &&value)
UpdateClusterSdkResult & WithClusterType(ClusterType value)
const Aws::Vector< Aws::String > & GetChannelIds() const
UpdateClusterSdkResult & AddChannelIds(ChannelIdsT &&value)
UpdateClusterSdkResult & WithName(NameT &&value)
UpdateClusterSdkResult & WithRequestId(RequestIdT &&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