AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/core/utils/DateTime.h>
10#include <aws/gameliftstreams/model/DefaultApplication.h>
11#include <aws/gameliftstreams/model/StreamGroupStatus.h>
12#include <aws/gameliftstreams/model/StreamClass.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
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
72 template<typename CreatedAtT = Aws::Utils::DateTime>
73 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
74 template<typename CreatedAtT = Aws::Utils::DateTime>
75 StreamGroupSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
77
79
83 inline const DefaultApplication& GetDefaultApplication() const { return m_defaultApplication; }
84 inline bool DefaultApplicationHasBeenSet() const { return m_defaultApplicationHasBeenSet; }
85 template<typename DefaultApplicationT = DefaultApplication>
86 void SetDefaultApplication(DefaultApplicationT&& value) { m_defaultApplicationHasBeenSet = true; m_defaultApplication = std::forward<DefaultApplicationT>(value); }
87 template<typename DefaultApplicationT = DefaultApplication>
88 StreamGroupSummary& WithDefaultApplication(DefaultApplicationT&& value) { SetDefaultApplication(std::forward<DefaultApplicationT>(value)); return *this;}
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template<typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
99 template<typename DescriptionT = Aws::String>
100 StreamGroupSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
102
104
108 inline const Aws::String& GetId() const { return m_id; }
109 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
110 template<typename IdT = Aws::String>
111 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
112 template<typename IdT = Aws::String>
113 StreamGroupSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
115
117
122 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
123 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
124 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
125 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
126 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
127 StreamGroupSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
129
131
145 inline StreamGroupStatus GetStatus() const { return m_status; }
146 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 inline void SetStatus(StreamGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
148 inline StreamGroupSummary& WithStatus(StreamGroupStatus value) { SetStatus(value); return *this;}
150
152
193 inline StreamClass GetStreamClass() const { return m_streamClass; }
194 inline bool StreamClassHasBeenSet() const { return m_streamClassHasBeenSet; }
195 inline void SetStreamClass(StreamClass value) { m_streamClassHasBeenSet = true; m_streamClass = value; }
196 inline StreamGroupSummary& WithStreamClass(StreamClass value) { SetStreamClass(value); return *this;}
198 private:
199
200 Aws::String m_arn;
201 bool m_arnHasBeenSet = false;
202
203 Aws::Utils::DateTime m_createdAt{};
204 bool m_createdAtHasBeenSet = false;
205
206 DefaultApplication m_defaultApplication;
207 bool m_defaultApplicationHasBeenSet = false;
208
209 Aws::String m_description;
210 bool m_descriptionHasBeenSet = false;
211
212 Aws::String m_id;
213 bool m_idHasBeenSet = false;
214
215 Aws::Utils::DateTime m_lastUpdatedAt{};
216 bool m_lastUpdatedAtHasBeenSet = false;
217
219 bool m_statusHasBeenSet = false;
220
221 StreamClass m_streamClass{StreamClass::NOT_SET};
222 bool m_streamClassHasBeenSet = 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