AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
StreamGroupSummary.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/model/DefaultApplication.h>
10#include <aws/gameliftstreams/model/StreamClass.h>
11#include <aws/gameliftstreams/model/StreamGroupStatus.h>
12#include <aws/core/utils/DateTime.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 GameLiftStreams
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_GAMELIFTSTREAMS_API StreamGroupSummary() = default;
42 AWS_GAMELIFTSTREAMS_API StreamGroupSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_GAMELIFTSTREAMS_API StreamGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 StreamGroupSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
69 inline const Aws::String& GetId() const { return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 template<typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
73 template<typename IdT = Aws::String>
74 StreamGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 StreamGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
94 inline const DefaultApplication& GetDefaultApplication() const { return m_defaultApplication; }
95 inline bool DefaultApplicationHasBeenSet() const { return m_defaultApplicationHasBeenSet; }
96 template<typename DefaultApplicationT = DefaultApplication>
97 void SetDefaultApplication(DefaultApplicationT&& value) { m_defaultApplicationHasBeenSet = true; m_defaultApplication = std::forward<DefaultApplicationT>(value); }
98 template<typename DefaultApplicationT = DefaultApplication>
99 StreamGroupSummary& WithDefaultApplication(DefaultApplicationT&& value) { SetDefaultApplication(std::forward<DefaultApplicationT>(value)); return *this;}
101
103
144 inline StreamClass GetStreamClass() const { return m_streamClass; }
145 inline bool StreamClassHasBeenSet() const { return m_streamClassHasBeenSet; }
146 inline void SetStreamClass(StreamClass value) { m_streamClassHasBeenSet = true; m_streamClass = value; }
147 inline StreamGroupSummary& WithStreamClass(StreamClass value) { SetStreamClass(value); return *this;}
149
151
165 inline StreamGroupStatus GetStatus() const { return m_status; }
166 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
167 inline void SetStatus(StreamGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
168 inline StreamGroupSummary& WithStatus(StreamGroupStatus value) { SetStatus(value); return *this;}
170
172
177 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
178 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
179 template<typename CreatedAtT = Aws::Utils::DateTime>
180 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
181 template<typename CreatedAtT = Aws::Utils::DateTime>
182 StreamGroupSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
184
186
191 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
192 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
193 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
194 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
195 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
196 StreamGroupSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
198 private:
199
200 Aws::String m_arn;
201 bool m_arnHasBeenSet = false;
202
203 Aws::String m_id;
204 bool m_idHasBeenSet = false;
205
206 Aws::String m_description;
207 bool m_descriptionHasBeenSet = false;
208
209 DefaultApplication m_defaultApplication;
210 bool m_defaultApplicationHasBeenSet = false;
211
212 StreamClass m_streamClass{StreamClass::NOT_SET};
213 bool m_streamClassHasBeenSet = false;
214
216 bool m_statusHasBeenSet = false;
217
218 Aws::Utils::DateTime m_createdAt{};
219 bool m_createdAtHasBeenSet = false;
220
221 Aws::Utils::DateTime m_lastUpdatedAt{};
222 bool m_lastUpdatedAtHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace GameLiftStreams
227} // namespace Aws
void SetDefaultApplication(DefaultApplicationT &&value)
StreamGroupSummary & WithArn(ArnT &&value)
StreamGroupSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
StreamGroupSummary & WithStreamClass(StreamClass value)
AWS_GAMELIFTSTREAMS_API StreamGroupSummary(Aws::Utils::Json::JsonView jsonValue)
StreamGroupSummary & WithDescription(DescriptionT &&value)
AWS_GAMELIFTSTREAMS_API StreamGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const DefaultApplication & GetDefaultApplication() const
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
StreamGroupSummary & WithStatus(StreamGroupStatus value)
StreamGroupSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_GAMELIFTSTREAMS_API StreamGroupSummary()=default
StreamGroupSummary & WithDefaultApplication(DefaultApplicationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue