AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const GroupBy& GetGroupBy() const{ return m_groupBy; }
49 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
50 inline void SetGroupBy(const GroupBy& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
51 inline void SetGroupBy(GroupBy&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
52 inline TemporalStatisticsConfigInput& WithGroupBy(const GroupBy& value) { SetGroupBy(value); return *this;}
53 inline TemporalStatisticsConfigInput& WithGroupBy(GroupBy&& value) { SetGroupBy(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<TemporalStatistics>& GetStatistics() const{ return m_statistics; }
61 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
62 inline void SetStatistics(const Aws::Vector<TemporalStatistics>& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
63 inline void SetStatistics(Aws::Vector<TemporalStatistics>&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
66 inline TemporalStatisticsConfigInput& AddStatistics(const TemporalStatistics& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
67 inline TemporalStatisticsConfigInput& AddStatistics(TemporalStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetTargetBands() const{ return m_targetBands; }
75 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
76 inline void SetTargetBands(const Aws::Vector<Aws::String>& value) { m_targetBandsHasBeenSet = true; m_targetBands = value; }
77 inline void SetTargetBands(Aws::Vector<Aws::String>&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::move(value); }
79 inline TemporalStatisticsConfigInput& WithTargetBands(Aws::Vector<Aws::String>&& value) { SetTargetBands(std::move(value)); return *this;}
80 inline TemporalStatisticsConfigInput& AddTargetBands(const Aws::String& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; }
81 inline TemporalStatisticsConfigInput& AddTargetBands(Aws::String&& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(std::move(value)); return *this; }
82 inline TemporalStatisticsConfigInput& AddTargetBands(const char* value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; }
84 private:
85
86 GroupBy m_groupBy;
87 bool m_groupByHasBeenSet = false;
88
90 bool m_statisticsHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_targetBands;
93 bool m_targetBandsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMakerGeospatial
98} // namespace Aws
TemporalStatisticsConfigInput & WithStatistics(const Aws::Vector< TemporalStatistics > &value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
TemporalStatisticsConfigInput & WithTargetBands(const Aws::Vector< Aws::String > &value)
const Aws::Vector< TemporalStatistics > & GetStatistics() const
TemporalStatisticsConfigInput & AddStatistics(TemporalStatistics &&value)
TemporalStatisticsConfigInput & AddTargetBands(const char *value)
AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
TemporalStatisticsConfigInput & WithGroupBy(const GroupBy &value)
TemporalStatisticsConfigInput & AddTargetBands(const Aws::String &value)
TemporalStatisticsConfigInput & AddStatistics(const TemporalStatistics &value)
AWS_SAGEMAKERGEOSPATIAL_API TemporalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue)
TemporalStatisticsConfigInput & WithStatistics(Aws::Vector< TemporalStatistics > &&value)
TemporalStatisticsConfigInput & AddTargetBands(Aws::String &&value)
TemporalStatisticsConfigInput & WithTargetBands(Aws::Vector< Aws::String > &&value)
void SetStatistics(const Aws::Vector< TemporalStatistics > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue