AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const WaveHealthStatus& GetHealthStatus() const{ return m_healthStatus; }
47 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
48 inline void SetHealthStatus(const WaveHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
49 inline void SetHealthStatus(WaveHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); }
50 inline WaveAggregatedStatus& WithHealthStatus(const WaveHealthStatus& value) { SetHealthStatus(value); return *this;}
51 inline WaveAggregatedStatus& WithHealthStatus(WaveHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetLastUpdateDateTime() const{ return m_lastUpdateDateTime; }
59 inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; }
60 inline void SetLastUpdateDateTime(const Aws::String& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = value; }
61 inline void SetLastUpdateDateTime(Aws::String&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::move(value); }
62 inline void SetLastUpdateDateTime(const char* value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime.assign(value); }
64 inline WaveAggregatedStatus& WithLastUpdateDateTime(Aws::String&& value) { SetLastUpdateDateTime(std::move(value)); return *this;}
65 inline WaveAggregatedStatus& WithLastUpdateDateTime(const char* value) { SetLastUpdateDateTime(value); return *this;}
67
69
72 inline const WaveProgressStatus& GetProgressStatus() const{ return m_progressStatus; }
73 inline bool ProgressStatusHasBeenSet() const { return m_progressStatusHasBeenSet; }
74 inline void SetProgressStatus(const WaveProgressStatus& value) { m_progressStatusHasBeenSet = true; m_progressStatus = value; }
75 inline void SetProgressStatus(WaveProgressStatus&& value) { m_progressStatusHasBeenSet = true; m_progressStatus = std::move(value); }
76 inline WaveAggregatedStatus& WithProgressStatus(const WaveProgressStatus& value) { SetProgressStatus(value); return *this;}
77 inline WaveAggregatedStatus& WithProgressStatus(WaveProgressStatus&& value) { SetProgressStatus(std::move(value)); return *this;}
79
81
85 inline const Aws::String& GetReplicationStartedDateTime() const{ return m_replicationStartedDateTime; }
86 inline bool ReplicationStartedDateTimeHasBeenSet() const { return m_replicationStartedDateTimeHasBeenSet; }
87 inline void SetReplicationStartedDateTime(const Aws::String& value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime = value; }
88 inline void SetReplicationStartedDateTime(Aws::String&& value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime = std::move(value); }
89 inline void SetReplicationStartedDateTime(const char* value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime.assign(value); }
92 inline WaveAggregatedStatus& WithReplicationStartedDateTime(const char* value) { SetReplicationStartedDateTime(value); return *this;}
94
96
99 inline long long GetTotalApplications() const{ return m_totalApplications; }
100 inline bool TotalApplicationsHasBeenSet() const { return m_totalApplicationsHasBeenSet; }
101 inline void SetTotalApplications(long long value) { m_totalApplicationsHasBeenSet = true; m_totalApplications = value; }
102 inline WaveAggregatedStatus& WithTotalApplications(long long value) { SetTotalApplications(value); return *this;}
104 private:
105
106 WaveHealthStatus m_healthStatus;
107 bool m_healthStatusHasBeenSet = false;
108
109 Aws::String m_lastUpdateDateTime;
110 bool m_lastUpdateDateTimeHasBeenSet = false;
111
112 WaveProgressStatus m_progressStatus;
113 bool m_progressStatusHasBeenSet = false;
114
115 Aws::String m_replicationStartedDateTime;
116 bool m_replicationStartedDateTimeHasBeenSet = false;
117
118 long long m_totalApplications;
119 bool m_totalApplicationsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace mgn
124} // namespace Aws
WaveAggregatedStatus & WithTotalApplications(long long value)
void SetReplicationStartedDateTime(Aws::String &&value)
WaveAggregatedStatus & WithReplicationStartedDateTime(const Aws::String &value)
const WaveHealthStatus & GetHealthStatus() const
WaveAggregatedStatus & WithProgressStatus(const WaveProgressStatus &value)
WaveAggregatedStatus & WithLastUpdateDateTime(const Aws::String &value)
const Aws::String & GetReplicationStartedDateTime() const
void SetProgressStatus(const WaveProgressStatus &value)
void SetReplicationStartedDateTime(const char *value)
void SetHealthStatus(WaveHealthStatus &&value)
const WaveProgressStatus & GetProgressStatus() const
WaveAggregatedStatus & WithReplicationStartedDateTime(const char *value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
WaveAggregatedStatus & WithReplicationStartedDateTime(Aws::String &&value)
WaveAggregatedStatus & WithProgressStatus(WaveProgressStatus &&value)
const Aws::String & GetLastUpdateDateTime() const
void SetLastUpdateDateTime(const Aws::String &value)
void SetReplicationStartedDateTime(const Aws::String &value)
WaveAggregatedStatus & WithLastUpdateDateTime(const char *value)
void SetHealthStatus(const WaveHealthStatus &value)
AWS_MGN_API WaveAggregatedStatus(Aws::Utils::Json::JsonView jsonValue)
void SetProgressStatus(WaveProgressStatus &&value)
WaveAggregatedStatus & WithHealthStatus(const WaveHealthStatus &value)
AWS_MGN_API WaveAggregatedStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateDateTime(Aws::String &&value)
WaveAggregatedStatus & WithHealthStatus(WaveHealthStatus &&value)
WaveAggregatedStatus & WithLastUpdateDateTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue