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

The description of the data repository task that you just created.

*/ inline const DataRepositoryTask& GetDataRepositoryTask() const{ return m_dataRepositoryTask; } /** *

The description of the data repository task that you just created.

*/ inline void SetDataRepositoryTask(const DataRepositoryTask& value) { m_dataRepositoryTask = value; } /** *

The description of the data repository task that you just created.

*/ inline void SetDataRepositoryTask(DataRepositoryTask&& value) { m_dataRepositoryTask = std::move(value); } /** *

The description of the data repository task that you just created.

*/ inline CreateDataRepositoryTaskResult& WithDataRepositoryTask(const DataRepositoryTask& value) { SetDataRepositoryTask(value); return *this;} /** *

The description of the data repository task that you just created.

*/ inline CreateDataRepositoryTaskResult& WithDataRepositoryTask(DataRepositoryTask&& value) { SetDataRepositoryTask(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateDataRepositoryTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDataRepositoryTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDataRepositoryTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DataRepositoryTask m_dataRepositoryTask; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws