/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MigrationHub { namespace Model { class AWS_MIGRATIONHUB_API DescribeMigrationTaskResult { public: DescribeMigrationTaskResult(); DescribeMigrationTaskResult(const Aws::AmazonWebServiceResult& result); DescribeMigrationTaskResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Object encapsulating information about the migration task.

*/ inline const MigrationTask& GetMigrationTask() const{ return m_migrationTask; } /** *

Object encapsulating information about the migration task.

*/ inline void SetMigrationTask(const MigrationTask& value) { m_migrationTask = value; } /** *

Object encapsulating information about the migration task.

*/ inline void SetMigrationTask(MigrationTask&& value) { m_migrationTask = std::move(value); } /** *

Object encapsulating information about the migration task.

*/ inline DescribeMigrationTaskResult& WithMigrationTask(const MigrationTask& value) { SetMigrationTask(value); return *this;} /** *

Object encapsulating information about the migration task.

*/ inline DescribeMigrationTaskResult& WithMigrationTask(MigrationTask&& value) { SetMigrationTask(std::move(value)); return *this;} private: MigrationTask m_migrationTask; }; } // namespace Model } // namespace MigrationHub } // namespace Aws