This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-appsync/include/aws/appsync/model/CreateDataSourceResult.h

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