AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ZonalStatisticsConfigInput.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/ZonalStatistics.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMakerGeospatial {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput() = default;
33 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<ZonalStatistics>& GetStatistics() const { return m_statistics; }
42 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
43 template <typename StatisticsT = Aws::Vector<ZonalStatistics>>
44 void SetStatistics(StatisticsT&& value) {
45 m_statisticsHasBeenSet = true;
46 m_statistics = std::forward<StatisticsT>(value);
47 }
48 template <typename StatisticsT = Aws::Vector<ZonalStatistics>>
50 SetStatistics(std::forward<StatisticsT>(value));
51 return *this;
52 }
54 m_statisticsHasBeenSet = true;
55 m_statistics.push_back(value);
56 return *this;
57 }
59
61
65 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
66 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
67 template <typename TargetBandsT = Aws::Vector<Aws::String>>
68 void SetTargetBands(TargetBandsT&& value) {
69 m_targetBandsHasBeenSet = true;
70 m_targetBands = std::forward<TargetBandsT>(value);
71 }
72 template <typename TargetBandsT = Aws::Vector<Aws::String>>
74 SetTargetBands(std::forward<TargetBandsT>(value));
75 return *this;
76 }
77 template <typename TargetBandsT = Aws::String>
79 m_targetBandsHasBeenSet = true;
80 m_targetBands.emplace_back(std::forward<TargetBandsT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetZoneS3Path() const { return m_zoneS3Path; }
91 inline bool ZoneS3PathHasBeenSet() const { return m_zoneS3PathHasBeenSet; }
92 template <typename ZoneS3PathT = Aws::String>
93 void SetZoneS3Path(ZoneS3PathT&& value) {
94 m_zoneS3PathHasBeenSet = true;
95 m_zoneS3Path = std::forward<ZoneS3PathT>(value);
96 }
97 template <typename ZoneS3PathT = Aws::String>
99 SetZoneS3Path(std::forward<ZoneS3PathT>(value));
100 return *this;
101 }
103
105
120 inline const Aws::String& GetZoneS3PathKmsKeyId() const { return m_zoneS3PathKmsKeyId; }
121 inline bool ZoneS3PathKmsKeyIdHasBeenSet() const { return m_zoneS3PathKmsKeyIdHasBeenSet; }
122 template <typename ZoneS3PathKmsKeyIdT = Aws::String>
123 void SetZoneS3PathKmsKeyId(ZoneS3PathKmsKeyIdT&& value) {
124 m_zoneS3PathKmsKeyIdHasBeenSet = true;
125 m_zoneS3PathKmsKeyId = std::forward<ZoneS3PathKmsKeyIdT>(value);
126 }
127 template <typename ZoneS3PathKmsKeyIdT = Aws::String>
129 SetZoneS3PathKmsKeyId(std::forward<ZoneS3PathKmsKeyIdT>(value));
130 return *this;
131 }
133 private:
134 Aws::Vector<ZonalStatistics> m_statistics;
135
136 Aws::Vector<Aws::String> m_targetBands;
137
138 Aws::String m_zoneS3Path;
139
140 Aws::String m_zoneS3PathKmsKeyId;
141 bool m_statisticsHasBeenSet = false;
142 bool m_targetBandsHasBeenSet = false;
143 bool m_zoneS3PathHasBeenSet = false;
144 bool m_zoneS3PathKmsKeyIdHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace SageMakerGeospatial
149} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput()=default
ZonalStatisticsConfigInput & WithZoneS3PathKmsKeyId(ZoneS3PathKmsKeyIdT &&value)
ZonalStatisticsConfigInput & WithStatistics(StatisticsT &&value)
ZonalStatisticsConfigInput & WithZoneS3Path(ZoneS3PathT &&value)
ZonalStatisticsConfigInput & AddStatistics(ZonalStatistics value)
ZonalStatisticsConfigInput & WithTargetBands(TargetBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
ZonalStatisticsConfigInput & AddTargetBands(TargetBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ZonalStatistics > & GetStatistics() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue