AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
UpdateApplicationResult.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/RuntimeEnvironment.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/gameliftstreams/model/ApplicationStatus.h>
12#include <aws/gameliftstreams/model/ApplicationStatusReason.h>
13#include <aws/core/utils/DateTime.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 UpdateApplicationResult() = default;
39
40
42
50 inline const Aws::String& GetArn() const { return m_arn; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 UpdateApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 UpdateApplicationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
81 inline const RuntimeEnvironment& GetRuntimeEnvironment() const { return m_runtimeEnvironment; }
82 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
83 void SetRuntimeEnvironment(RuntimeEnvironmentT&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::forward<RuntimeEnvironmentT>(value); }
84 template<typename RuntimeEnvironmentT = RuntimeEnvironment>
85 UpdateApplicationResult& WithRuntimeEnvironment(RuntimeEnvironmentT&& value) { SetRuntimeEnvironment(std::forward<RuntimeEnvironmentT>(value)); return *this;}
87
89
93 inline const Aws::String& GetExecutablePath() const { return m_executablePath; }
94 template<typename ExecutablePathT = Aws::String>
95 void SetExecutablePath(ExecutablePathT&& value) { m_executablePathHasBeenSet = true; m_executablePath = std::forward<ExecutablePathT>(value); }
96 template<typename ExecutablePathT = Aws::String>
97 UpdateApplicationResult& WithExecutablePath(ExecutablePathT&& value) { SetExecutablePath(std::forward<ExecutablePathT>(value)); return *this;}
99
101
109 inline const Aws::Vector<Aws::String>& GetApplicationLogPaths() const { return m_applicationLogPaths; }
110 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
111 void SetApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths = std::forward<ApplicationLogPathsT>(value); }
112 template<typename ApplicationLogPathsT = Aws::Vector<Aws::String>>
113 UpdateApplicationResult& WithApplicationLogPaths(ApplicationLogPathsT&& value) { SetApplicationLogPaths(std::forward<ApplicationLogPathsT>(value)); return *this;}
114 template<typename ApplicationLogPathsT = Aws::String>
115 UpdateApplicationResult& AddApplicationLogPaths(ApplicationLogPathsT&& value) { m_applicationLogPathsHasBeenSet = true; m_applicationLogPaths.emplace_back(std::forward<ApplicationLogPathsT>(value)); return *this; }
117
119
124 inline const Aws::String& GetApplicationLogOutputUri() const { return m_applicationLogOutputUri; }
125 template<typename ApplicationLogOutputUriT = Aws::String>
126 void SetApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { m_applicationLogOutputUriHasBeenSet = true; m_applicationLogOutputUri = std::forward<ApplicationLogOutputUriT>(value); }
127 template<typename ApplicationLogOutputUriT = Aws::String>
128 UpdateApplicationResult& WithApplicationLogOutputUri(ApplicationLogOutputUriT&& value) { SetApplicationLogOutputUri(std::forward<ApplicationLogOutputUriT>(value)); return *this;}
130
132
136 inline const Aws::String& GetApplicationSourceUri() const { return m_applicationSourceUri; }
137 template<typename ApplicationSourceUriT = Aws::String>
138 void SetApplicationSourceUri(ApplicationSourceUriT&& value) { m_applicationSourceUriHasBeenSet = true; m_applicationSourceUri = std::forward<ApplicationSourceUriT>(value); }
139 template<typename ApplicationSourceUriT = Aws::String>
140 UpdateApplicationResult& WithApplicationSourceUri(ApplicationSourceUriT&& value) { SetApplicationSourceUri(std::forward<ApplicationSourceUriT>(value)); return *this;}
142
144
148 inline const Aws::String& GetId() const { return m_id; }
149 template<typename IdT = Aws::String>
150 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
151 template<typename IdT = Aws::String>
152 UpdateApplicationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
154
156
169 inline ApplicationStatus GetStatus() const { return m_status; }
170 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
171 inline UpdateApplicationResult& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
173
175
179 inline ApplicationStatusReason GetStatusReason() const { return m_statusReason; }
180 inline void SetStatusReason(ApplicationStatusReason value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
183
185
188 inline const Aws::Vector<ReplicationStatus>& GetReplicationStatuses() const { return m_replicationStatuses; }
189 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
190 void SetReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses = std::forward<ReplicationStatusesT>(value); }
191 template<typename ReplicationStatusesT = Aws::Vector<ReplicationStatus>>
192 UpdateApplicationResult& WithReplicationStatuses(ReplicationStatusesT&& value) { SetReplicationStatuses(std::forward<ReplicationStatusesT>(value)); return *this;}
193 template<typename ReplicationStatusesT = ReplicationStatus>
194 UpdateApplicationResult& AddReplicationStatuses(ReplicationStatusesT&& value) { m_replicationStatusesHasBeenSet = true; m_replicationStatuses.emplace_back(std::forward<ReplicationStatusesT>(value)); return *this; }
196
198
203 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
204 template<typename CreatedAtT = Aws::Utils::DateTime>
205 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
206 template<typename CreatedAtT = Aws::Utils::DateTime>
207 UpdateApplicationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
209
211
216 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
217 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
218 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
219 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
220 UpdateApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
222
224
234 inline const Aws::Vector<Aws::String>& GetAssociatedStreamGroups() const { return m_associatedStreamGroups; }
235 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
236 void SetAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups = std::forward<AssociatedStreamGroupsT>(value); }
237 template<typename AssociatedStreamGroupsT = Aws::Vector<Aws::String>>
238 UpdateApplicationResult& WithAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { SetAssociatedStreamGroups(std::forward<AssociatedStreamGroupsT>(value)); return *this;}
239 template<typename AssociatedStreamGroupsT = Aws::String>
240 UpdateApplicationResult& AddAssociatedStreamGroups(AssociatedStreamGroupsT&& value) { m_associatedStreamGroupsHasBeenSet = true; m_associatedStreamGroups.emplace_back(std::forward<AssociatedStreamGroupsT>(value)); return *this; }
242
244
245 inline const Aws::String& GetRequestId() const { return m_requestId; }
246 template<typename RequestIdT = Aws::String>
247 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
248 template<typename RequestIdT = Aws::String>
249 UpdateApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
251 private:
252
253 Aws::String m_arn;
254 bool m_arnHasBeenSet = false;
255
256 Aws::String m_description;
257 bool m_descriptionHasBeenSet = false;
258
259 RuntimeEnvironment m_runtimeEnvironment;
260 bool m_runtimeEnvironmentHasBeenSet = false;
261
262 Aws::String m_executablePath;
263 bool m_executablePathHasBeenSet = false;
264
265 Aws::Vector<Aws::String> m_applicationLogPaths;
266 bool m_applicationLogPathsHasBeenSet = false;
267
268 Aws::String m_applicationLogOutputUri;
269 bool m_applicationLogOutputUriHasBeenSet = false;
270
271 Aws::String m_applicationSourceUri;
272 bool m_applicationSourceUriHasBeenSet = false;
273
274 Aws::String m_id;
275 bool m_idHasBeenSet = false;
276
278 bool m_statusHasBeenSet = false;
279
281 bool m_statusReasonHasBeenSet = false;
282
283 Aws::Vector<ReplicationStatus> m_replicationStatuses;
284 bool m_replicationStatusesHasBeenSet = false;
285
286 Aws::Utils::DateTime m_createdAt{};
287 bool m_createdAtHasBeenSet = false;
288
289 Aws::Utils::DateTime m_lastUpdatedAt{};
290 bool m_lastUpdatedAtHasBeenSet = false;
291
292 Aws::Vector<Aws::String> m_associatedStreamGroups;
293 bool m_associatedStreamGroupsHasBeenSet = false;
294
295 Aws::String m_requestId;
296 bool m_requestIdHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace GameLiftStreams
301} // namespace Aws
UpdateApplicationResult & WithStatus(ApplicationStatus value)
void SetAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
void SetApplicationLogOutputUri(ApplicationLogOutputUriT &&value)
const Aws::Vector< Aws::String > & GetApplicationLogPaths() const
UpdateApplicationResult & WithAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
UpdateApplicationResult & WithDescription(DescriptionT &&value)
UpdateApplicationResult & WithApplicationSourceUri(ApplicationSourceUriT &&value)
AWS_GAMELIFTSTREAMS_API UpdateApplicationResult()=default
const Aws::Vector< Aws::String > & GetAssociatedStreamGroups() const
UpdateApplicationResult & WithRuntimeEnvironment(RuntimeEnvironmentT &&value)
UpdateApplicationResult & AddAssociatedStreamGroups(AssociatedStreamGroupsT &&value)
UpdateApplicationResult & WithReplicationStatuses(ReplicationStatusesT &&value)
UpdateApplicationResult & WithExecutablePath(ExecutablePathT &&value)
UpdateApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateApplicationResult & AddApplicationLogPaths(ApplicationLogPathsT &&value)
UpdateApplicationResult & WithCreatedAt(CreatedAtT &&value)
AWS_GAMELIFTSTREAMS_API UpdateApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationResult & AddReplicationStatuses(ReplicationStatusesT &&value)
AWS_GAMELIFTSTREAMS_API UpdateApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApplicationResult & WithStatusReason(ApplicationStatusReason value)
const Aws::Vector< ReplicationStatus > & GetReplicationStatuses() const
UpdateApplicationResult & WithApplicationLogPaths(ApplicationLogPathsT &&value)
UpdateApplicationResult & WithRequestId(RequestIdT &&value)
UpdateApplicationResult & WithApplicationLogOutputUri(ApplicationLogOutputUriT &&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