/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class DescribeDataSourceResult { public: AWS_QUICKSIGHT_API DescribeDataSourceResult(); AWS_QUICKSIGHT_API DescribeDataSourceResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeDataSourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The information on the data source.

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

The information on the data source.

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

The information on the data source.

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

The information on the data source.

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

The information on the data source.

*/ inline DescribeDataSourceResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(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 DescribeDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DescribeDataSourceResult& WithStatus(int value) { SetStatus(value); return *this;} private: DataSource m_dataSource; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws