/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This object provides a collection of statistics about a serverless
* replication.See Also:
AWS
* API Reference
The percent complete for the full load serverless replication.
*/ inline int GetFullLoadProgressPercent() const{ return m_fullLoadProgressPercent; } /** *The percent complete for the full load serverless replication.
*/ inline bool FullLoadProgressPercentHasBeenSet() const { return m_fullLoadProgressPercentHasBeenSet; } /** *The percent complete for the full load serverless replication.
*/ inline void SetFullLoadProgressPercent(int value) { m_fullLoadProgressPercentHasBeenSet = true; m_fullLoadProgressPercent = value; } /** *The percent complete for the full load serverless replication.
*/ inline ReplicationStats& WithFullLoadProgressPercent(int value) { SetFullLoadProgressPercent(value); return *this;} /** *The elapsed time of the replication, in milliseconds.
*/ inline long long GetElapsedTimeMillis() const{ return m_elapsedTimeMillis; } /** *The elapsed time of the replication, in milliseconds.
*/ inline bool ElapsedTimeMillisHasBeenSet() const { return m_elapsedTimeMillisHasBeenSet; } /** *The elapsed time of the replication, in milliseconds.
*/ inline void SetElapsedTimeMillis(long long value) { m_elapsedTimeMillisHasBeenSet = true; m_elapsedTimeMillis = value; } /** *The elapsed time of the replication, in milliseconds.
*/ inline ReplicationStats& WithElapsedTimeMillis(long long value) { SetElapsedTimeMillis(value); return *this;} /** *The number of tables loaded for this replication.
*/ inline int GetTablesLoaded() const{ return m_tablesLoaded; } /** *The number of tables loaded for this replication.
*/ inline bool TablesLoadedHasBeenSet() const { return m_tablesLoadedHasBeenSet; } /** *The number of tables loaded for this replication.
*/ inline void SetTablesLoaded(int value) { m_tablesLoadedHasBeenSet = true; m_tablesLoaded = value; } /** *The number of tables loaded for this replication.
*/ inline ReplicationStats& WithTablesLoaded(int value) { SetTablesLoaded(value); return *this;} /** *The number of tables currently loading for this replication.
*/ inline int GetTablesLoading() const{ return m_tablesLoading; } /** *The number of tables currently loading for this replication.
*/ inline bool TablesLoadingHasBeenSet() const { return m_tablesLoadingHasBeenSet; } /** *The number of tables currently loading for this replication.
*/ inline void SetTablesLoading(int value) { m_tablesLoadingHasBeenSet = true; m_tablesLoading = value; } /** *The number of tables currently loading for this replication.
*/ inline ReplicationStats& WithTablesLoading(int value) { SetTablesLoading(value); return *this;} /** *The number of tables queued for this replication.
*/ inline int GetTablesQueued() const{ return m_tablesQueued; } /** *The number of tables queued for this replication.
*/ inline bool TablesQueuedHasBeenSet() const { return m_tablesQueuedHasBeenSet; } /** *The number of tables queued for this replication.
*/ inline void SetTablesQueued(int value) { m_tablesQueuedHasBeenSet = true; m_tablesQueued = value; } /** *The number of tables queued for this replication.
*/ inline ReplicationStats& WithTablesQueued(int value) { SetTablesQueued(value); return *this;} /** *The number of errors that have occured for this replication.
*/ inline int GetTablesErrored() const{ return m_tablesErrored; } /** *The number of errors that have occured for this replication.
*/ inline bool TablesErroredHasBeenSet() const { return m_tablesErroredHasBeenSet; } /** *The number of errors that have occured for this replication.
*/ inline void SetTablesErrored(int value) { m_tablesErroredHasBeenSet = true; m_tablesErrored = value; } /** *The number of errors that have occured for this replication.
*/ inline ReplicationStats& WithTablesErrored(int value) { SetTablesErrored(value); return *this;} /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline const Aws::Utils::DateTime& GetFreshStartDate() const{ return m_freshStartDate; } /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline bool FreshStartDateHasBeenSet() const { return m_freshStartDateHasBeenSet; } /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline void SetFreshStartDate(const Aws::Utils::DateTime& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = value; } /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline void SetFreshStartDate(Aws::Utils::DateTime&& value) { m_freshStartDateHasBeenSet = true; m_freshStartDate = std::move(value); } /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline ReplicationStats& WithFreshStartDate(const Aws::Utils::DateTime& value) { SetFreshStartDate(value); return *this;} /** *The date the replication was started either with a fresh start or a target * reload.
*/ inline ReplicationStats& WithFreshStartDate(Aws::Utils::DateTime&& value) { SetFreshStartDate(std::move(value)); return *this;} /** *The date the replication is scheduled to start.
*/ inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; } /** *The date the replication is scheduled to start.
*/ inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; } /** *The date the replication is scheduled to start.
*/ inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; } /** *The date the replication is scheduled to start.
*/ inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); } /** *The date the replication is scheduled to start.
*/ inline ReplicationStats& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;} /** *The date the replication is scheduled to start.
*/ inline ReplicationStats& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;} /** *The date the replication was stopped.
*/ inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; } /** *The date the replication was stopped.
*/ inline bool StopDateHasBeenSet() const { return m_stopDateHasBeenSet; } /** *The date the replication was stopped.
*/ inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDateHasBeenSet = true; m_stopDate = value; } /** *The date the replication was stopped.
*/ inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::move(value); } /** *The date the replication was stopped.
*/ inline ReplicationStats& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;} /** *The date the replication was stopped.
*/ inline ReplicationStats& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;} /** *The date the replication full load was started.
*/ inline const Aws::Utils::DateTime& GetFullLoadStartDate() const{ return m_fullLoadStartDate; } /** *The date the replication full load was started.
*/ inline bool FullLoadStartDateHasBeenSet() const { return m_fullLoadStartDateHasBeenSet; } /** *The date the replication full load was started.
*/ inline void SetFullLoadStartDate(const Aws::Utils::DateTime& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = value; } /** *The date the replication full load was started.
*/ inline void SetFullLoadStartDate(Aws::Utils::DateTime&& value) { m_fullLoadStartDateHasBeenSet = true; m_fullLoadStartDate = std::move(value); } /** *The date the replication full load was started.
*/ inline ReplicationStats& WithFullLoadStartDate(const Aws::Utils::DateTime& value) { SetFullLoadStartDate(value); return *this;} /** *The date the replication full load was started.
*/ inline ReplicationStats& WithFullLoadStartDate(Aws::Utils::DateTime&& value) { SetFullLoadStartDate(std::move(value)); return *this;} /** *The date the replication full load was finished.
*/ inline const Aws::Utils::DateTime& GetFullLoadFinishDate() const{ return m_fullLoadFinishDate; } /** *The date the replication full load was finished.
*/ inline bool FullLoadFinishDateHasBeenSet() const { return m_fullLoadFinishDateHasBeenSet; } /** *The date the replication full load was finished.
*/ inline void SetFullLoadFinishDate(const Aws::Utils::DateTime& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = value; } /** *The date the replication full load was finished.
*/ inline void SetFullLoadFinishDate(Aws::Utils::DateTime&& value) { m_fullLoadFinishDateHasBeenSet = true; m_fullLoadFinishDate = std::move(value); } /** *The date the replication full load was finished.
*/ inline ReplicationStats& WithFullLoadFinishDate(const Aws::Utils::DateTime& value) { SetFullLoadFinishDate(value); return *this;} /** *The date the replication full load was finished.
*/ inline ReplicationStats& WithFullLoadFinishDate(Aws::Utils::DateTime&& value) { SetFullLoadFinishDate(std::move(value)); return *this;} private: int m_fullLoadProgressPercent; bool m_fullLoadProgressPercentHasBeenSet = false; long long m_elapsedTimeMillis; bool m_elapsedTimeMillisHasBeenSet = false; int m_tablesLoaded; bool m_tablesLoadedHasBeenSet = false; int m_tablesLoading; bool m_tablesLoadingHasBeenSet = false; int m_tablesQueued; bool m_tablesQueuedHasBeenSet = false; int m_tablesErrored; bool m_tablesErroredHasBeenSet = false; Aws::Utils::DateTime m_freshStartDate; bool m_freshStartDateHasBeenSet = false; Aws::Utils::DateTime m_startDate; bool m_startDateHasBeenSet = false; Aws::Utils::DateTime m_stopDate; bool m_stopDateHasBeenSet = false; Aws::Utils::DateTime m_fullLoadStartDate; bool m_fullLoadStartDateHasBeenSet = false; Aws::Utils::DateTime m_fullLoadFinishDate; bool m_fullLoadFinishDateHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws