68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/appsync/AppSync_EXPORTS.h>
|
|
#include <aws/appsync/model/DataSource.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|
CreateDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The <code>DataSource</code> object.</p>
|
|
*/
|
|
inline const DataSource& GetDataSource() const{ return m_dataSource; }
|
|
|
|
/**
|
|
* <p>The <code>DataSource</code> object.</p>
|
|
*/
|
|
inline void SetDataSource(const DataSource& value) { m_dataSource = value; }
|
|
|
|
/**
|
|
* <p>The <code>DataSource</code> object.</p>
|
|
*/
|
|
inline void SetDataSource(DataSource&& value) { m_dataSource = std::move(value); }
|
|
|
|
/**
|
|
* <p>The <code>DataSource</code> object.</p>
|
|
*/
|
|
inline CreateDataSourceResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>DataSource</code> object.</p>
|
|
*/
|
|
inline CreateDataSourceResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
DataSource m_dataSource;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace AppSync
|
|
} // namespace Aws
|