AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ZonalStatisticsConfigInput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-geospatial/model/ZonalStatistics.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMakerGeospatial
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput() = default;
38 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<ZonalStatistics>& GetStatistics() const { return m_statistics; }
48 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
49 template<typename StatisticsT = Aws::Vector<ZonalStatistics>>
50 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
51 template<typename StatisticsT = Aws::Vector<ZonalStatistics>>
52 ZonalStatisticsConfigInput& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
53 inline ZonalStatisticsConfigInput& AddStatistics(ZonalStatistics value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
55
57
61 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
62 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
63 template<typename TargetBandsT = Aws::Vector<Aws::String>>
64 void SetTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::forward<TargetBandsT>(value); }
65 template<typename TargetBandsT = Aws::Vector<Aws::String>>
66 ZonalStatisticsConfigInput& WithTargetBands(TargetBandsT&& value) { SetTargetBands(std::forward<TargetBandsT>(value)); return *this;}
67 template<typename TargetBandsT = Aws::String>
68 ZonalStatisticsConfigInput& AddTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands.emplace_back(std::forward<TargetBandsT>(value)); return *this; }
70
72
76 inline const Aws::String& GetZoneS3Path() const { return m_zoneS3Path; }
77 inline bool ZoneS3PathHasBeenSet() const { return m_zoneS3PathHasBeenSet; }
78 template<typename ZoneS3PathT = Aws::String>
79 void SetZoneS3Path(ZoneS3PathT&& value) { m_zoneS3PathHasBeenSet = true; m_zoneS3Path = std::forward<ZoneS3PathT>(value); }
80 template<typename ZoneS3PathT = Aws::String>
81 ZonalStatisticsConfigInput& WithZoneS3Path(ZoneS3PathT&& value) { SetZoneS3Path(std::forward<ZoneS3PathT>(value)); return *this;}
83
85
100 inline const Aws::String& GetZoneS3PathKmsKeyId() const { return m_zoneS3PathKmsKeyId; }
101 inline bool ZoneS3PathKmsKeyIdHasBeenSet() const { return m_zoneS3PathKmsKeyIdHasBeenSet; }
102 template<typename ZoneS3PathKmsKeyIdT = Aws::String>
103 void SetZoneS3PathKmsKeyId(ZoneS3PathKmsKeyIdT&& value) { m_zoneS3PathKmsKeyIdHasBeenSet = true; m_zoneS3PathKmsKeyId = std::forward<ZoneS3PathKmsKeyIdT>(value); }
104 template<typename ZoneS3PathKmsKeyIdT = Aws::String>
105 ZonalStatisticsConfigInput& WithZoneS3PathKmsKeyId(ZoneS3PathKmsKeyIdT&& value) { SetZoneS3PathKmsKeyId(std::forward<ZoneS3PathKmsKeyIdT>(value)); return *this;}
107 private:
108
109 Aws::Vector<ZonalStatistics> m_statistics;
110 bool m_statisticsHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_targetBands;
113 bool m_targetBandsHasBeenSet = false;
114
115 Aws::String m_zoneS3Path;
116 bool m_zoneS3PathHasBeenSet = false;
117
118 Aws::String m_zoneS3PathKmsKeyId;
119 bool m_zoneS3PathKmsKeyIdHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SageMakerGeospatial
124} // 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