/** * 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 AppSync { namespace Model { class AWS_APPSYNC_API UpdateDataSourceResult { public: UpdateDataSourceResult(); UpdateDataSourceResult(const Aws::AmazonWebServiceResult& result); UpdateDataSourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated DataSource object.

*/ inline const DataSource& GetDataSource() const{ return m_dataSource; } /** *

The updated DataSource object.

*/ inline void SetDataSource(const DataSource& value) { m_dataSource = value; } /** *

The updated DataSource object.

*/ inline void SetDataSource(DataSource&& value) { m_dataSource = std::move(value); } /** *

The updated DataSource object.

*/ inline UpdateDataSourceResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} /** *

The updated DataSource object.

*/ inline UpdateDataSourceResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} private: DataSource m_dataSource; }; } // namespace Model } // namespace AppSync } // namespace Aws