/** * 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 drs { namespace Model { /** *

Data replication initiation.

See Also:

AWS * API Reference

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

The date and time of the current attempt to initiate data replication.

*/ inline const Aws::String& GetStartDateTime() const{ return m_startDateTime; } /** *

The date and time of the current attempt to initiate data replication.

*/ inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; } /** *

The date and time of the current attempt to initiate data replication.

*/ inline void SetStartDateTime(const Aws::String& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; } /** *

The date and time of the current attempt to initiate data replication.

*/ inline void SetStartDateTime(Aws::String&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); } /** *

The date and time of the current attempt to initiate data replication.

*/ inline void SetStartDateTime(const char* value) { m_startDateTimeHasBeenSet = true; m_startDateTime.assign(value); } /** *

The date and time of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& WithStartDateTime(const Aws::String& value) { SetStartDateTime(value); return *this;} /** *

The date and time of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& WithStartDateTime(Aws::String&& value) { SetStartDateTime(std::move(value)); return *this;} /** *

The date and time of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& WithStartDateTime(const char* value) { SetStartDateTime(value); return *this;} /** *

The steps of the current attempt to initiate data replication.

*/ inline const Aws::Vector& GetSteps() const{ return m_steps; } /** *

The steps of the current attempt to initiate data replication.

*/ inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; } /** *

The steps of the current attempt to initiate data replication.

*/ inline void SetSteps(const Aws::Vector& value) { m_stepsHasBeenSet = true; m_steps = value; } /** *

The steps of the current attempt to initiate data replication.

*/ inline void SetSteps(Aws::Vector&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); } /** *

The steps of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} /** *

The steps of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} /** *

The steps of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& AddSteps(const RecoveryInstanceDataReplicationInitiationStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; } /** *

The steps of the current attempt to initiate data replication.

*/ inline RecoveryInstanceDataReplicationInitiation& AddSteps(RecoveryInstanceDataReplicationInitiationStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; } private: Aws::String m_startDateTime; bool m_startDateTimeHasBeenSet = false; Aws::Vector m_steps; bool m_stepsHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws