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

The structure representing the configuration for Temporal Statistics * operation.

See Also:

AWS * API Reference

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

The input for the temporal statistics grouping by time frequency option.

*/ inline const GroupBy& GetGroupBy() const{ return m_groupBy; } /** *

The input for the temporal statistics grouping by time frequency option.

*/ inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; } /** *

The input for the temporal statistics grouping by time frequency option.

*/ inline void SetGroupBy(const GroupBy& value) { m_groupByHasBeenSet = true; m_groupBy = value; } /** *

The input for the temporal statistics grouping by time frequency option.

*/ inline void SetGroupBy(GroupBy&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); } /** *

The input for the temporal statistics grouping by time frequency option.

*/ inline TemporalStatisticsConfigInput& WithGroupBy(const GroupBy& value) { SetGroupBy(value); return *this;} /** *

The input for the temporal statistics grouping by time frequency option.

*/ inline TemporalStatisticsConfigInput& WithGroupBy(GroupBy&& value) { SetGroupBy(std::move(value)); return *this;} /** *

The list of the statistics method options.

*/ inline const Aws::Vector& GetStatistics() const{ return m_statistics; } /** *

The list of the statistics method options.

*/ inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; } /** *

The list of the statistics method options.

*/ inline void SetStatistics(const Aws::Vector& value) { m_statisticsHasBeenSet = true; m_statistics = value; } /** *

The list of the statistics method options.

*/ inline void SetStatistics(Aws::Vector&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); } /** *

The list of the statistics method options.

*/ inline TemporalStatisticsConfigInput& WithStatistics(const Aws::Vector& value) { SetStatistics(value); return *this;} /** *

The list of the statistics method options.

*/ inline TemporalStatisticsConfigInput& WithStatistics(Aws::Vector&& value) { SetStatistics(std::move(value)); return *this;} /** *

The list of the statistics method options.

*/ inline TemporalStatisticsConfigInput& AddStatistics(const TemporalStatistics& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; } /** *

The list of the statistics method options.

*/ inline TemporalStatisticsConfigInput& AddStatistics(TemporalStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline const Aws::Vector& GetTargetBands() const{ return m_targetBands; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline void SetTargetBands(const Aws::Vector& value) { m_targetBandsHasBeenSet = true; m_targetBands = value; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline void SetTargetBands(Aws::Vector&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::move(value); } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline TemporalStatisticsConfigInput& WithTargetBands(const Aws::Vector& value) { SetTargetBands(value); return *this;} /** *

The list of target band names for the temporal statistic to calculate.

*/ inline TemporalStatisticsConfigInput& WithTargetBands(Aws::Vector&& value) { SetTargetBands(std::move(value)); return *this;} /** *

The list of target band names for the temporal statistic to calculate.

*/ inline TemporalStatisticsConfigInput& AddTargetBands(const Aws::String& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline TemporalStatisticsConfigInput& AddTargetBands(Aws::String&& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(std::move(value)); return *this; } /** *

The list of target band names for the temporal statistic to calculate.

*/ inline TemporalStatisticsConfigInput& AddTargetBands(const char* value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; } private: GroupBy m_groupBy; bool m_groupByHasBeenSet = false; Aws::Vector m_statistics; bool m_statisticsHasBeenSet = false; Aws::Vector m_targetBands; bool m_targetBandsHasBeenSet = false; }; } // namespace Model } // namespace SageMakerGeospatial } // namespace Aws