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

Represents the output of a DeleteDataSource * operation.

See Also:

AWS * API Reference

*/ class DeleteDataSourceResult { public: AWS_MACHINELEARNING_API DeleteDataSourceResult(); AWS_MACHINELEARNING_API DeleteDataSourceResult(const Aws::AmazonWebServiceResult& result); AWS_MACHINELEARNING_API DeleteDataSourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; } /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); } /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); } /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline DeleteDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline DeleteDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *

A user-supplied ID that uniquely identifies the DataSource. This * value should be identical to the value of the DataSourceID in the * request.

*/ inline DeleteDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(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 DeleteDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_dataSourceId; Aws::String m_requestId; }; } // namespace Model } // namespace MachineLearning } // namespace Aws