AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateStreamGroupResult.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/gameliftstreams/model/DefaultApplication.h>
12#include <aws/gameliftstreams/model/StreamGroupStatus.h>
13#include <aws/gameliftstreams/model/StreamGroupStatusReason.h>
14#include <aws/gameliftstreams/model/StreamClass.h>
15#include <aws/gameliftstreams/model/LocationState.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace GameLiftStreams
31{
32namespace Model
33{
35 {
36 public:
37 AWS_GAMELIFTSTREAMS_API UpdateStreamGroupResult() = default;
40
41
43
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 UpdateStreamGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57
59
69 inline const Aws::Vector<Aws::String>& GetAssociatedApplications() const { return m_associatedApplications; }
70 template<typename AssociatedApplicationsT = Aws::Vector<Aws::String>>
71 void SetAssociatedApplications(AssociatedApplicationsT&& value) { m_associatedApplicationsHasBeenSet = true; m_associatedApplications = std::forward<AssociatedApplicationsT>(value); }
72 template<typename AssociatedApplicationsT = Aws::Vector<Aws::String>>
73 UpdateStreamGroupResult& WithAssociatedApplications(AssociatedApplicationsT&& value) { SetAssociatedApplications(std::forward<AssociatedApplicationsT>(value)); return *this;}
74 template<typename AssociatedApplicationsT = Aws::String>
75 UpdateStreamGroupResult& AddAssociatedApplications(AssociatedApplicationsT&& value) { m_associatedApplicationsHasBeenSet = true; m_associatedApplications.emplace_back(std::forward<AssociatedApplicationsT>(value)); return *this; }
77
79
84 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
85 template<typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<typename CreatedAtT = Aws::Utils::DateTime>
88 UpdateStreamGroupResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
90
92
96 inline const DefaultApplication& GetDefaultApplication() const { return m_defaultApplication; }
97 template<typename DefaultApplicationT = DefaultApplication>
98 void SetDefaultApplication(DefaultApplicationT&& value) { m_defaultApplicationHasBeenSet = true; m_defaultApplication = std::forward<DefaultApplicationT>(value); }
99 template<typename DefaultApplicationT = DefaultApplication>
100 UpdateStreamGroupResult& WithDefaultApplication(DefaultApplicationT&& value) { SetDefaultApplication(std::forward<DefaultApplicationT>(value)); return *this;}
102
104
107 inline const Aws::String& GetDescription() const { return m_description; }
108 template<typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
110 template<typename DescriptionT = Aws::String>
111 UpdateStreamGroupResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
113
115
119 inline const Aws::String& GetId() const { return m_id; }
120 template<typename IdT = Aws::String>
121 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
122 template<typename IdT = Aws::String>
123 UpdateStreamGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
125
127
132 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
133 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
134 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
135 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
136 UpdateStreamGroupResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
138
140
153 inline const Aws::Vector<LocationState>& GetLocationStates() const { return m_locationStates; }
154 template<typename LocationStatesT = Aws::Vector<LocationState>>
155 void SetLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet = true; m_locationStates = std::forward<LocationStatesT>(value); }
156 template<typename LocationStatesT = Aws::Vector<LocationState>>
157 UpdateStreamGroupResult& WithLocationStates(LocationStatesT&& value) { SetLocationStates(std::forward<LocationStatesT>(value)); return *this;}
158 template<typename LocationStatesT = LocationState>
159 UpdateStreamGroupResult& AddLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet = true; m_locationStates.emplace_back(std::forward<LocationStatesT>(value)); return *this; }
161
163
177 inline StreamGroupStatus GetStatus() const { return m_status; }
178 inline void SetStatus(StreamGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
179 inline UpdateStreamGroupResult& WithStatus(StreamGroupStatus value) { SetStatus(value); return *this;}
181
183
195 inline StreamGroupStatusReason GetStatusReason() const { return m_statusReason; }
196 inline void SetStatusReason(StreamGroupStatusReason value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
199
201
242 inline StreamClass GetStreamClass() const { return m_streamClass; }
243 inline void SetStreamClass(StreamClass value) { m_streamClassHasBeenSet = true; m_streamClass = value; }
246
248
249 inline const Aws::String& GetRequestId() const { return m_requestId; }
250 template<typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
252 template<typename RequestIdT = Aws::String>
253 UpdateStreamGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
255 private:
256
257 Aws::String m_arn;
258 bool m_arnHasBeenSet = false;
259
260 Aws::Vector<Aws::String> m_associatedApplications;
261 bool m_associatedApplicationsHasBeenSet = false;
262
263 Aws::Utils::DateTime m_createdAt{};
264 bool m_createdAtHasBeenSet = false;
265
266 DefaultApplication m_defaultApplication;
267 bool m_defaultApplicationHasBeenSet = false;
268
269 Aws::String m_description;
270 bool m_descriptionHasBeenSet = false;
271
272 Aws::String m_id;
273 bool m_idHasBeenSet = false;
274
275 Aws::Utils::DateTime m_lastUpdatedAt{};
276 bool m_lastUpdatedAtHasBeenSet = false;
277
278 Aws::Vector<LocationState> m_locationStates;
279 bool m_locationStatesHasBeenSet = false;
280
282 bool m_statusHasBeenSet = false;
283
285 bool m_statusReasonHasBeenSet = false;
286
287 StreamClass m_streamClass{StreamClass::NOT_SET};
288 bool m_streamClassHasBeenSet = false;
289
290 Aws::String m_requestId;
291 bool m_requestIdHasBeenSet = false;
292 };
293
294} // namespace Model
295} // namespace GameLiftStreams
296} // namespace Aws
AWS_GAMELIFTSTREAMS_API UpdateStreamGroupResult()=default
UpdateStreamGroupResult & WithDefaultApplication(DefaultApplicationT &&value)
UpdateStreamGroupResult & WithRequestId(RequestIdT &&value)
UpdateStreamGroupResult & WithStreamClass(StreamClass value)
AWS_GAMELIFTSTREAMS_API UpdateStreamGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< LocationState > & GetLocationStates() const
AWS_GAMELIFTSTREAMS_API UpdateStreamGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateStreamGroupResult & WithAssociatedApplications(AssociatedApplicationsT &&value)
UpdateStreamGroupResult & WithStatus(StreamGroupStatus value)
UpdateStreamGroupResult & WithLocationStates(LocationStatesT &&value)
UpdateStreamGroupResult & WithDescription(DescriptionT &&value)
UpdateStreamGroupResult & WithStatusReason(StreamGroupStatusReason value)
void SetAssociatedApplications(AssociatedApplicationsT &&value)
UpdateStreamGroupResult & WithCreatedAt(CreatedAtT &&value)
UpdateStreamGroupResult & AddLocationStates(LocationStatesT &&value)
const Aws::Vector< Aws::String > & GetAssociatedApplications() const
UpdateStreamGroupResult & AddAssociatedApplications(AssociatedApplicationsT &&value)
UpdateStreamGroupResult & WithLastUpdatedAt(LastUpdatedAtT &&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