AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TemporalStatisticsConfigInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
10#include <aws/sagemaker-geospatial/model/GroupBy.h>
11#include <aws/sagemaker-geospatial/model/TemporalStatistics.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMakerGeospatial {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput() = default;
34 AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline GroupBy GetGroupBy() const { return m_groupBy; }
43 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
44 inline void SetGroupBy(GroupBy value) {
45 m_groupByHasBeenSet = true;
46 m_groupBy = value;
47 }
49 SetGroupBy(value);
50 return *this;
51 }
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) {
62 m_statisticsHasBeenSet = true;
63 m_statistics = std::forward<StatisticsT>(value);
64 }
65 template <typename StatisticsT = Aws::Vector<TemporalStatistics>>
67 SetStatistics(std::forward<StatisticsT>(value));
68 return *this;
69 }
71 m_statisticsHasBeenSet = true;
72 m_statistics.push_back(value);
73 return *this;
74 }
76
78
81 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
82 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
83 template <typename TargetBandsT = Aws::Vector<Aws::String>>
84 void SetTargetBands(TargetBandsT&& value) {
85 m_targetBandsHasBeenSet = true;
86 m_targetBands = std::forward<TargetBandsT>(value);
87 }
88 template <typename TargetBandsT = Aws::Vector<Aws::String>>
90 SetTargetBands(std::forward<TargetBandsT>(value));
91 return *this;
92 }
93 template <typename TargetBandsT = Aws::String>
95 m_targetBandsHasBeenSet = true;
96 m_targetBands.emplace_back(std::forward<TargetBandsT>(value));
97 return *this;
98 }
100 private:
101 GroupBy m_groupBy{GroupBy::NOT_SET};
102
104
105 Aws::Vector<Aws::String> m_targetBands;
106 bool m_groupByHasBeenSet = false;
107 bool m_statisticsHasBeenSet = false;
108 bool m_targetBandsHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SageMakerGeospatial
113} // 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