AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartDeploymentResult.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 StartDeploymentResult();
39
40
42
45 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
46 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
47 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
48 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
49 inline StartDeploymentResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
50 inline StartDeploymentResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
51 inline StartDeploymentResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
53
55
58 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
59 inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
60 inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
61 inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
62 inline StartDeploymentResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
63 inline StartDeploymentResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
64 inline StartDeploymentResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
66
68
71 inline const Aws::String& GetDeploymentStrategyId() const{ return m_deploymentStrategyId; }
72 inline void SetDeploymentStrategyId(const Aws::String& value) { m_deploymentStrategyId = value; }
73 inline void SetDeploymentStrategyId(Aws::String&& value) { m_deploymentStrategyId = std::move(value); }
74 inline void SetDeploymentStrategyId(const char* value) { m_deploymentStrategyId.assign(value); }
76 inline StartDeploymentResult& WithDeploymentStrategyId(Aws::String&& value) { SetDeploymentStrategyId(std::move(value)); return *this;}
77 inline StartDeploymentResult& WithDeploymentStrategyId(const char* value) { SetDeploymentStrategyId(value); return *this;}
79
81
84 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
85 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileId = value; }
86 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileId = std::move(value); }
87 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileId.assign(value); }
90 inline StartDeploymentResult& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
92
94
97 inline int GetDeploymentNumber() const{ return m_deploymentNumber; }
98 inline void SetDeploymentNumber(int value) { m_deploymentNumber = value; }
99 inline StartDeploymentResult& WithDeploymentNumber(int value) { SetDeploymentNumber(value); return *this;}
101
103
106 inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
107 inline void SetConfigurationName(const Aws::String& value) { m_configurationName = value; }
108 inline void SetConfigurationName(Aws::String&& value) { m_configurationName = std::move(value); }
109 inline void SetConfigurationName(const char* value) { m_configurationName.assign(value); }
111 inline StartDeploymentResult& WithConfigurationName(Aws::String&& value) { SetConfigurationName(std::move(value)); return *this;}
112 inline StartDeploymentResult& WithConfigurationName(const char* value) { SetConfigurationName(value); return *this;}
114
116
119 inline const Aws::String& GetConfigurationLocationUri() const{ return m_configurationLocationUri; }
120 inline void SetConfigurationLocationUri(const Aws::String& value) { m_configurationLocationUri = value; }
121 inline void SetConfigurationLocationUri(Aws::String&& value) { m_configurationLocationUri = std::move(value); }
122 inline void SetConfigurationLocationUri(const char* value) { m_configurationLocationUri.assign(value); }
125 inline StartDeploymentResult& WithConfigurationLocationUri(const char* value) { SetConfigurationLocationUri(value); return *this;}
127
129
132 inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; }
133 inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersion = value; }
134 inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersion = std::move(value); }
135 inline void SetConfigurationVersion(const char* value) { m_configurationVersion.assign(value); }
137 inline StartDeploymentResult& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;}
138 inline StartDeploymentResult& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;}
140
142
145 inline const Aws::String& GetDescription() const{ return m_description; }
146 inline void SetDescription(const Aws::String& value) { m_description = value; }
147 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
148 inline void SetDescription(const char* value) { m_description.assign(value); }
149 inline StartDeploymentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
150 inline StartDeploymentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 inline StartDeploymentResult& WithDescription(const char* value) { SetDescription(value); return *this;}
153
155
158 inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
159 inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutes = value; }
162
164
167 inline const GrowthType& GetGrowthType() const{ return m_growthType; }
168 inline void SetGrowthType(const GrowthType& value) { m_growthType = value; }
169 inline void SetGrowthType(GrowthType&& value) { m_growthType = std::move(value); }
170 inline StartDeploymentResult& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
171 inline StartDeploymentResult& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
173
175
179 inline double GetGrowthFactor() const{ return m_growthFactor; }
180 inline void SetGrowthFactor(double value) { m_growthFactor = value; }
181 inline StartDeploymentResult& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
183
185
189 inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
190 inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutes = value; }
193
195
198 inline const DeploymentState& GetState() const{ return m_state; }
199 inline void SetState(const DeploymentState& value) { m_state = value; }
200 inline void SetState(DeploymentState&& value) { m_state = std::move(value); }
201 inline StartDeploymentResult& WithState(const DeploymentState& value) { SetState(value); return *this;}
202 inline StartDeploymentResult& WithState(DeploymentState&& value) { SetState(std::move(value)); return *this;}
204
206
210 inline const Aws::Vector<DeploymentEvent>& GetEventLog() const{ return m_eventLog; }
211 inline void SetEventLog(const Aws::Vector<DeploymentEvent>& value) { m_eventLog = value; }
212 inline void SetEventLog(Aws::Vector<DeploymentEvent>&& value) { m_eventLog = std::move(value); }
213 inline StartDeploymentResult& WithEventLog(const Aws::Vector<DeploymentEvent>& value) { SetEventLog(value); return *this;}
214 inline StartDeploymentResult& WithEventLog(Aws::Vector<DeploymentEvent>&& value) { SetEventLog(std::move(value)); return *this;}
215 inline StartDeploymentResult& AddEventLog(const DeploymentEvent& value) { m_eventLog.push_back(value); return *this; }
216 inline StartDeploymentResult& AddEventLog(DeploymentEvent&& value) { m_eventLog.push_back(std::move(value)); return *this; }
218
220
223 inline double GetPercentageComplete() const{ return m_percentageComplete; }
224 inline void SetPercentageComplete(double value) { m_percentageComplete = value; }
225 inline StartDeploymentResult& WithPercentageComplete(double value) { SetPercentageComplete(value); return *this;}
227
229
232 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
233 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
234 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
235 inline StartDeploymentResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
236 inline StartDeploymentResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
238
240
243 inline const Aws::Utils::DateTime& GetCompletedAt() const{ return m_completedAt; }
244 inline void SetCompletedAt(const Aws::Utils::DateTime& value) { m_completedAt = value; }
245 inline void SetCompletedAt(Aws::Utils::DateTime&& value) { m_completedAt = std::move(value); }
246 inline StartDeploymentResult& WithCompletedAt(const Aws::Utils::DateTime& value) { SetCompletedAt(value); return *this;}
247 inline StartDeploymentResult& WithCompletedAt(Aws::Utils::DateTime&& value) { SetCompletedAt(std::move(value)); return *this;}
249
251
257 inline const Aws::Vector<AppliedExtension>& GetAppliedExtensions() const{ return m_appliedExtensions; }
258 inline void SetAppliedExtensions(const Aws::Vector<AppliedExtension>& value) { m_appliedExtensions = value; }
259 inline void SetAppliedExtensions(Aws::Vector<AppliedExtension>&& value) { m_appliedExtensions = std::move(value); }
262 inline StartDeploymentResult& AddAppliedExtensions(const AppliedExtension& value) { m_appliedExtensions.push_back(value); return *this; }
263 inline StartDeploymentResult& AddAppliedExtensions(AppliedExtension&& value) { m_appliedExtensions.push_back(std::move(value)); return *this; }
265
267
274 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
275 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
276 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
277 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
278 inline StartDeploymentResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
279 inline StartDeploymentResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
280 inline StartDeploymentResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
282
284
288 inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
289 inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifier = value; }
290 inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifier = std::move(value); }
291 inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifier.assign(value); }
292 inline StartDeploymentResult& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
293 inline StartDeploymentResult& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
294 inline StartDeploymentResult& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
296
298
301 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
302 inline void SetVersionLabel(const Aws::String& value) { m_versionLabel = value; }
303 inline void SetVersionLabel(Aws::String&& value) { m_versionLabel = std::move(value); }
304 inline void SetVersionLabel(const char* value) { m_versionLabel.assign(value); }
305 inline StartDeploymentResult& WithVersionLabel(const Aws::String& value) { SetVersionLabel(value); return *this;}
306 inline StartDeploymentResult& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
307 inline StartDeploymentResult& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
309
311
312 inline const Aws::String& GetRequestId() const{ return m_requestId; }
313 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
314 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
315 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
316 inline StartDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
317 inline StartDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
318 inline StartDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
320 private:
321
322 Aws::String m_applicationId;
323
324 Aws::String m_environmentId;
325
326 Aws::String m_deploymentStrategyId;
327
328 Aws::String m_configurationProfileId;
329
330 int m_deploymentNumber;
331
332 Aws::String m_configurationName;
333
334 Aws::String m_configurationLocationUri;
335
336 Aws::String m_configurationVersion;
337
338 Aws::String m_description;
339
340 int m_deploymentDurationInMinutes;
341
342 GrowthType m_growthType;
343
344 double m_growthFactor;
345
346 int m_finalBakeTimeInMinutes;
347
348 DeploymentState m_state;
349
351
352 double m_percentageComplete;
353
354 Aws::Utils::DateTime m_startedAt;
355
356 Aws::Utils::DateTime m_completedAt;
357
358 Aws::Vector<AppliedExtension> m_appliedExtensions;
359
360 Aws::String m_kmsKeyArn;
361
362 Aws::String m_kmsKeyIdentifier;
363
364 Aws::String m_versionLabel;
365
366 Aws::String m_requestId;
367 };
368
369} // namespace Model
370} // namespace AppConfig
371} // namespace Aws
StartDeploymentResult & WithDescription(const char *value)
void SetConfigurationVersion(const Aws::String &value)
StartDeploymentResult & WithConfigurationLocationUri(const char *value)
StartDeploymentResult & WithKmsKeyArn(Aws::String &&value)
StartDeploymentResult & WithConfigurationVersion(const Aws::String &value)
const Aws::Vector< DeploymentEvent > & GetEventLog() const
StartDeploymentResult & WithConfigurationProfileId(const Aws::String &value)
StartDeploymentResult & AddEventLog(const DeploymentEvent &value)
StartDeploymentResult & WithConfigurationName(const char *value)
StartDeploymentResult & WithKmsKeyArn(const Aws::String &value)
void SetConfigurationLocationUri(const Aws::String &value)
StartDeploymentResult & WithVersionLabel(const Aws::String &value)
StartDeploymentResult & WithKmsKeyIdentifier(const char *value)
StartDeploymentResult & WithEnvironmentId(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
StartDeploymentResult & WithConfigurationLocationUri(const Aws::String &value)
StartDeploymentResult & WithConfigurationVersion(Aws::String &&value)
StartDeploymentResult & WithRequestId(Aws::String &&value)
StartDeploymentResult & WithEventLog(const Aws::Vector< DeploymentEvent > &value)
StartDeploymentResult & WithKmsKeyIdentifier(Aws::String &&value)
StartDeploymentResult & AddAppliedExtensions(const AppliedExtension &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
StartDeploymentResult & WithRequestId(const Aws::String &value)
StartDeploymentResult & WithCompletedAt(Aws::Utils::DateTime &&value)
StartDeploymentResult & WithEnvironmentId(const Aws::String &value)
StartDeploymentResult & WithDeploymentStrategyId(const char *value)
StartDeploymentResult & WithConfigurationLocationUri(Aws::String &&value)
AWS_APPCONFIG_API StartDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeploymentStrategyId(const Aws::String &value)
StartDeploymentResult & WithKmsKeyArn(const char *value)
AWS_APPCONFIG_API StartDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDeploymentResult & WithGrowthFactor(double value)
StartDeploymentResult & WithConfigurationProfileId(const char *value)
StartDeploymentResult & WithPercentageComplete(double value)
StartDeploymentResult & WithAppliedExtensions(const Aws::Vector< AppliedExtension > &value)
StartDeploymentResult & WithDeploymentStrategyId(Aws::String &&value)
StartDeploymentResult & WithDeploymentDurationInMinutes(int value)
void SetEventLog(Aws::Vector< DeploymentEvent > &&value)
StartDeploymentResult & WithVersionLabel(const char *value)
StartDeploymentResult & WithRequestId(const char *value)
StartDeploymentResult & WithState(const DeploymentState &value)
StartDeploymentResult & WithDescription(Aws::String &&value)
StartDeploymentResult & WithConfigurationProfileId(Aws::String &&value)
StartDeploymentResult & WithConfigurationName(Aws::String &&value)
StartDeploymentResult & WithFinalBakeTimeInMinutes(int value)
void SetAppliedExtensions(const Aws::Vector< AppliedExtension > &value)
StartDeploymentResult & WithConfigurationVersion(const char *value)
StartDeploymentResult & WithCompletedAt(const Aws::Utils::DateTime &value)
void SetState(const DeploymentState &value)
StartDeploymentResult & WithConfigurationName(const Aws::String &value)
StartDeploymentResult & WithAppliedExtensions(Aws::Vector< AppliedExtension > &&value)
StartDeploymentResult & WithEnvironmentId(const char *value)
StartDeploymentResult & WithDeploymentStrategyId(const Aws::String &value)
StartDeploymentResult & WithKmsKeyIdentifier(const Aws::String &value)
StartDeploymentResult & WithApplicationId(const Aws::String &value)
StartDeploymentResult & WithGrowthType(const GrowthType &value)
StartDeploymentResult & WithState(DeploymentState &&value)
const Aws::Utils::DateTime & GetStartedAt() const
StartDeploymentResult & WithGrowthType(GrowthType &&value)
StartDeploymentResult & WithDeploymentNumber(int value)
void SetEventLog(const Aws::Vector< DeploymentEvent > &value)
const Aws::Vector< AppliedExtension > & GetAppliedExtensions() const
void SetConfigurationName(const Aws::String &value)
void SetConfigurationProfileId(const Aws::String &value)
StartDeploymentResult & WithDescription(const Aws::String &value)
void SetCompletedAt(const Aws::Utils::DateTime &value)
StartDeploymentResult & WithStartedAt(const Aws::Utils::DateTime &value)
StartDeploymentResult & WithEventLog(Aws::Vector< DeploymentEvent > &&value)
StartDeploymentResult & WithStartedAt(Aws::Utils::DateTime &&value)
void SetCompletedAt(Aws::Utils::DateTime &&value)
void SetAppliedExtensions(Aws::Vector< AppliedExtension > &&value)
StartDeploymentResult & AddAppliedExtensions(AppliedExtension &&value)
StartDeploymentResult & WithVersionLabel(Aws::String &&value)
StartDeploymentResult & WithApplicationId(Aws::String &&value)
StartDeploymentResult & WithApplicationId(const char *value)
const Aws::Utils::DateTime & GetCompletedAt() const
StartDeploymentResult & AddEventLog(DeploymentEvent &&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