AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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() = default;
42
43
45
48 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
49 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
50 template<typename StartTimeT = Aws::Utils::DateTime>
51 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
52 template<typename StartTimeT = Aws::Utils::DateTime>
53 ChangeProgressStatus& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
55
57
60 inline ChangeProgressStatuses GetStatus() const { return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(ChangeProgressStatuses value) { m_statusHasBeenSet = true; m_status = value; }
63 inline ChangeProgressStatus& WithStatus(ChangeProgressStatuses value) { SetStatus(value); return *this;}
65
67
71 inline int GetTotalNumberOfStages() const { return m_totalNumberOfStages; }
72 inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; }
73 inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; }
74 inline ChangeProgressStatus& WithTotalNumberOfStages(int value) { SetTotalNumberOfStages(value); return *this;}
76
78
82 inline const Aws::Vector<ChangeProgressStage>& GetChangeProgressStages() const { return m_changeProgressStages; }
83 inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; }
84 template<typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
85 void SetChangeProgressStages(ChangeProgressStagesT&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::forward<ChangeProgressStagesT>(value); }
86 template<typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
87 ChangeProgressStatus& WithChangeProgressStages(ChangeProgressStagesT&& value) { SetChangeProgressStages(std::forward<ChangeProgressStagesT>(value)); return *this;}
88 template<typename ChangeProgressStagesT = ChangeProgressStage>
89 ChangeProgressStatus& AddChangeProgressStages(ChangeProgressStagesT&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.emplace_back(std::forward<ChangeProgressStagesT>(value)); return *this; }
91 private:
92
93 Aws::Utils::DateTime m_startTime{};
94 bool m_startTimeHasBeenSet = false;
95
97 bool m_statusHasBeenSet = false;
98
99 int m_totalNumberOfStages{0};
100 bool m_totalNumberOfStagesHasBeenSet = false;
101
102 Aws::Vector<ChangeProgressStage> m_changeProgressStages;
103 bool m_changeProgressStagesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace OSIS
108} // namespace Aws
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
void SetChangeProgressStages(ChangeProgressStagesT &&value)
AWS_OSIS_API ChangeProgressStatus()=default
AWS_OSIS_API ChangeProgressStatus(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatus & WithChangeProgressStages(ChangeProgressStagesT &&value)
ChangeProgressStatus & AddChangeProgressStages(ChangeProgressStagesT &&value)
void SetStatus(ChangeProgressStatuses value)
ChangeProgressStatuses GetStatus() const
const Aws::Utils::DateTime & GetStartTime() const
AWS_OSIS_API ChangeProgressStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressStatus & WithTotalNumberOfStages(int value)
ChangeProgressStatus & WithStartTime(StartTimeT &&value)
ChangeProgressStatus & WithStatus(ChangeProgressStatuses value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue