/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include MigrationTaskSummary includes MigrationTaskName
,
* ProgressPercent
, ProgressUpdateStream
,
* Status
, and UpdateDateTime
for each
* task.See Also:
AWS
* API Reference
An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline const Aws::String& GetProgressUpdateStream() const{ return m_progressUpdateStream; } /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline bool ProgressUpdateStreamHasBeenSet() const { return m_progressUpdateStreamHasBeenSet; } /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline void SetProgressUpdateStream(const Aws::String& value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream = value; } /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline void SetProgressUpdateStream(Aws::String&& value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream = std::move(value); } /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline void SetProgressUpdateStream(const char* value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream.assign(value); } /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline MigrationTaskSummary& WithProgressUpdateStream(const Aws::String& value) { SetProgressUpdateStream(value); return *this;} /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline MigrationTaskSummary& WithProgressUpdateStream(Aws::String&& value) { SetProgressUpdateStream(std::move(value)); return *this;} /** *An AWS resource used for access control. It should uniquely identify the * migration tool as it is used for all updates made by the tool.
*/ inline MigrationTaskSummary& WithProgressUpdateStream(const char* value) { SetProgressUpdateStream(value); return *this;} /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline const Aws::String& GetMigrationTaskName() const{ return m_migrationTaskName; } /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline bool MigrationTaskNameHasBeenSet() const { return m_migrationTaskNameHasBeenSet; } /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline void SetMigrationTaskName(const Aws::String& value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName = value; } /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline void SetMigrationTaskName(Aws::String&& value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName = std::move(value); } /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline void SetMigrationTaskName(const char* value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName.assign(value); } /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline MigrationTaskSummary& WithMigrationTaskName(const Aws::String& value) { SetMigrationTaskName(value); return *this;} /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline MigrationTaskSummary& WithMigrationTaskName(Aws::String&& value) { SetMigrationTaskName(std::move(value)); return *this;} /** *Unique identifier that references the migration task. Do not store * personal data in this field.
*/ inline MigrationTaskSummary& WithMigrationTaskName(const char* value) { SetMigrationTaskName(value); return *this;} /** *Status of the task.
*/ inline const Status& GetStatus() const{ return m_status; } /** *Status of the task.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of the task.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of the task.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of the task.
*/ inline MigrationTaskSummary& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *Status of the task.
*/ inline MigrationTaskSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *Indication of the percentage completion of the task.
*/ inline int GetProgressPercent() const{ return m_progressPercent; } /** *Indication of the percentage completion of the task.
*/ inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; } /** *Indication of the percentage completion of the task.
*/ inline void SetProgressPercent(int value) { m_progressPercentHasBeenSet = true; m_progressPercent = value; } /** *Indication of the percentage completion of the task.
*/ inline MigrationTaskSummary& WithProgressPercent(int value) { SetProgressPercent(value); return *this;} /** *Detail information of what is being done within the overall status state.
*/ inline const Aws::String& GetStatusDetail() const{ return m_statusDetail; } /** *Detail information of what is being done within the overall status state.
*/ inline bool StatusDetailHasBeenSet() const { return m_statusDetailHasBeenSet; } /** *Detail information of what is being done within the overall status state.
*/ inline void SetStatusDetail(const Aws::String& value) { m_statusDetailHasBeenSet = true; m_statusDetail = value; } /** *Detail information of what is being done within the overall status state.
*/ inline void SetStatusDetail(Aws::String&& value) { m_statusDetailHasBeenSet = true; m_statusDetail = std::move(value); } /** *Detail information of what is being done within the overall status state.
*/ inline void SetStatusDetail(const char* value) { m_statusDetailHasBeenSet = true; m_statusDetail.assign(value); } /** *Detail information of what is being done within the overall status state.
*/ inline MigrationTaskSummary& WithStatusDetail(const Aws::String& value) { SetStatusDetail(value); return *this;} /** *Detail information of what is being done within the overall status state.
*/ inline MigrationTaskSummary& WithStatusDetail(Aws::String&& value) { SetStatusDetail(std::move(value)); return *this;} /** *Detail information of what is being done within the overall status state.
*/ inline MigrationTaskSummary& WithStatusDetail(const char* value) { SetStatusDetail(value); return *this;} /** *The timestamp when the task was gathered.
*/ inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; } /** *The timestamp when the task was gathered.
*/ inline bool UpdateDateTimeHasBeenSet() const { return m_updateDateTimeHasBeenSet; } /** *The timestamp when the task was gathered.
*/ inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = value; } /** *The timestamp when the task was gathered.
*/ inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTimeHasBeenSet = true; m_updateDateTime = std::move(value); } /** *The timestamp when the task was gathered.
*/ inline MigrationTaskSummary& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;} /** *The timestamp when the task was gathered.
*/ inline MigrationTaskSummary& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;} private: Aws::String m_progressUpdateStream; bool m_progressUpdateStreamHasBeenSet = false; Aws::String m_migrationTaskName; bool m_migrationTaskNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; int m_progressPercent; bool m_progressPercentHasBeenSet = false; Aws::String m_statusDetail; bool m_statusDetailHasBeenSet = false; Aws::Utils::DateTime m_updateDateTime; bool m_updateDateTimeHasBeenSet = false; }; } // namespace Model } // namespace MigrationHub } // namespace Aws