/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A DataSourceSummary
object that returns a summary of a data
* source.See Also:
AWS
* API Reference
The arn of the datasource.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The arn of the datasource.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The arn of the datasource.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The arn of the datasource.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The arn of the datasource.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The arn of the datasource.
*/ inline DataSourceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The arn of the datasource.
*/ inline DataSourceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The arn of the datasource.
*/ inline DataSourceSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The unique ID of the data source.
*/ inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; } /** *The unique ID of the data source.
*/ inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; } /** *The unique ID of the data source.
*/ inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; } /** *The unique ID of the data source.
*/ inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); } /** *The unique ID of the data source.
*/ inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); } /** *The unique ID of the data source.
*/ inline DataSourceSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;} /** *The unique ID of the data source.
*/ inline DataSourceSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;} /** *The unique ID of the data source.
*/ inline DataSourceSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;} /** *The name of the data source.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data source.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data source.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data source.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data source.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data source.
*/ inline DataSourceSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data source.
*/ inline DataSourceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data source.
*/ inline DataSourceSummary& WithName(const char* value) { SetName(value); return *this;} /** *The type of the data source.
*/ inline const DataSourceType& GetType() const{ return m_type; } /** *The type of the data source.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the data source.
*/ inline void SetType(const DataSourceType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the data source.
*/ inline void SetType(DataSourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the data source.
*/ inline DataSourceSummary& WithType(const DataSourceType& value) { SetType(value); return *this;} /** *The type of the data source.
*/ inline DataSourceSummary& WithType(DataSourceType&& value) { SetType(std::move(value)); return *this;} /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline DataSourceSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The date and time that the data source was created. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline DataSourceSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline DataSourceSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The date and time the data source was last updated. This value is expressed * in MM-DD-YYYY HH:MM:SS format.
*/ inline DataSourceSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_dataSourceId; bool m_dataSourceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; DataSourceType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws