/** * 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 CreateDataSourceResult { public: CreateDataSourceResult(); CreateDataSourceResult(const Aws::AmazonWebServiceResult& result); CreateDataSourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The DataSource object.

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

The DataSource object.

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

The DataSource object.

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

The DataSource object.

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

The DataSource object.

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