/** * 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 an UpdateDataSource operation.

*

You can see the updated content by using the GetBatchPrediction * operation.

See Also:

AWS * API Reference

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

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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

The ID assigned to the DataSource during creation. 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); } /** *

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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

The ID assigned to the DataSource during creation. This value * should be identical to the value of the DataSourceID in the * request.

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