AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetTileRequest.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/SageMakerGeospatialRequest.h>
10#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
11#include <aws/sagemaker-geospatial/model/OutputType.h>
12#include <aws/sagemaker-geospatial/model/TargetOptions.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Http {
18class URI;
19} // namespace Http
20namespace SageMakerGeospatial {
21namespace Model {
22
26 public:
27 AWS_SAGEMAKERGEOSPATIAL_API GetTileRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetTile"; }
34
35 AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override;
36
37 AWS_SAGEMAKERGEOSPATIAL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
51 GetTileRequest& WithArn(ArnT&& value) {
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
62 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
63 template <typename ExecutionRoleArnT = Aws::String>
64 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
65 m_executionRoleArnHasBeenSet = true;
66 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
67 }
68 template <typename ExecutionRoleArnT = Aws::String>
69 GetTileRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
70 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<Aws::String>& GetImageAssets() const { return m_imageAssets; }
80 inline bool ImageAssetsHasBeenSet() const { return m_imageAssetsHasBeenSet; }
81 template <typename ImageAssetsT = Aws::Vector<Aws::String>>
82 void SetImageAssets(ImageAssetsT&& value) {
83 m_imageAssetsHasBeenSet = true;
84 m_imageAssets = std::forward<ImageAssetsT>(value);
85 }
86 template <typename ImageAssetsT = Aws::Vector<Aws::String>>
87 GetTileRequest& WithImageAssets(ImageAssetsT&& value) {
88 SetImageAssets(std::forward<ImageAssetsT>(value));
89 return *this;
90 }
91 template <typename ImageAssetsT = Aws::String>
92 GetTileRequest& AddImageAssets(ImageAssetsT&& value) {
93 m_imageAssetsHasBeenSet = true;
94 m_imageAssets.emplace_back(std::forward<ImageAssetsT>(value));
95 return *this;
96 }
98
100
103 inline bool GetImageMask() const { return m_imageMask; }
104 inline bool ImageMaskHasBeenSet() const { return m_imageMaskHasBeenSet; }
105 inline void SetImageMask(bool value) {
106 m_imageMaskHasBeenSet = true;
107 m_imageMask = value;
108 }
109 inline GetTileRequest& WithImageMask(bool value) {
110 SetImageMask(value);
111 return *this;
112 }
114
116
119 inline OutputType GetOutputDataType() const { return m_outputDataType; }
120 inline bool OutputDataTypeHasBeenSet() const { return m_outputDataTypeHasBeenSet; }
121 inline void SetOutputDataType(OutputType value) {
122 m_outputDataTypeHasBeenSet = true;
123 m_outputDataType = value;
124 }
126 SetOutputDataType(value);
127 return *this;
128 }
130
132
136 inline const Aws::String& GetOutputFormat() const { return m_outputFormat; }
137 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
138 template <typename OutputFormatT = Aws::String>
139 void SetOutputFormat(OutputFormatT&& value) {
140 m_outputFormatHasBeenSet = true;
141 m_outputFormat = std::forward<OutputFormatT>(value);
142 }
143 template <typename OutputFormatT = Aws::String>
144 GetTileRequest& WithOutputFormat(OutputFormatT&& value) {
145 SetOutputFormat(std::forward<OutputFormatT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetPropertyFilters() const { return m_propertyFilters; }
155 inline bool PropertyFiltersHasBeenSet() const { return m_propertyFiltersHasBeenSet; }
156 template <typename PropertyFiltersT = Aws::String>
157 void SetPropertyFilters(PropertyFiltersT&& value) {
158 m_propertyFiltersHasBeenSet = true;
159 m_propertyFilters = std::forward<PropertyFiltersT>(value);
160 }
161 template <typename PropertyFiltersT = Aws::String>
162 GetTileRequest& WithPropertyFilters(PropertyFiltersT&& value) {
163 SetPropertyFilters(std::forward<PropertyFiltersT>(value));
164 return *this;
165 }
167
169
173 inline TargetOptions GetTarget() const { return m_target; }
174 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
175 inline void SetTarget(TargetOptions value) {
176 m_targetHasBeenSet = true;
177 m_target = value;
178 }
180 SetTarget(value);
181 return *this;
182 }
184
186
189 inline const Aws::String& GetTimeRangeFilter() const { return m_timeRangeFilter; }
190 inline bool TimeRangeFilterHasBeenSet() const { return m_timeRangeFilterHasBeenSet; }
191 template <typename TimeRangeFilterT = Aws::String>
192 void SetTimeRangeFilter(TimeRangeFilterT&& value) {
193 m_timeRangeFilterHasBeenSet = true;
194 m_timeRangeFilter = std::forward<TimeRangeFilterT>(value);
195 }
196 template <typename TimeRangeFilterT = Aws::String>
197 GetTileRequest& WithTimeRangeFilter(TimeRangeFilterT&& value) {
198 SetTimeRangeFilter(std::forward<TimeRangeFilterT>(value));
199 return *this;
200 }
202
204
207 inline int GetX() const { return m_x; }
208 inline bool XHasBeenSet() const { return m_xHasBeenSet; }
209 inline void SetX(int value) {
210 m_xHasBeenSet = true;
211 m_x = value;
212 }
213 inline GetTileRequest& WithX(int value) {
214 SetX(value);
215 return *this;
216 }
218
220
223 inline int GetY() const { return m_y; }
224 inline bool YHasBeenSet() const { return m_yHasBeenSet; }
225 inline void SetY(int value) {
226 m_yHasBeenSet = true;
227 m_y = value;
228 }
229 inline GetTileRequest& WithY(int value) {
230 SetY(value);
231 return *this;
232 }
234
236
239 inline int GetZ() const { return m_z; }
240 inline bool ZHasBeenSet() const { return m_zHasBeenSet; }
241 inline void SetZ(int value) {
242 m_zHasBeenSet = true;
243 m_z = value;
244 }
245 inline GetTileRequest& WithZ(int value) {
246 SetZ(value);
247 return *this;
248 }
250 private:
251 Aws::String m_arn;
252
253 Aws::String m_executionRoleArn;
254
255 Aws::Vector<Aws::String> m_imageAssets;
256
257 bool m_imageMask{false};
258
259 OutputType m_outputDataType{OutputType::NOT_SET};
260
261 Aws::String m_outputFormat;
262
263 Aws::String m_propertyFilters;
264
266
267 Aws::String m_timeRangeFilter;
268
269 int m_x{0};
270
271 int m_y{0};
272
273 int m_z{0};
274 bool m_arnHasBeenSet = false;
275 bool m_executionRoleArnHasBeenSet = false;
276 bool m_imageAssetsHasBeenSet = false;
277 bool m_imageMaskHasBeenSet = false;
278 bool m_outputDataTypeHasBeenSet = false;
279 bool m_outputFormatHasBeenSet = false;
280 bool m_propertyFiltersHasBeenSet = false;
281 bool m_targetHasBeenSet = false;
282 bool m_timeRangeFilterHasBeenSet = false;
283 bool m_xHasBeenSet = false;
284 bool m_yHasBeenSet = false;
285 bool m_zHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace SageMakerGeospatial
290} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetTileRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetImageAssets() const
GetTileRequest & WithPropertyFilters(PropertyFiltersT &&value)
void SetTimeRangeFilter(TimeRangeFilterT &&value)
const Aws::String & GetExecutionRoleArn() const
GetTileRequest & AddImageAssets(ImageAssetsT &&value)
GetTileRequest & WithTimeRangeFilter(TimeRangeFilterT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
AWS_SAGEMAKERGEOSPATIAL_API GetTileRequest()=default
void SetPropertyFilters(PropertyFiltersT &&value)
GetTileRequest & WithOutputFormat(OutputFormatT &&value)
GetTileRequest & WithImageAssets(ImageAssetsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override
GetTileRequest & WithTarget(TargetOptions value)
GetTileRequest & WithOutputDataType(OutputType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector