/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The source template of an analysis.

See Also:

AWS * API Reference

*/ class AnalysisSourceTemplate { public: AWS_QUICKSIGHT_API AnalysisSourceTemplate(); AWS_QUICKSIGHT_API AnalysisSourceTemplate(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API AnalysisSourceTemplate& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The dataset references of the source template of an analysis.

*/ inline const Aws::Vector& GetDataSetReferences() const{ return m_dataSetReferences; } /** *

The dataset references of the source template of an analysis.

*/ inline bool DataSetReferencesHasBeenSet() const { return m_dataSetReferencesHasBeenSet; } /** *

The dataset references of the source template of an analysis.

*/ inline void SetDataSetReferences(const Aws::Vector& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = value; } /** *

The dataset references of the source template of an analysis.

*/ inline void SetDataSetReferences(Aws::Vector&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences = std::move(value); } /** *

The dataset references of the source template of an analysis.

*/ inline AnalysisSourceTemplate& WithDataSetReferences(const Aws::Vector& value) { SetDataSetReferences(value); return *this;} /** *

The dataset references of the source template of an analysis.

*/ inline AnalysisSourceTemplate& WithDataSetReferences(Aws::Vector&& value) { SetDataSetReferences(std::move(value)); return *this;} /** *

The dataset references of the source template of an analysis.

*/ inline AnalysisSourceTemplate& AddDataSetReferences(const DataSetReference& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(value); return *this; } /** *

The dataset references of the source template of an analysis.

*/ inline AnalysisSourceTemplate& AddDataSetReferences(DataSetReference&& value) { m_dataSetReferencesHasBeenSet = true; m_dataSetReferences.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline AnalysisSourceTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline AnalysisSourceTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the source template of an analysis.

*/ inline AnalysisSourceTemplate& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::Vector m_dataSetReferences; bool m_dataSetReferencesHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws