AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApplicationResult.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/RuntimeEnvironment.h>
12#include <aws/gameliftstreams/model/ApplicationStatus.h>
13#include <aws/gameliftstreams/model/ApplicationStatusReason.h>
14#include <aws/gameliftstreams/model/ReplicationStatus.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace GameLiftStreams
30{
31namespace Model
32{
34 {
35 public:
36 AWS_GAMELIFTSTREAMS_API GetApplicationResult() = default;
39
40
42
47 inline const Aws::String& GetApplicationLogOutputUri() const { return m_applicationLogOutputUri; }
48 template<typename ApplicationLogOutputUriT = Aws::String>
49 void SetApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { m_applicationLogOutputUriHasBeenSet = true; m_applicationLogOutputUri = std::forward<ApplicationLogOutputUriT>(value); }
50 template<typename ApplicationLogOutputUriT = Aws::String>
51 GetApplicationResult& WithApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { SetApplicationLogOutputUri(std::forward<ApplicationLogOutputUriT>(value)); return *this;}
53
55
63 inline const Aws::Vector<Aws::String>& GetApplicationLogPaths() const { return m_applicationLogPaths; }
64 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
65 void SetApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths = std::forward<ApplicationLogPathsT>(value); }
66 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
67 GetApplicationResult& WithApplicationLogPaths(ApplicationLogPathsT&& value) { SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value)); return *this;}
68 template<typename ApplicationLogPathsT = Aws::String>
69 GetApplicationResult& AddApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths.emplace_back(std::forward<ApplicationLogPathsT>(value)); return *this; }
71
73
77 inline const Aws::String& GetApplicationSourceUri() const { return m_applicationSourceUri; }
78 template<typename ApplicationSourceUriT = Aws::String>
79 void SetApplicationSourceUri(ApplicationSourceUriT&& value) { m_applicationSourceUriHasBeenSet = true; m_applicationSourceUri = std::forward<ApplicationSourceUriT>(value); }
80 template<typename ApplicationSourceUriT = Aws::String>
81 GetApplicationResult& WithApplicationSourceUri(ApplicationSourceUriT&& value) { SetApplicationSourceUri(std::forward<ApplicationSourceUriT>(value)); return *this;}
83
85
93 inline const Aws::String& GetArn() const { return m_arn; }
94 template<typename ArnT = Aws::String>
95 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
96 template<typename ArnT = Aws::String>
97 GetApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
99
101
111 inline const Aws::Vector<Aws::String>& GetAssociatedStreamGroups() const { return m_associatedStreamGroups; }
112 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
113 void SetAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups = std::forward<AssociatedStreamGroupsT>(value); }
114 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
115 GetApplicationResult& WithAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { SetAssociatedStreamGroups(std::forward<AssociatedStreamGroupsT>(value)); return *this;}
116 template<typename AssociatedStreamGroupsT = Aws::String>
117 GetApplicationResult& AddAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups.emplace_back(std::forward<AssociatedStreamGroupsT>(value)); return *this; }
119
121
126 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
127 template<typename CreatedAtT = Aws::Utils::DateTime>
128 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
129 template<typename CreatedAtT = Aws::Utils::DateTime>
130 GetApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
132
134
137 inline const Aws::String& GetDescription() const { return m_description; }
138 template<typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
140 template<typename DescriptionT = Aws::String>
141 GetApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
143
145
149 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
150 template<typename ExecutablePathT = Aws::String>
151 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
152 template<typename ExecutablePathT = Aws::String>
153 GetApplicationResult& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
155
157
161 inline const Aws::String& GetId() const { return m_id; }
162 template<typename IdT = Aws::String>
163 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
164 template<typename IdT = Aws::String>
165 GetApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
167
169
174 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
175 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
176 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
177 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
178 GetApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
180
182
185 inline const Aws::Vector<ReplicationStatus>& GetReplicationStatuses() const { return m_replicationStatuses; }
186 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
187 void SetReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses = std::forward<ReplicationStatusesT>(value); }
188 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
189 GetApplicationResult& WithReplicationStatuses(ReplicationStatusesT&& value) { SetReplicationStatuses(std::forward<ReplicationStatusesT>(value)); return *this;}
190 template<typename ReplicationStatusesT = ReplicationStatus>
191 GetApplicationResult& AddReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses.emplace_back(std::forward<ReplicationStatusesT>(value)); return *this; }
193
195
206 inline const RuntimeEnvironment& GetRuntimeEnvironment() const { return m_runtimeEnvironment; }
207 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
208 void SetRuntimeEnvironment(RuntimeEnvironmentT&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::forward<RuntimeEnvironmentT>(value); }
209 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
210 GetApplicationResult& WithRuntimeEnvironment(RuntimeEnvironmentT&& value) { SetRuntimeEnvironment(std::forward<RuntimeEnvironmentT>(value)); return *this;}
212
214
227 inline ApplicationStatus GetStatus() const { return m_status; }
228 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
229 inline GetApplicationResult& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
231
233
237 inline ApplicationStatusReason GetStatusReason() const { return m_statusReason; }
238 inline void SetStatusReason(ApplicationStatusReason value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
241
243
244 inline const Aws::String& GetRequestId() const { return m_requestId; }
245 template<typename RequestIdT = Aws::String>
246 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
247 template<typename RequestIdT = Aws::String>
248 GetApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
250 private:
251
252 Aws::String m_applicationLogOutputUri;
253 bool m_applicationLogOutputUriHasBeenSet = false;
254
255 Aws::Vector<Aws::String> m_applicationLogPaths;
256 bool m_applicationLogPathsHasBeenSet = false;
257
258 Aws::String m_applicationSourceUri;
259 bool m_applicationSourceUriHasBeenSet = false;
260
261 Aws::String m_arn;
262 bool m_arnHasBeenSet = false;
263
264 Aws::Vector<Aws::String> m_associatedStreamGroups;
265 bool m_associatedStreamGroupsHasBeenSet = false;
266
267 Aws::Utils::DateTime m_createdAt{};
268 bool m_createdAtHasBeenSet = false;
269
270 Aws::String m_description;
271 bool m_descriptionHasBeenSet = false;
272
273 Aws::String m_executablePath;
274 bool m_executablePathHasBeenSet = false;
275
276 Aws::String m_id;
277 bool m_idHasBeenSet = false;
278
279 Aws::Utils::DateTime m_lastUpdatedAt{};
280 bool m_lastUpdatedAtHasBeenSet = false;
281
282 Aws::Vector<ReplicationStatus> m_replicationStatuses;
283 bool m_replicationStatusesHasBeenSet = false;
284
285 RuntimeEnvironment m_runtimeEnvironment;
286 bool m_runtimeEnvironmentHasBeenSet = false;
287
289 bool m_statusHasBeenSet = false;
290
292 bool m_statusReasonHasBeenSet = false;
293
294 Aws::String m_requestId;
295 bool m_requestIdHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace GameLiftStreams
300} // namespace Aws
const Aws::Vector< Aws::String > & GetAssociatedStreamGroups() const
AWS_GAMELIFTSTREAMS_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const RuntimeEnvironment & GetRuntimeEnvironment() const
GetApplicationResult & WithApplicationLogPaths(ApplicationLogPathsT &&value)
GetApplicationResult & AddAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
GetApplicationResult & WithAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetApplicationLogPaths(ApplicationLogPathsT &&value)
void SetApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
void SetReplicationStatuses(ReplicationStatusesT &&value)
const Aws::Vector< Aws::String > & GetApplicationLogPaths() const
AWS_GAMELIFTSTREAMS_API GetApplicationResult()=default
GetApplicationResult & WithStatusReason(ApplicationStatusReason value)
GetApplicationResult & AddApplicationLogPaths(ApplicationLogPathsT &&value)
GetApplicationResult & WithRequestId(RequestIdT &&value)
GetApplicationResult & WithStatus(ApplicationStatus value)
const Aws::Vector< ReplicationStatus > & GetReplicationStatuses() const
GetApplicationResult & WithApplicationSourceUri(ApplicationSourceUriT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRuntimeEnvironment(RuntimeEnvironmentT &&value)
GetApplicationResult & WithReplicationStatuses(ReplicationStatusesT &&value)
void SetApplicationSourceUri(ApplicationSourceUriT &&value)
GetApplicationResult & WithRuntimeEnvironment(RuntimeEnvironmentT &&value)
void SetStatusReason(ApplicationStatusReason value)
GetApplicationResult & WithExecutablePath(ExecutablePathT &&value)
GetApplicationResult & AddReplicationStatuses(ReplicationStatusesT &&value)
void SetAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
AWS_GAMELIFTSTREAMS_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithDescription(DescriptionT &&value)
GetApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetApplicationResult & WithApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
GetApplicationResult & WithCreatedAt(CreatedAtT &&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