AWS SDK for C++  1.9.110
AWS SDK for C++
DeploymentSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppConfig
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline int GetDeploymentNumber() const{ return m_deploymentNumber; }
47 
51  inline bool DeploymentNumberHasBeenSet() const { return m_deploymentNumberHasBeenSet; }
52 
56  inline void SetDeploymentNumber(int value) { m_deploymentNumberHasBeenSet = true; m_deploymentNumber = value; }
57 
61  inline DeploymentSummary& WithDeploymentNumber(int value) { SetDeploymentNumber(value); return *this;}
62 
63 
67  inline const Aws::String& GetConfigurationName() const{ return m_configurationName; }
68 
72  inline bool ConfigurationNameHasBeenSet() const { return m_configurationNameHasBeenSet; }
73 
77  inline void SetConfigurationName(const Aws::String& value) { m_configurationNameHasBeenSet = true; m_configurationName = value; }
78 
82  inline void SetConfigurationName(Aws::String&& value) { m_configurationNameHasBeenSet = true; m_configurationName = std::move(value); }
83 
87  inline void SetConfigurationName(const char* value) { m_configurationNameHasBeenSet = true; m_configurationName.assign(value); }
88 
92  inline DeploymentSummary& WithConfigurationName(const Aws::String& value) { SetConfigurationName(value); return *this;}
93 
97  inline DeploymentSummary& WithConfigurationName(Aws::String&& value) { SetConfigurationName(std::move(value)); return *this;}
98 
102  inline DeploymentSummary& WithConfigurationName(const char* value) { SetConfigurationName(value); return *this;}
103 
104 
108  inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; }
109 
113  inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
114 
118  inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = value; }
119 
123  inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::move(value); }
124 
128  inline void SetConfigurationVersion(const char* value) { m_configurationVersionHasBeenSet = true; m_configurationVersion.assign(value); }
129 
133  inline DeploymentSummary& WithConfigurationVersion(const Aws::String& value) { SetConfigurationVersion(value); return *this;}
134 
138  inline DeploymentSummary& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;}
139 
143  inline DeploymentSummary& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;}
144 
145 
149  inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
150 
154  inline bool DeploymentDurationInMinutesHasBeenSet() const { return m_deploymentDurationInMinutesHasBeenSet; }
155 
159  inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
160 
164  inline DeploymentSummary& WithDeploymentDurationInMinutes(int value) { SetDeploymentDurationInMinutes(value); return *this;}
165 
166 
170  inline const GrowthType& GetGrowthType() const{ return m_growthType; }
171 
175  inline bool GrowthTypeHasBeenSet() const { return m_growthTypeHasBeenSet; }
176 
180  inline void SetGrowthType(const GrowthType& value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
181 
185  inline void SetGrowthType(GrowthType&& value) { m_growthTypeHasBeenSet = true; m_growthType = std::move(value); }
186 
190  inline DeploymentSummary& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
191 
195  inline DeploymentSummary& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
196 
197 
202  inline double GetGrowthFactor() const{ return m_growthFactor; }
203 
208  inline bool GrowthFactorHasBeenSet() const { return m_growthFactorHasBeenSet; }
209 
214  inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
215 
220  inline DeploymentSummary& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
221 
222 
227  inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
228 
233  inline bool FinalBakeTimeInMinutesHasBeenSet() const { return m_finalBakeTimeInMinutesHasBeenSet; }
234 
239  inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
240 
245  inline DeploymentSummary& WithFinalBakeTimeInMinutes(int value) { SetFinalBakeTimeInMinutes(value); return *this;}
246 
247 
251  inline const DeploymentState& GetState() const{ return m_state; }
252 
256  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
257 
261  inline void SetState(const DeploymentState& value) { m_stateHasBeenSet = true; m_state = value; }
262 
266  inline void SetState(DeploymentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
267 
271  inline DeploymentSummary& WithState(const DeploymentState& value) { SetState(value); return *this;}
272 
276  inline DeploymentSummary& WithState(DeploymentState&& value) { SetState(std::move(value)); return *this;}
277 
278 
282  inline double GetPercentageComplete() const{ return m_percentageComplete; }
283 
287  inline bool PercentageCompleteHasBeenSet() const { return m_percentageCompleteHasBeenSet; }
288 
292  inline void SetPercentageComplete(double value) { m_percentageCompleteHasBeenSet = true; m_percentageComplete = value; }
293 
297  inline DeploymentSummary& WithPercentageComplete(double value) { SetPercentageComplete(value); return *this;}
298 
299 
303  inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
304 
308  inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
309 
313  inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
314 
318  inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
319 
323  inline DeploymentSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
324 
328  inline DeploymentSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
329 
330 
334  inline const Aws::Utils::DateTime& GetCompletedAt() const{ return m_completedAt; }
335 
339  inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
340 
344  inline void SetCompletedAt(const Aws::Utils::DateTime& value) { m_completedAtHasBeenSet = true; m_completedAt = value; }
345 
349  inline void SetCompletedAt(Aws::Utils::DateTime&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::move(value); }
350 
354  inline DeploymentSummary& WithCompletedAt(const Aws::Utils::DateTime& value) { SetCompletedAt(value); return *this;}
355 
359  inline DeploymentSummary& WithCompletedAt(Aws::Utils::DateTime&& value) { SetCompletedAt(std::move(value)); return *this;}
360 
361  private:
362 
363  int m_deploymentNumber;
364  bool m_deploymentNumberHasBeenSet;
365 
366  Aws::String m_configurationName;
367  bool m_configurationNameHasBeenSet;
368 
369  Aws::String m_configurationVersion;
370  bool m_configurationVersionHasBeenSet;
371 
372  int m_deploymentDurationInMinutes;
373  bool m_deploymentDurationInMinutesHasBeenSet;
374 
375  GrowthType m_growthType;
376  bool m_growthTypeHasBeenSet;
377 
378  double m_growthFactor;
379  bool m_growthFactorHasBeenSet;
380 
381  int m_finalBakeTimeInMinutes;
382  bool m_finalBakeTimeInMinutesHasBeenSet;
383 
384  DeploymentState m_state;
385  bool m_stateHasBeenSet;
386 
387  double m_percentageComplete;
388  bool m_percentageCompleteHasBeenSet;
389 
390  Aws::Utils::DateTime m_startedAt;
391  bool m_startedAtHasBeenSet;
392 
393  Aws::Utils::DateTime m_completedAt;
394  bool m_completedAtHasBeenSet;
395  };
396 
397 } // namespace Model
398 } // namespace AppConfig
399 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppConfig::Model::DeploymentSummary::SetDeploymentDurationInMinutes
void SetDeploymentDurationInMinutes(int value)
Definition: DeploymentSummary.h:159
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationVersion
void SetConfigurationVersion(const char *value)
Definition: DeploymentSummary.h:128
Aws::AppConfig::Model::DeploymentSummary::CompletedAtHasBeenSet
bool CompletedAtHasBeenSet() const
Definition: DeploymentSummary.h:339
Aws::AppConfig::Model::DeploymentSummary::GetDeploymentDurationInMinutes
int GetDeploymentDurationInMinutes() const
Definition: DeploymentSummary.h:149
Aws::AppConfig::Model::DeploymentSummary::FinalBakeTimeInMinutesHasBeenSet
bool FinalBakeTimeInMinutesHasBeenSet() const
Definition: DeploymentSummary.h:233
Aws::AppConfig::Model::DeploymentSummary::SetStartedAt
void SetStartedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentSummary.h:313
Aws::AppConfig::Model::DeploymentSummary::StartedAtHasBeenSet
bool StartedAtHasBeenSet() const
Definition: DeploymentSummary.h:308
Aws::AppConfig::Model::DeploymentSummary::SetCompletedAt
void SetCompletedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentSummary.h:344
Aws::AppConfig::Model::DeploymentSummary::WithStartedAt
DeploymentSummary & WithStartedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentSummary.h:328
Aws::AppConfig::Model::DeploymentSummary::WithCompletedAt
DeploymentSummary & WithCompletedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentSummary.h:354
Aws::AppConfig::Model::DeploymentState
DeploymentState
Definition: DeploymentState.h:17
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationName
DeploymentSummary & WithConfigurationName(const Aws::String &value)
Definition: DeploymentSummary.h:92
Aws::AppConfig::Model::DeploymentSummary::GetGrowthFactor
double GetGrowthFactor() const
Definition: DeploymentSummary.h:202
Aws::AppConfig::Model::DeploymentSummary::ConfigurationVersionHasBeenSet
bool ConfigurationVersionHasBeenSet() const
Definition: DeploymentSummary.h:113
DateTime.h
Aws::AppConfig::Model::DeploymentSummary::DeploymentSummary
DeploymentSummary()
GrowthType.h
Aws::AppConfig::Model::DeploymentSummary::WithGrowthType
DeploymentSummary & WithGrowthType(GrowthType &&value)
Definition: DeploymentSummary.h:195
Aws::AppConfig::Model::DeploymentSummary::WithDeploymentDurationInMinutes
DeploymentSummary & WithDeploymentDurationInMinutes(int value)
Definition: DeploymentSummary.h:164
Aws::AppConfig::Model::DeploymentSummary::WithFinalBakeTimeInMinutes
DeploymentSummary & WithFinalBakeTimeInMinutes(int value)
Definition: DeploymentSummary.h:245
Aws::AppConfig::Model::DeploymentSummary::GetPercentageComplete
double GetPercentageComplete() const
Definition: DeploymentSummary.h:282
Aws::AppConfig::Model::DeploymentSummary::GetStartedAt
const Aws::Utils::DateTime & GetStartedAt() const
Definition: DeploymentSummary.h:303
Aws::AppConfig::Model::DeploymentSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::DeploymentSummary::WithGrowthType
DeploymentSummary & WithGrowthType(const GrowthType &value)
Definition: DeploymentSummary.h:190
Aws::AppConfig::Model::DeploymentSummary::GetConfigurationVersion
const Aws::String & GetConfigurationVersion() const
Definition: DeploymentSummary.h:108
Aws::AppConfig::Model::DeploymentSummary::DeploymentDurationInMinutesHasBeenSet
bool DeploymentDurationInMinutesHasBeenSet() const
Definition: DeploymentSummary.h:154
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationName
DeploymentSummary & WithConfigurationName(Aws::String &&value)
Definition: DeploymentSummary.h:97
Aws::AppConfig::Model::DeploymentSummary::SetGrowthType
void SetGrowthType(const GrowthType &value)
Definition: DeploymentSummary.h:180
Aws::AppConfig::Model::DeploymentSummary::GrowthTypeHasBeenSet
bool GrowthTypeHasBeenSet() const
Definition: DeploymentSummary.h:175
Aws::AppConfig::Model::DeploymentSummary::WithStartedAt
DeploymentSummary & WithStartedAt(const Aws::Utils::DateTime &value)
Definition: DeploymentSummary.h:323
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationVersion
DeploymentSummary & WithConfigurationVersion(const Aws::String &value)
Definition: DeploymentSummary.h:133
AppConfig_EXPORTS.h
Aws::AppConfig::Model::DeploymentSummary::WithDeploymentNumber
DeploymentSummary & WithDeploymentNumber(int value)
Definition: DeploymentSummary.h:61
Aws::AppConfig::Model::DeploymentSummary::WithPercentageComplete
DeploymentSummary & WithPercentageComplete(double value)
Definition: DeploymentSummary.h:297
Aws::AppConfig::Model::DeploymentSummary::SetState
void SetState(DeploymentState &&value)
Definition: DeploymentSummary.h:266
Aws::AppConfig::Model::DeploymentSummary::GetDeploymentNumber
int GetDeploymentNumber() const
Definition: DeploymentSummary.h:46
Aws::AppConfig::Model::DeploymentSummary::SetDeploymentNumber
void SetDeploymentNumber(int value)
Definition: DeploymentSummary.h:56
Aws::AppConfig::Model::DeploymentSummary::GetState
const DeploymentState & GetState() const
Definition: DeploymentSummary.h:251
Aws::AppConfig::Model::DeploymentSummary::WithGrowthFactor
DeploymentSummary & WithGrowthFactor(double value)
Definition: DeploymentSummary.h:220
Aws::AppConfig::Model::DeploymentSummary::DeploymentNumberHasBeenSet
bool DeploymentNumberHasBeenSet() const
Definition: DeploymentSummary.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppConfig::Model::DeploymentSummary::PercentageCompleteHasBeenSet
bool PercentageCompleteHasBeenSet() const
Definition: DeploymentSummary.h:287
Aws::AppConfig::Model::GrowthType
GrowthType
Definition: GrowthType.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::DeploymentSummary::operator=
DeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::DeploymentSummary::SetPercentageComplete
void SetPercentageComplete(double value)
Definition: DeploymentSummary.h:292
Aws::AppConfig::Model::DeploymentSummary::GetFinalBakeTimeInMinutes
int GetFinalBakeTimeInMinutes() const
Definition: DeploymentSummary.h:227
Aws::AppConfig::Model::DeploymentSummary::SetFinalBakeTimeInMinutes
void SetFinalBakeTimeInMinutes(int value)
Definition: DeploymentSummary.h:239
Aws::AppConfig::Model::DeploymentSummary::StateHasBeenSet
bool StateHasBeenSet() const
Definition: DeploymentSummary.h:256
Aws::AppConfig::Model::DeploymentSummary::ConfigurationNameHasBeenSet
bool ConfigurationNameHasBeenSet() const
Definition: DeploymentSummary.h:72
Aws::AppConfig::Model::DeploymentSummary::SetState
void SetState(const DeploymentState &value)
Definition: DeploymentSummary.h:261
DeploymentState.h
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationVersion
void SetConfigurationVersion(Aws::String &&value)
Definition: DeploymentSummary.h:123
Aws::AppConfig::Model::DeploymentSummary::WithState
DeploymentSummary & WithState(DeploymentState &&value)
Definition: DeploymentSummary.h:276
Aws::AppConfig::Model::DeploymentSummary::GetConfigurationName
const Aws::String & GetConfigurationName() const
Definition: DeploymentSummary.h:67
Aws::AppConfig::Model::DeploymentSummary::GrowthFactorHasBeenSet
bool GrowthFactorHasBeenSet() const
Definition: DeploymentSummary.h:208
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationName
DeploymentSummary & WithConfigurationName(const char *value)
Definition: DeploymentSummary.h:102
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationVersion
DeploymentSummary & WithConfigurationVersion(const char *value)
Definition: DeploymentSummary.h:143
Aws::AppConfig::Model::DeploymentSummary
Definition: DeploymentSummary.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::DeploymentSummary::SetCompletedAt
void SetCompletedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentSummary.h:349
Aws::AppConfig::Model::DeploymentSummary::SetGrowthType
void SetGrowthType(GrowthType &&value)
Definition: DeploymentSummary.h:185
Aws::AppConfig::Model::DeploymentSummary::GetGrowthType
const GrowthType & GetGrowthType() const
Definition: DeploymentSummary.h:170
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::DeploymentSummary::GetCompletedAt
const Aws::Utils::DateTime & GetCompletedAt() const
Definition: DeploymentSummary.h:334
Aws::AppConfig::Model::DeploymentSummary::WithConfigurationVersion
DeploymentSummary & WithConfigurationVersion(Aws::String &&value)
Definition: DeploymentSummary.h:138
Aws::AppConfig::Model::DeploymentSummary::WithState
DeploymentSummary & WithState(const DeploymentState &value)
Definition: DeploymentSummary.h:271
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationVersion
void SetConfigurationVersion(const Aws::String &value)
Definition: DeploymentSummary.h:118
Aws::AppConfig::Model::DeploymentSummary::WithCompletedAt
DeploymentSummary & WithCompletedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentSummary.h:359
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationName
void SetConfigurationName(const Aws::String &value)
Definition: DeploymentSummary.h:77
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationName
void SetConfigurationName(const char *value)
Definition: DeploymentSummary.h:87
Aws::AppConfig::Model::DeploymentSummary::SetConfigurationName
void SetConfigurationName(Aws::String &&value)
Definition: DeploymentSummary.h:82
Aws::AppConfig::Model::DeploymentSummary::SetGrowthFactor
void SetGrowthFactor(double value)
Definition: DeploymentSummary.h:214
Aws::AppConfig::Model::DeploymentSummary::SetStartedAt
void SetStartedAt(Aws::Utils::DateTime &&value)
Definition: DeploymentSummary.h:318
Aws::AppConfig::Model::DeploymentSummary::DeploymentSummary
DeploymentSummary(Aws::Utils::Json::JsonView jsonValue)