AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WaveAggregatedStatus.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/WaveHealthStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/WaveProgressStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MGN_API WaveAggregatedStatus() = default;
40
41
43
46 inline WaveHealthStatus GetHealthStatus() const { return m_healthStatus; }
47 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
48 inline void SetHealthStatus(WaveHealthStatus value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
51
53
56 inline const Aws::String& GetLastUpdateDateTime() const { return m_lastUpdateDateTime; }
57 inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; }
58 template<typename LastUpdateDateTimeT = Aws::String>
59 void SetLastUpdateDateTime(LastUpdateDateTimeT&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::forward<LastUpdateDateTimeT>(value); }
60 template<typename LastUpdateDateTimeT = Aws::String>
61 WaveAggregatedStatus& WithLastUpdateDateTime(LastUpdateDateTimeT&& value) { SetLastUpdateDateTime(std::forward<LastUpdateDateTimeT>(value)); return *this;}
63
65
68 inline WaveProgressStatus GetProgressStatus() const { return m_progressStatus; }
69 inline bool ProgressStatusHasBeenSet() const { return m_progressStatusHasBeenSet; }
70 inline void SetProgressStatus(WaveProgressStatus value) { m_progressStatusHasBeenSet = true; m_progressStatus = value; }
73
75
79 inline const Aws::String& GetReplicationStartedDateTime() const { return m_replicationStartedDateTime; }
80 inline bool ReplicationStartedDateTimeHasBeenSet() const { return m_replicationStartedDateTimeHasBeenSet; }
81 template<typename ReplicationStartedDateTimeT = Aws::String>
82 void SetReplicationStartedDateTime(ReplicationStartedDateTimeT&& value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime = std::forward<ReplicationStartedDateTimeT>(value); }
83 template<typename ReplicationStartedDateTimeT = Aws::String>
84 WaveAggregatedStatus& WithReplicationStartedDateTime(ReplicationStartedDateTimeT&& value) { SetReplicationStartedDateTime(std::forward<ReplicationStartedDateTimeT>(value)); return *this;}
86
88
91 inline long long GetTotalApplications() const { return m_totalApplications; }
92 inline bool TotalApplicationsHasBeenSet() const { return m_totalApplicationsHasBeenSet; }
93 inline void SetTotalApplications(long long value) { m_totalApplicationsHasBeenSet = true; m_totalApplications = value; }
94 inline WaveAggregatedStatus& WithTotalApplications(long long value) { SetTotalApplications(value); return *this;}
96 private:
97
99 bool m_healthStatusHasBeenSet = false;
100
101 Aws::String m_lastUpdateDateTime;
102 bool m_lastUpdateDateTimeHasBeenSet = false;
103
105 bool m_progressStatusHasBeenSet = false;
106
107 Aws::String m_replicationStartedDateTime;
108 bool m_replicationStartedDateTimeHasBeenSet = false;
109
110 long long m_totalApplications{0};
111 bool m_totalApplicationsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace mgn
116} // 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