AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChangeProgressStatus.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/osis/model/ChangeProgressStatuses.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/osis/model/ChangeProgressStage.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OSIS
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_OSIS_API ChangeProgressStatus();
42
43
45
48 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
49 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
50 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
51 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
52 inline ChangeProgressStatus& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
53 inline ChangeProgressStatus& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
55
57
60 inline const ChangeProgressStatuses& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const ChangeProgressStatuses& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(ChangeProgressStatuses&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline ChangeProgressStatus& WithStatus(const ChangeProgressStatuses& value) { SetStatus(value); return *this;}
65 inline ChangeProgressStatus& WithStatus(ChangeProgressStatuses&& value) { SetStatus(std::move(value)); return *this;}
67
69
73 inline int GetTotalNumberOfStages() const{ return m_totalNumberOfStages; }
74 inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; }
75 inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; }
76 inline ChangeProgressStatus& WithTotalNumberOfStages(int value) { SetTotalNumberOfStages(value); return *this;}
78
80
84 inline const Aws::Vector<ChangeProgressStage>& GetChangeProgressStages() const{ return m_changeProgressStages; }
85 inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; }
86 inline void SetChangeProgressStages(const Aws::Vector<ChangeProgressStage>& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = value; }
87 inline void SetChangeProgressStages(Aws::Vector<ChangeProgressStage>&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::move(value); }
90 inline ChangeProgressStatus& AddChangeProgressStages(const ChangeProgressStage& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(value); return *this; }
91 inline ChangeProgressStatus& AddChangeProgressStages(ChangeProgressStage&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(std::move(value)); return *this; }
93 private:
94
95 Aws::Utils::DateTime m_startTime;
96 bool m_startTimeHasBeenSet = false;
97
99 bool m_statusHasBeenSet = false;
100
101 int m_totalNumberOfStages;
102 bool m_totalNumberOfStagesHasBeenSet = false;
103
104 Aws::Vector<ChangeProgressStage> m_changeProgressStages;
105 bool m_changeProgressStagesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace OSIS
110} // namespace Aws
ChangeProgressStatus & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_OSIS_API ChangeProgressStatus(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatus & WithChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatus & WithStatus(ChangeProgressStatuses &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
const ChangeProgressStatuses & GetStatus() const
const Aws::Utils::DateTime & GetStartTime() const
ChangeProgressStatus & WithChangeProgressStages(const Aws::Vector< ChangeProgressStage > &value)
AWS_OSIS_API ChangeProgressStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChangeProgressStages(const Aws::Vector< ChangeProgressStage > &value)
ChangeProgressStatus & WithStartTime(Aws::Utils::DateTime &&value)
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressStatus & AddChangeProgressStages(const ChangeProgressStage &value)
void SetStatus(ChangeProgressStatuses &&value)
ChangeProgressStatus & WithTotalNumberOfStages(int value)
ChangeProgressStatus & AddChangeProgressStages(ChangeProgressStage &&value)
void SetStatus(const ChangeProgressStatuses &value)
void SetChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatus & WithStatus(const ChangeProgressStatuses &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue