/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace mgn { namespace Model { /** *

Wave aggregated status.

See Also:

AWS * API Reference

*/ class WaveAggregatedStatus { public: AWS_MGN_API WaveAggregatedStatus(); AWS_MGN_API WaveAggregatedStatus(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API WaveAggregatedStatus& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Wave aggregated status health status.

*/ inline const WaveHealthStatus& GetHealthStatus() const{ return m_healthStatus; } /** *

Wave aggregated status health status.

*/ inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; } /** *

Wave aggregated status health status.

*/ inline void SetHealthStatus(const WaveHealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; } /** *

Wave aggregated status health status.

*/ inline void SetHealthStatus(WaveHealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); } /** *

Wave aggregated status health status.

*/ inline WaveAggregatedStatus& WithHealthStatus(const WaveHealthStatus& value) { SetHealthStatus(value); return *this;} /** *

Wave aggregated status health status.

*/ inline WaveAggregatedStatus& WithHealthStatus(WaveHealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;} /** *

Wave aggregated status last update dateTime.

*/ inline const Aws::String& GetLastUpdateDateTime() const{ return m_lastUpdateDateTime; } /** *

Wave aggregated status last update dateTime.

*/ inline bool LastUpdateDateTimeHasBeenSet() const { return m_lastUpdateDateTimeHasBeenSet; } /** *

Wave aggregated status last update dateTime.

*/ inline void SetLastUpdateDateTime(const Aws::String& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = value; } /** *

Wave aggregated status last update dateTime.

*/ inline void SetLastUpdateDateTime(Aws::String&& value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime = std::move(value); } /** *

Wave aggregated status last update dateTime.

*/ inline void SetLastUpdateDateTime(const char* value) { m_lastUpdateDateTimeHasBeenSet = true; m_lastUpdateDateTime.assign(value); } /** *

Wave aggregated status last update dateTime.

*/ inline WaveAggregatedStatus& WithLastUpdateDateTime(const Aws::String& value) { SetLastUpdateDateTime(value); return *this;} /** *

Wave aggregated status last update dateTime.

*/ inline WaveAggregatedStatus& WithLastUpdateDateTime(Aws::String&& value) { SetLastUpdateDateTime(std::move(value)); return *this;} /** *

Wave aggregated status last update dateTime.

*/ inline WaveAggregatedStatus& WithLastUpdateDateTime(const char* value) { SetLastUpdateDateTime(value); return *this;} /** *

Wave aggregated status progress status.

*/ inline const WaveProgressStatus& GetProgressStatus() const{ return m_progressStatus; } /** *

Wave aggregated status progress status.

*/ inline bool ProgressStatusHasBeenSet() const { return m_progressStatusHasBeenSet; } /** *

Wave aggregated status progress status.

*/ inline void SetProgressStatus(const WaveProgressStatus& value) { m_progressStatusHasBeenSet = true; m_progressStatus = value; } /** *

Wave aggregated status progress status.

*/ inline void SetProgressStatus(WaveProgressStatus&& value) { m_progressStatusHasBeenSet = true; m_progressStatus = std::move(value); } /** *

Wave aggregated status progress status.

*/ inline WaveAggregatedStatus& WithProgressStatus(const WaveProgressStatus& value) { SetProgressStatus(value); return *this;} /** *

Wave aggregated status progress status.

*/ inline WaveAggregatedStatus& WithProgressStatus(WaveProgressStatus&& value) { SetProgressStatus(std::move(value)); return *this;} /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline const Aws::String& GetReplicationStartedDateTime() const{ return m_replicationStartedDateTime; } /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline bool ReplicationStartedDateTimeHasBeenSet() const { return m_replicationStartedDateTimeHasBeenSet; } /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline void SetReplicationStartedDateTime(const Aws::String& value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime = value; } /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline void SetReplicationStartedDateTime(Aws::String&& value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime = std::move(value); } /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline void SetReplicationStartedDateTime(const char* value) { m_replicationStartedDateTimeHasBeenSet = true; m_replicationStartedDateTime.assign(value); } /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline WaveAggregatedStatus& WithReplicationStartedDateTime(const Aws::String& value) { SetReplicationStartedDateTime(value); return *this;} /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline WaveAggregatedStatus& WithReplicationStartedDateTime(Aws::String&& value) { SetReplicationStartedDateTime(std::move(value)); return *this;} /** *

DateTime marking when the first source server in the wave started * replication.

*/ inline WaveAggregatedStatus& WithReplicationStartedDateTime(const char* value) { SetReplicationStartedDateTime(value); return *this;} /** *

Wave aggregated status total applications amount.

*/ inline long long GetTotalApplications() const{ return m_totalApplications; } /** *

Wave aggregated status total applications amount.

*/ inline bool TotalApplicationsHasBeenSet() const { return m_totalApplicationsHasBeenSet; } /** *

Wave aggregated status total applications amount.

*/ inline void SetTotalApplications(long long value) { m_totalApplicationsHasBeenSet = true; m_totalApplications = value; } /** *

Wave aggregated status total applications amount.

*/ inline WaveAggregatedStatus& WithTotalApplications(long long value) { SetTotalApplications(value); return *this;} private: WaveHealthStatus m_healthStatus; bool m_healthStatusHasBeenSet = false; Aws::String m_lastUpdateDateTime; bool m_lastUpdateDateTimeHasBeenSet = false; WaveProgressStatus m_progressStatus; bool m_progressStatusHasBeenSet = false; Aws::String m_replicationStartedDateTime; bool m_replicationStartedDateTimeHasBeenSet = false; long long m_totalApplications; bool m_totalApplicationsHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws