AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatistics(const Aws::Vector<ZonalStatistics>& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
50 inline void SetStatistics(Aws::Vector<ZonalStatistics>&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
52 inline ZonalStatisticsConfigInput& WithStatistics(Aws::Vector<ZonalStatistics>&& value) { SetStatistics(std::move(value)); return *this;}
53 inline ZonalStatisticsConfigInput& AddStatistics(const ZonalStatistics& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
54 inline ZonalStatisticsConfigInput& AddStatistics(ZonalStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; }
56
58
62 inline const Aws::Vector<Aws::String>& GetTargetBands() const{ return m_targetBands; }
63 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
64 inline void SetTargetBands(const Aws::Vector<Aws::String>& value) { m_targetBandsHasBeenSet = true; m_targetBands = value; }
65 inline void SetTargetBands(Aws::Vector<Aws::String>&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::move(value); }
67 inline ZonalStatisticsConfigInput& WithTargetBands(Aws::Vector<Aws::String>&& value) { SetTargetBands(std::move(value)); return *this;}
68 inline ZonalStatisticsConfigInput& AddTargetBands(const Aws::String& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; }
69 inline ZonalStatisticsConfigInput& AddTargetBands(Aws::String&& value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(std::move(value)); return *this; }
70 inline ZonalStatisticsConfigInput& AddTargetBands(const char* value) { m_targetBandsHasBeenSet = true; m_targetBands.push_back(value); return *this; }
72
74
78 inline const Aws::String& GetZoneS3Path() const{ return m_zoneS3Path; }
79 inline bool ZoneS3PathHasBeenSet() const { return m_zoneS3PathHasBeenSet; }
80 inline void SetZoneS3Path(const Aws::String& value) { m_zoneS3PathHasBeenSet = true; m_zoneS3Path = value; }
81 inline void SetZoneS3Path(Aws::String&& value) { m_zoneS3PathHasBeenSet = true; m_zoneS3Path = std::move(value); }
82 inline void SetZoneS3Path(const char* value) { m_zoneS3PathHasBeenSet = true; m_zoneS3Path.assign(value); }
83 inline ZonalStatisticsConfigInput& WithZoneS3Path(const Aws::String& value) { SetZoneS3Path(value); return *this;}
84 inline ZonalStatisticsConfigInput& WithZoneS3Path(Aws::String&& value) { SetZoneS3Path(std::move(value)); return *this;}
85 inline ZonalStatisticsConfigInput& WithZoneS3Path(const char* value) { SetZoneS3Path(value); return *this;}
87
89
104 inline const Aws::String& GetZoneS3PathKmsKeyId() const{ return m_zoneS3PathKmsKeyId; }
105 inline bool ZoneS3PathKmsKeyIdHasBeenSet() const { return m_zoneS3PathKmsKeyIdHasBeenSet; }
106 inline void SetZoneS3PathKmsKeyId(const Aws::String& value) { m_zoneS3PathKmsKeyIdHasBeenSet = true; m_zoneS3PathKmsKeyId = value; }
107 inline void SetZoneS3PathKmsKeyId(Aws::String&& value) { m_zoneS3PathKmsKeyIdHasBeenSet = true; m_zoneS3PathKmsKeyId = std::move(value); }
108 inline void SetZoneS3PathKmsKeyId(const char* value) { m_zoneS3PathKmsKeyIdHasBeenSet = true; m_zoneS3PathKmsKeyId.assign(value); }
110 inline ZonalStatisticsConfigInput& WithZoneS3PathKmsKeyId(Aws::String&& value) { SetZoneS3PathKmsKeyId(std::move(value)); return *this;}
111 inline ZonalStatisticsConfigInput& WithZoneS3PathKmsKeyId(const char* value) { SetZoneS3PathKmsKeyId(value); return *this;}
113 private:
114
115 Aws::Vector<ZonalStatistics> m_statistics;
116 bool m_statisticsHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_targetBands;
119 bool m_targetBandsHasBeenSet = false;
120
121 Aws::String m_zoneS3Path;
122 bool m_zoneS3PathHasBeenSet = false;
123
124 Aws::String m_zoneS3PathKmsKeyId;
125 bool m_zoneS3PathKmsKeyIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SageMakerGeospatial
130} // namespace Aws
void SetStatistics(const Aws::Vector< ZonalStatistics > &value)
ZonalStatisticsConfigInput & WithZoneS3Path(const Aws::String &value)
AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput(Aws::Utils::Json::JsonView jsonValue)
ZonalStatisticsConfigInput & WithZoneS3PathKmsKeyId(Aws::String &&value)
ZonalStatisticsConfigInput & AddStatistics(const ZonalStatistics &value)
ZonalStatisticsConfigInput & AddTargetBands(const Aws::String &value)
ZonalStatisticsConfigInput & WithZoneS3PathKmsKeyId(const Aws::String &value)
ZonalStatisticsConfigInput & WithStatistics(Aws::Vector< ZonalStatistics > &&value)
ZonalStatisticsConfigInput & WithTargetBands(Aws::Vector< Aws::String > &&value)
ZonalStatisticsConfigInput & WithZoneS3Path(const char *value)
ZonalStatisticsConfigInput & AddStatistics(ZonalStatistics &&value)
ZonalStatisticsConfigInput & WithTargetBands(const Aws::Vector< Aws::String > &value)
ZonalStatisticsConfigInput & WithStatistics(const Aws::Vector< ZonalStatistics > &value)
ZonalStatisticsConfigInput & WithZoneS3Path(Aws::String &&value)
void SetTargetBands(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
ZonalStatisticsConfigInput & AddTargetBands(const char *value)
AWS_SAGEMAKERGEOSPATIAL_API ZonalStatisticsConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ZonalStatisticsConfigInput & WithZoneS3PathKmsKeyId(const char *value)
ZonalStatisticsConfigInput & AddTargetBands(Aws::String &&value)
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