AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDeploymentResult.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/GrowthType.h>
10#include <aws/appconfig/model/DeploymentState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/appconfig/model/DeploymentEvent.h>
14#include <aws/appconfig/model/AppliedExtension.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 AppConfig
30{
31namespace Model
32{
34 {
35 public:
36 AWS_APPCONFIG_API GetDeploymentResult() = default;
39
40
42
45 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
46 template<typename ApplicationIdT = Aws::String>
47 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
48 template<typename ApplicationIdT = Aws::String>
49 GetDeploymentResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
57 template<typename EnvironmentIdT = Aws::String>
58 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
59 template<typename EnvironmentIdT = Aws::String>
60 GetDeploymentResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDeploymentStrategyId() const { return m_deploymentStrategyId; }
68 template<typename DeploymentStrategyIdT = Aws::String>
69 void SetDeploymentStrategyId(DeploymentStrategyIdT&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::forward<DeploymentStrategyIdT>(value); }
70 template<typename DeploymentStrategyIdT = Aws::String>
71 GetDeploymentResult& WithDeploymentStrategyId(DeploymentStrategyIdT&& value) { SetDeploymentStrategyId(std::forward<DeploymentStrategyIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
79 template<typename ConfigurationProfileIdT = Aws::String>
80 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value); }
81 template<typename ConfigurationProfileIdT = Aws::String>
82 GetDeploymentResult& WithConfigurationProfileId(ConfigurationProfileIdT&& value) { SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value)); return *this;}
84
86
89 inline int GetDeploymentNumber() const { return m_deploymentNumber; }
90 inline void SetDeploymentNumber(int value) { m_deploymentNumberHasBeenSet = true; m_deploymentNumber = value; }
91 inline GetDeploymentResult& WithDeploymentNumber(int value) { SetDeploymentNumber(value); return *this;}
93
95
98 inline const Aws::String& GetConfigurationName() const { return m_configurationName; }
99 template<typename ConfigurationNameT = Aws::String>
100 void SetConfigurationName(ConfigurationNameT&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::forward<ConfigurationNameT>(value); }
101 template<typename ConfigurationNameT = Aws::String>
102 GetDeploymentResult& WithConfigurationName(ConfigurationNameT&& value) { SetConfigurationName(std::forward<ConfigurationNameT>(value)); return *this;}
104
106
109 inline const Aws::String& GetConfigurationLocationUri() const { return m_configurationLocationUri; }
110 template<typename ConfigurationLocationUriT = Aws::String>
111 void SetConfigurationLocationUri(ConfigurationLocationUriT&& value) { m_configurationLocationUriHasBeenSet = true; m_configurationLocationUri = std::forward<ConfigurationLocationUriT>(value); }
112 template<typename ConfigurationLocationUriT = Aws::String>
113 GetDeploymentResult& WithConfigurationLocationUri(ConfigurationLocationUriT&& value) { SetConfigurationLocationUri(std::forward<ConfigurationLocationUriT>(value)); return *this;}
115
117
120 inline const Aws::String& GetConfigurationVersion() const { return m_configurationVersion; }
121 template<typename ConfigurationVersionT = Aws::String>
122 void SetConfigurationVersion(ConfigurationVersionT&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::forward<ConfigurationVersionT>(value); }
123 template<typename ConfigurationVersionT = Aws::String>
124 GetDeploymentResult& WithConfigurationVersion(ConfigurationVersionT&& value) { SetConfigurationVersion(std::forward<ConfigurationVersionT>(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 GetDeploymentResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
137
139
142 inline int GetDeploymentDurationInMinutes() const { return m_deploymentDurationInMinutes; }
143 inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
146
148
151 inline GrowthType GetGrowthType() const { return m_growthType; }
152 inline void SetGrowthType(GrowthType value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
153 inline GetDeploymentResult& WithGrowthType(GrowthType value) { SetGrowthType(value); return *this;}
155
157
161 inline double GetGrowthFactor() const { return m_growthFactor; }
162 inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
163 inline GetDeploymentResult& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
165
167
171 inline int GetFinalBakeTimeInMinutes() const { return m_finalBakeTimeInMinutes; }
172 inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
175
177
180 inline DeploymentState GetState() const { return m_state; }
181 inline void SetState(DeploymentState value) { m_stateHasBeenSet = true; m_state = value; }
182 inline GetDeploymentResult& WithState(DeploymentState value) { SetState(value); return *this;}
184
186
190 inline const Aws::Vector<DeploymentEvent>& GetEventLog() const { return m_eventLog; }
191 template<typename EventLogT = Aws::Vector<DeploymentEvent>>
192 void SetEventLog(EventLogT&& value) { m_eventLogHasBeenSet = true; m_eventLog = std::forward<EventLogT>(value); }
193 template<typename EventLogT = Aws::Vector<DeploymentEvent>>
194 GetDeploymentResult& WithEventLog(EventLogT&& value) { SetEventLog(std::forward<EventLogT>(value)); return *this;}
195 template<typename EventLogT = DeploymentEvent>
196 GetDeploymentResult& AddEventLog(EventLogT&& value) { m_eventLogHasBeenSet = true; m_eventLog.emplace_back(std::forward<EventLogT>(value)); return *this; }
198
200
203 inline double GetPercentageComplete() const { return m_percentageComplete; }
204 inline void SetPercentageComplete(double value) { m_percentageCompleteHasBeenSet = true; m_percentageComplete = value; }
205 inline GetDeploymentResult& WithPercentageComplete(double value) { SetPercentageComplete(value); return *this;}
207
209
212 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
213 template<typename StartedAtT = Aws::Utils::DateTime>
214 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
215 template<typename StartedAtT = Aws::Utils::DateTime>
216 GetDeploymentResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
218
220
223 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
224 template<typename CompletedAtT = Aws::Utils::DateTime>
225 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::forward<CompletedAtT>(value); }
226 template<typename CompletedAtT = Aws::Utils::DateTime>
227 GetDeploymentResult& WithCompletedAt(CompletedAtT&& value) { SetCompletedAt(std::forward<CompletedAtT>(value)); return *this;}
229
231
237 inline const Aws::Vector<AppliedExtension>& GetAppliedExtensions() const { return m_appliedExtensions; }
238 template<typename AppliedExtensionsT = Aws::Vector<AppliedExtension>>
239 void SetAppliedExtensions(AppliedExtensionsT&& value) { m_appliedExtensionsHasBeenSet = true; m_appliedExtensions = std::forward<AppliedExtensionsT>(value); }
240 template<typename AppliedExtensionsT = Aws::Vector<AppliedExtension>>
241 GetDeploymentResult& WithAppliedExtensions(AppliedExtensionsT&& value) { SetAppliedExtensions(std::forward<AppliedExtensionsT>(value)); return *this;}
242 template<typename AppliedExtensionsT = AppliedExtension>
243 GetDeploymentResult& AddAppliedExtensions(AppliedExtensionsT&& value) { m_appliedExtensionsHasBeenSet = true; m_appliedExtensions.emplace_back(std::forward<AppliedExtensionsT>(value)); return *this; }
245
247
254 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
255 template<typename KmsKeyArnT = Aws::String>
256 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
257 template<typename KmsKeyArnT = Aws::String>
258 GetDeploymentResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
260
262
266 inline const Aws::String& GetKmsKeyIdentifier() const { return m_kmsKeyIdentifier; }
267 template<typename KmsKeyIdentifierT = Aws::String>
268 void SetKmsKeyIdentifier(KmsKeyIdentifierT&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value); }
269 template<typename KmsKeyIdentifierT = Aws::String>
270 GetDeploymentResult& WithKmsKeyIdentifier(KmsKeyIdentifierT&& value) { SetKmsKeyIdentifier(std::forward<KmsKeyIdentifierT>(value)); return *this;}
272
274
277 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
278 template<typename VersionLabelT = Aws::String>
279 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
280 template<typename VersionLabelT = Aws::String>
281 GetDeploymentResult& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
283
285
286 inline const Aws::String& GetRequestId() const { return m_requestId; }
287 template<typename RequestIdT = Aws::String>
288 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
289 template<typename RequestIdT = Aws::String>
290 GetDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
292 private:
293
294 Aws::String m_applicationId;
295 bool m_applicationIdHasBeenSet = false;
296
297 Aws::String m_environmentId;
298 bool m_environmentIdHasBeenSet = false;
299
300 Aws::String m_deploymentStrategyId;
301 bool m_deploymentStrategyIdHasBeenSet = false;
302
303 Aws::String m_configurationProfileId;
304 bool m_configurationProfileIdHasBeenSet = false;
305
306 int m_deploymentNumber{0};
307 bool m_deploymentNumberHasBeenSet = false;
308
309 Aws::String m_configurationName;
310 bool m_configurationNameHasBeenSet = false;
311
312 Aws::String m_configurationLocationUri;
313 bool m_configurationLocationUriHasBeenSet = false;
314
315 Aws::String m_configurationVersion;
316 bool m_configurationVersionHasBeenSet = false;
317
318 Aws::String m_description;
319 bool m_descriptionHasBeenSet = false;
320
321 int m_deploymentDurationInMinutes{0};
322 bool m_deploymentDurationInMinutesHasBeenSet = false;
323
324 GrowthType m_growthType{GrowthType::NOT_SET};
325 bool m_growthTypeHasBeenSet = false;
326
327 double m_growthFactor{0.0};
328 bool m_growthFactorHasBeenSet = false;
329
330 int m_finalBakeTimeInMinutes{0};
331 bool m_finalBakeTimeInMinutesHasBeenSet = false;
332
334 bool m_stateHasBeenSet = false;
335
337 bool m_eventLogHasBeenSet = false;
338
339 double m_percentageComplete{0.0};
340 bool m_percentageCompleteHasBeenSet = false;
341
342 Aws::Utils::DateTime m_startedAt{};
343 bool m_startedAtHasBeenSet = false;
344
345 Aws::Utils::DateTime m_completedAt{};
346 bool m_completedAtHasBeenSet = false;
347
348 Aws::Vector<AppliedExtension> m_appliedExtensions;
349 bool m_appliedExtensionsHasBeenSet = false;
350
351 Aws::String m_kmsKeyArn;
352 bool m_kmsKeyArnHasBeenSet = false;
353
354 Aws::String m_kmsKeyIdentifier;
355 bool m_kmsKeyIdentifierHasBeenSet = false;
356
357 Aws::String m_versionLabel;
358 bool m_versionLabelHasBeenSet = false;
359
360 Aws::String m_requestId;
361 bool m_requestIdHasBeenSet = false;
362 };
363
364} // namespace Model
365} // namespace AppConfig
366} // namespace Aws
GetDeploymentResult & WithCompletedAt(CompletedAtT &&value)
GetDeploymentResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetConfigurationLocationUri() const
const Aws::String & GetConfigurationProfileId() const
const Aws::String & GetDeploymentStrategyId() const
void SetConfigurationName(ConfigurationNameT &&value)
const Aws::Vector< AppliedExtension > & GetAppliedExtensions() const
const Aws::Vector< DeploymentEvent > & GetEventLog() const
const Aws::Utils::DateTime & GetStartedAt() const
GetDeploymentResult & WithEnvironmentId(EnvironmentIdT &&value)
GetDeploymentResult & WithDescription(DescriptionT &&value)
GetDeploymentResult & WithConfigurationName(ConfigurationNameT &&value)
GetDeploymentResult & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
GetDeploymentResult & AddAppliedExtensions(AppliedExtensionsT &&value)
const Aws::String & GetConfigurationName() const
void SetAppliedExtensions(AppliedExtensionsT &&value)
GetDeploymentResult & WithPercentageComplete(double value)
const Aws::String & GetConfigurationVersion() const
void SetDeploymentStrategyId(DeploymentStrategyIdT &&value)
AWS_APPCONFIG_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithConfigurationVersion(ConfigurationVersionT &&value)
GetDeploymentResult & WithAppliedExtensions(AppliedExtensionsT &&value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
GetDeploymentResult & WithApplicationId(ApplicationIdT &&value)
void SetConfigurationVersion(ConfigurationVersionT &&value)
AWS_APPCONFIG_API GetDeploymentResult()=default
GetDeploymentResult & WithGrowthType(GrowthType value)
void SetConfigurationLocationUri(ConfigurationLocationUriT &&value)
AWS_APPCONFIG_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithConfigurationLocationUri(ConfigurationLocationUriT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
GetDeploymentResult & WithGrowthFactor(double value)
GetDeploymentResult & WithStartedAt(StartedAtT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
GetDeploymentResult & WithVersionLabel(VersionLabelT &&value)
GetDeploymentResult & WithKmsKeyArn(KmsKeyArnT &&value)
GetDeploymentResult & WithFinalBakeTimeInMinutes(int value)
GetDeploymentResult & WithRequestId(RequestIdT &&value)
GetDeploymentResult & WithDeploymentNumber(int value)
GetDeploymentResult & AddEventLog(EventLogT &&value)
GetDeploymentResult & WithState(DeploymentState value)
GetDeploymentResult & WithEventLog(EventLogT &&value)
GetDeploymentResult & WithDeploymentDurationInMinutes(int value)
GetDeploymentResult & WithDeploymentStrategyId(DeploymentStrategyIdT &&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