AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
10#include <aws/gameliftstreams/model/ApplicationStatus.h>
11#include <aws/gameliftstreams/model/RuntimeEnvironment.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLiftStreams {
23namespace Model {
24
35 public:
36 AWS_GAMELIFTSTREAMS_API ApplicationSummary() = default;
37 AWS_GAMELIFTSTREAMS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GAMELIFTSTREAMS_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template <typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) {
52 m_arnHasBeenSet = true;
53 m_arn = std::forward<ArnT>(value);
54 }
55 template <typename ArnT = Aws::String>
56 ApplicationSummary& WithArn(ArnT&& value) {
57 SetArn(std::forward<ArnT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::String& GetId() const { return m_id; }
68 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
69 template <typename IdT = Aws::String>
70 void SetId(IdT&& value) {
71 m_idHasBeenSet = true;
72 m_id = std::forward<IdT>(value);
73 }
74 template <typename IdT = Aws::String>
75 ApplicationSummary& WithId(IdT&& value) {
76 SetId(std::forward<IdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
93 ApplicationSummary& WithDescription(DescriptionT&& value) {
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
114 inline ApplicationStatus GetStatus() const { return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(ApplicationStatus value) {
117 m_statusHasBeenSet = true;
118 m_status = value;
119 }
121 SetStatus(value);
122 return *this;
123 }
125
127
132 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
133 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
134 template <typename CreatedAtT = Aws::Utils::DateTime>
135 void SetCreatedAt(CreatedAtT&& value) {
136 m_createdAtHasBeenSet = true;
137 m_createdAt = std::forward<CreatedAtT>(value);
138 }
139 template <typename CreatedAtT = Aws::Utils::DateTime>
140 ApplicationSummary& WithCreatedAt(CreatedAtT&& value) {
141 SetCreatedAt(std::forward<CreatedAtT>(value));
142 return *this;
143 }
145
147
152 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
153 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
154 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
155 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
156 m_lastUpdatedAtHasBeenSet = true;
157 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
158 }
159 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
160 ApplicationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) {
161 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
162 return *this;
163 }
165
167
179 inline const RuntimeEnvironment& GetRuntimeEnvironment() const { return m_runtimeEnvironment; }
180 inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
181 template <typename RuntimeEnvironmentT = RuntimeEnvironment>
182 void SetRuntimeEnvironment(RuntimeEnvironmentT&& value) {
183 m_runtimeEnvironmentHasBeenSet = true;
184 m_runtimeEnvironment = std::forward<RuntimeEnvironmentT>(value);
185 }
186 template <typename RuntimeEnvironmentT = RuntimeEnvironment>
187 ApplicationSummary& WithRuntimeEnvironment(RuntimeEnvironmentT&& value) {
188 SetRuntimeEnvironment(std::forward<RuntimeEnvironmentT>(value));
189 return *this;
190 }
192 private:
193 Aws::String m_arn;
194
195 Aws::String m_id;
196
197 Aws::String m_description;
198
200
201 Aws::Utils::DateTime m_createdAt{};
202
203 Aws::Utils::DateTime m_lastUpdatedAt{};
204
205 RuntimeEnvironment m_runtimeEnvironment;
206 bool m_arnHasBeenSet = false;
207 bool m_idHasBeenSet = false;
208 bool m_descriptionHasBeenSet = false;
209 bool m_statusHasBeenSet = false;
210 bool m_createdAtHasBeenSet = false;
211 bool m_lastUpdatedAtHasBeenSet = false;
212 bool m_runtimeEnvironmentHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace GameLiftStreams
217} // namespace Aws
ApplicationSummary & WithArn(ArnT &&value)
AWS_GAMELIFTSTREAMS_API ApplicationSummary()=default
AWS_GAMELIFTSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_GAMELIFTSTREAMS_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFTSTREAMS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetRuntimeEnvironment(RuntimeEnvironmentT &&value)
ApplicationSummary & WithDescription(DescriptionT &&value)
ApplicationSummary & WithStatus(ApplicationStatus value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const RuntimeEnvironment & GetRuntimeEnvironment() const
ApplicationSummary & WithRuntimeEnvironment(RuntimeEnvironmentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue