AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TemporalStatisticsConfigInput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/model/GroupBy.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker-geospatial/model/TemporalStatistics.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMakerGeospatial
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput() = default;
39 AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline GroupBy GetGroupBy() const { return m_groupBy; }
49 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
50 inline void SetGroupBy(GroupBy value) { m_groupByHasBeenSet = true; m_groupBy = value; }
51 inline TemporalStatisticsConfigInput& WithGroupBy(GroupBy value) { SetGroupBy(value); return *this;}
53
55
58 inline const Aws::Vector<TemporalStatistics>& GetStatistics() const { return m_statistics; }
59 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
60 template<typename StatisticsT = Aws::Vector<TemporalStatistics>>
61 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
62 template<typename StatisticsT = Aws::Vector<TemporalStatistics>>
63 TemporalStatisticsConfigInput& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
64 inline TemporalStatisticsConfigInput& AddStatistics(TemporalStatistics value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
66
68
71 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
72 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
73 template<typename TargetBandsT = Aws::Vector<Aws::String>>
74 void SetTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::forward<TargetBandsT>(value); }
75 template<typename TargetBandsT = Aws::Vector<Aws::String>>
76 TemporalStatisticsConfigInput& WithTargetBands(TargetBandsT&& value) { SetTargetBands(std::forward<TargetBandsT>(value)); return *this;}
77 template<typename TargetBandsT = Aws::String>
78 TemporalStatisticsConfigInput& AddTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands.emplace_back(std::forward<TargetBandsT>(value)); return *this; }
80 private:
81
82 GroupBy m_groupBy{GroupBy::NOT_SET};
83 bool m_groupByHasBeenSet = false;
84
86 bool m_statisticsHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_targetBands;
89 bool m_targetBandsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMakerGeospatial
94} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput()=default
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< TemporalStatistics > & GetStatistics() const
AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
TemporalStatisticsConfigInput & WithStatistics(StatisticsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue)
TemporalStatisticsConfigInput & WithTargetBands(TargetBandsT &&value)
TemporalStatisticsConfigInput & AddStatistics(TemporalStatistics value)
TemporalStatisticsConfigInput & AddTargetBands(TargetBandsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue