AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
WaveAggregatedStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/WaveHealthStatus.h>
10#include <aws/mgn/model/WaveProgressStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mgn {
22namespace Model {
23
30 public:
31 AWS_MGN_API WaveAggregatedStatus() = default;
35
37
40 inline const Aws::String& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
41 inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; }
42 template <typename LastUpdateDateTimeT = Aws::String>
43 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) {
44 m_lastUpdateDateTimeHasBeenSet = true;
45 m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value);
46 }
47 template <typename LastUpdateDateTimeT = Aws::String>
48 WaveAggregatedStatus& WithLastUpdateDateTime(LastUpdateDateTimeT&& value) {
49 SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetReplicationStartedDateTime() const { return m_replicationStartedDateTime; }
60 inline bool ReplicationStartedDateTimeHasBeenSet() const { return m_replicationStartedDateTimeHasBeenSet; }
61 template <typename ReplicationStartedDateTimeT = Aws::String>
62 void SetReplicationStartedDateTime(ReplicationStartedDateTimeT&& value) {
63 m_replicationStartedDateTimeHasBeenSet = true;
64 m_replicationStartedDateTime = std::forward<ReplicationStartedDateTimeT>(value);
65 }
66 template <typename ReplicationStartedDateTimeT = Aws::String>
67 WaveAggregatedStatus& WithReplicationStartedDateTime(ReplicationStartedDateTimeT&& value) {
68 SetReplicationStartedDateTime(std::forward<ReplicationStartedDateTimeT>(value));
69 return *this;
70 }
72
74
77 inline WaveHealthStatus GetHealthStatus() const { return m_healthStatus; }
78 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
79 inline void SetHealthStatus(WaveHealthStatus value) {
80 m_healthStatusHasBeenSet = true;
81 m_healthStatus = value;
82 }
84 SetHealthStatus(value);
85 return *this;
86 }
88
90
93 inline WaveProgressStatus GetProgressStatus() const { return m_progressStatus; }
94 inline bool ProgressStatusHasBeenSet() const { return m_progressStatusHasBeenSet; }
96 m_progressStatusHasBeenSet = true;
97 m_progressStatus = value;
98 }
100 SetProgressStatus(value);
101 return *this;
102 }
104
106
109 inline long long GetTotalApplications() const { return m_totalApplications; }
110 inline bool TotalApplicationsHasBeenSet() const { return m_totalApplicationsHasBeenSet; }
111 inline void SetTotalApplications(long long value) {
112 m_totalApplicationsHasBeenSet = true;
113 m_totalApplications = value;
114 }
117 return *this;
118 }
120 private:
121 Aws::String m_lastUpdateDateTime;
122
123 Aws::String m_replicationStartedDateTime;
124
126
128
129 long long m_totalApplications{0};
130 bool m_lastUpdateDateTimeHasBeenSet = false;
131 bool m_replicationStartedDateTimeHasBeenSet = false;
132 bool m_healthStatusHasBeenSet = false;
133 bool m_progressStatusHasBeenSet = false;
134 bool m_totalApplicationsHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace mgn
139} // namespace Aws
WaveAggregatedStatus & WithTotalApplications(long long value)
WaveAggregatedStatus & WithReplicationStartedDateTime(ReplicationStartedDateTimeT &&value)
void SetReplicationStartedDateTime(ReplicationStartedDateTimeT &&value)
WaveAggregatedStatus & WithProgressStatus(WaveProgressStatus value)
const Aws::String & GetReplicationStartedDateTime() const
void SetHealthStatus(WaveHealthStatus value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProgressStatus(WaveProgressStatus value)
const Aws::String & GetLastUpdateDateTime() const
void SetLastUpdateDateTime(LastUpdateDateTimeT &&value)
WaveProgressStatus GetProgressStatus() const
AWS_MGN_API WaveAggregatedStatus()=default
WaveAggregatedStatus & WithLastUpdateDateTime(LastUpdateDateTimeT &&value)
AWS_MGN_API WaveAggregatedStatus(Aws::Utils::Json::JsonView jsonValue)
WaveAggregatedStatus & WithHealthStatus(WaveHealthStatus value)
AWS_MGN_API WaveAggregatedStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue