/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Attribute mapping for MULTI value measures.See Also:
AWS
* API Reference
Source column from where the attribute value is to be read.
*/ inline const Aws::String& GetSourceColumn() const{ return m_sourceColumn; } /** *Source column from where the attribute value is to be read.
*/ inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; } /** *Source column from where the attribute value is to be read.
*/ inline void SetSourceColumn(const Aws::String& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; } /** *Source column from where the attribute value is to be read.
*/ inline void SetSourceColumn(Aws::String&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); } /** *Source column from where the attribute value is to be read.
*/ inline void SetSourceColumn(const char* value) { m_sourceColumnHasBeenSet = true; m_sourceColumn.assign(value); } /** *Source column from where the attribute value is to be read.
*/ inline MultiMeasureAttributeMapping& WithSourceColumn(const Aws::String& value) { SetSourceColumn(value); return *this;} /** *Source column from where the attribute value is to be read.
*/ inline MultiMeasureAttributeMapping& WithSourceColumn(Aws::String&& value) { SetSourceColumn(std::move(value)); return *this;} /** *Source column from where the attribute value is to be read.
*/ inline MultiMeasureAttributeMapping& WithSourceColumn(const char* value) { SetSourceColumn(value); return *this;} /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline const Aws::String& GetTargetMultiMeasureAttributeName() const{ return m_targetMultiMeasureAttributeName; } /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline bool TargetMultiMeasureAttributeNameHasBeenSet() const { return m_targetMultiMeasureAttributeNameHasBeenSet; } /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline void SetTargetMultiMeasureAttributeName(const Aws::String& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = value; } /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline void SetTargetMultiMeasureAttributeName(Aws::String&& value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName = std::move(value); } /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline void SetTargetMultiMeasureAttributeName(const char* value) { m_targetMultiMeasureAttributeNameHasBeenSet = true; m_targetMultiMeasureAttributeName.assign(value); } /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline MultiMeasureAttributeMapping& WithTargetMultiMeasureAttributeName(const Aws::String& value) { SetTargetMultiMeasureAttributeName(value); return *this;} /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline MultiMeasureAttributeMapping& WithTargetMultiMeasureAttributeName(Aws::String&& value) { SetTargetMultiMeasureAttributeName(std::move(value)); return *this;} /** *Custom name to be used for attribute name in derived table. If not provided, * source column name would be used.
*/ inline MultiMeasureAttributeMapping& WithTargetMultiMeasureAttributeName(const char* value) { SetTargetMultiMeasureAttributeName(value); return *this;} /** *Type of the attribute to be read from the source column.
*/ inline const ScalarMeasureValueType& GetMeasureValueType() const{ return m_measureValueType; } /** *Type of the attribute to be read from the source column.
*/ inline bool MeasureValueTypeHasBeenSet() const { return m_measureValueTypeHasBeenSet; } /** *Type of the attribute to be read from the source column.
*/ inline void SetMeasureValueType(const ScalarMeasureValueType& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = value; } /** *Type of the attribute to be read from the source column.
*/ inline void SetMeasureValueType(ScalarMeasureValueType&& value) { m_measureValueTypeHasBeenSet = true; m_measureValueType = std::move(value); } /** *Type of the attribute to be read from the source column.
*/ inline MultiMeasureAttributeMapping& WithMeasureValueType(const ScalarMeasureValueType& value) { SetMeasureValueType(value); return *this;} /** *Type of the attribute to be read from the source column.
*/ inline MultiMeasureAttributeMapping& WithMeasureValueType(ScalarMeasureValueType&& value) { SetMeasureValueType(std::move(value)); return *this;} private: Aws::String m_sourceColumn; bool m_sourceColumnHasBeenSet = false; Aws::String m_targetMultiMeasureAttributeName; bool m_targetMultiMeasureAttributeNameHasBeenSet = false; ScalarMeasureValueType m_measureValueType; bool m_measureValueTypeHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws