AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateApplicationResult.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 CreateApplicationResult() = 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 CreateApplicationResult& 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 CreateApplicationResult& WithApplicationLogPaths(ApplicationLogPathsT&& value) { SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value)); return *this;}
68 template<typename ApplicationLogPathsT = Aws::String>
69 CreateApplicationResult& 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 CreateApplicationResult& 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 CreateApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
99
101
105 inline const Aws::Vector<Aws::String>& GetAssociatedStreamGroups() const { return m_associatedStreamGroups; }
106 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
107 void SetAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups = std::forward<AssociatedStreamGroupsT>(value); }
108 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
109 CreateApplicationResult& WithAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { SetAssociatedStreamGroups(std::forward<AssociatedStreamGroupsT>(value)); return *this;}
110 template<typename AssociatedStreamGroupsT = Aws::String>
111 CreateApplicationResult& AddAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups.emplace_back(std::forward<AssociatedStreamGroupsT>(value)); return *this; }
113
115
120 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
121 template<typename CreatedAtT = Aws::Utils::DateTime>
122 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
123 template<typename CreatedAtT = Aws::Utils::DateTime>
124 CreateApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 template<typename DescriptionT = Aws::String>
133 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
134 template<typename DescriptionT = Aws::String>
135 CreateApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
137
139
143 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
144 template<typename ExecutablePathT = Aws::String>
145 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
146 template<typename ExecutablePathT = Aws::String>
147 CreateApplicationResult& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
149
151
155 inline const Aws::String& GetId() const { return m_id; }
156 template<typename IdT = Aws::String>
157 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
158 template<typename IdT = Aws::String>
159 CreateApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
161
163
168 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
169 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
170 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
171 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
172 CreateApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
174
176
179 inline const Aws::Vector<ReplicationStatus>& GetReplicationStatuses() const { return m_replicationStatuses; }
180 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
181 void SetReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses = std::forward<ReplicationStatusesT>(value); }
182 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
183 CreateApplicationResult& WithReplicationStatuses(ReplicationStatusesT&& value) { SetReplicationStatuses(std::forward<ReplicationStatusesT>(value)); return *this;}
184 template<typename ReplicationStatusesT = ReplicationStatus>
185 CreateApplicationResult& AddReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses.emplace_back(std::forward<ReplicationStatusesT>(value)); return *this; }
187
189
200 inline const RuntimeEnvironment& GetRuntimeEnvironment() const { return m_runtimeEnvironment; }
201 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
202 void SetRuntimeEnvironment(RuntimeEnvironmentT&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::forward<RuntimeEnvironmentT>(value); }
203 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
204 CreateApplicationResult& WithRuntimeEnvironment(RuntimeEnvironmentT&& value) { SetRuntimeEnvironment(std::forward<RuntimeEnvironmentT>(value)); return *this;}
206
208
221 inline ApplicationStatus GetStatus() const { return m_status; }
222 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
223 inline CreateApplicationResult& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
225
227
231 inline ApplicationStatusReason GetStatusReason() const { return m_statusReason; }
232 inline void SetStatusReason(ApplicationStatusReason value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
235
237
238 inline const Aws::String& GetRequestId() const { return m_requestId; }
239 template<typename RequestIdT = Aws::String>
240 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
241 template<typename RequestIdT = Aws::String>
242 CreateApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
244 private:
245
246 Aws::String m_applicationLogOutputUri;
247 bool m_applicationLogOutputUriHasBeenSet = false;
248
249 Aws::Vector<Aws::String> m_applicationLogPaths;
250 bool m_applicationLogPathsHasBeenSet = false;
251
252 Aws::String m_applicationSourceUri;
253 bool m_applicationSourceUriHasBeenSet = false;
254
255 Aws::String m_arn;
256 bool m_arnHasBeenSet = false;
257
258 Aws::Vector<Aws::String> m_associatedStreamGroups;
259 bool m_associatedStreamGroupsHasBeenSet = false;
260
261 Aws::Utils::DateTime m_createdAt{};
262 bool m_createdAtHasBeenSet = false;
263
264 Aws::String m_description;
265 bool m_descriptionHasBeenSet = false;
266
267 Aws::String m_executablePath;
268 bool m_executablePathHasBeenSet = false;
269
270 Aws::String m_id;
271 bool m_idHasBeenSet = false;
272
273 Aws::Utils::DateTime m_lastUpdatedAt{};
274 bool m_lastUpdatedAtHasBeenSet = false;
275
276 Aws::Vector<ReplicationStatus> m_replicationStatuses;
277 bool m_replicationStatusesHasBeenSet = false;
278
279 RuntimeEnvironment m_runtimeEnvironment;
280 bool m_runtimeEnvironmentHasBeenSet = false;
281
283 bool m_statusHasBeenSet = false;
284
286 bool m_statusReasonHasBeenSet = false;
287
288 Aws::String m_requestId;
289 bool m_requestIdHasBeenSet = false;
290 };
291
292} // namespace Model
293} // namespace GameLiftStreams
294} // namespace Aws
CreateApplicationResult & WithApplicationLogPaths(ApplicationLogPathsT &&value)
CreateApplicationResult & WithApplicationSourceUri(ApplicationSourceUriT &&value)
CreateApplicationResult & WithStatus(ApplicationStatus value)
CreateApplicationResult & WithRequestId(RequestIdT &&value)
CreateApplicationResult & AddApplicationLogPaths(ApplicationLogPathsT &&value)
CreateApplicationResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Vector< Aws::String > & GetAssociatedStreamGroups() const
CreateApplicationResult & WithExecutablePath(ExecutablePathT &&value)
const Aws::Vector< Aws::String > & GetApplicationLogPaths() const
CreateApplicationResult & WithRuntimeEnvironment(RuntimeEnvironmentT &&value)
const Aws::Vector< ReplicationStatus > & GetReplicationStatuses() const
AWS_GAMELIFTSTREAMS_API CreateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApplicationSourceUri(ApplicationSourceUriT &&value)
CreateApplicationResult & WithAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
CreateApplicationResult & WithStatusReason(ApplicationStatusReason value)
CreateApplicationResult & AddReplicationStatuses(ReplicationStatusesT &&value)
AWS_GAMELIFTSTREAMS_API CreateApplicationResult()=default
CreateApplicationResult & WithApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
CreateApplicationResult & WithDescription(DescriptionT &&value)
CreateApplicationResult & WithReplicationStatuses(ReplicationStatusesT &&value)
CreateApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_GAMELIFTSTREAMS_API CreateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
void SetApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
CreateApplicationResult & AddAssociatedStreamGroups(AssociatedStreamGroupsT &&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