AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetRasterDataCollectionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
12#include <aws/sagemaker-geospatial/model/DataCollectionType.h>
13#include <aws/sagemaker-geospatial/model/Filter.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMakerGeospatial {
27namespace Model {
29 public:
30 AWS_SAGEMAKERGEOSPATIAL_API GetRasterDataCollectionResult() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API GetRasterDataCollectionResult& operator=(
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDescriptionPageUrl() const { return m_descriptionPageUrl; }
74 template <typename DescriptionPageUrlT = Aws::String>
75 void SetDescriptionPageUrl(DescriptionPageUrlT&& value) {
76 m_descriptionPageUrlHasBeenSet = true;
77 m_descriptionPageUrl = std::forward<DescriptionPageUrlT>(value);
78 }
79 template <typename DescriptionPageUrlT = Aws::String>
81 SetDescriptionPageUrl(std::forward<DescriptionPageUrlT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Vector<Aws::String>& GetImageSourceBands() const { return m_imageSourceBands; }
91 template <typename ImageSourceBandsT = Aws::Vector<Aws::String>>
92 void SetImageSourceBands(ImageSourceBandsT&& value) {
93 m_imageSourceBandsHasBeenSet = true;
94 m_imageSourceBands = std::forward<ImageSourceBandsT>(value);
95 }
96 template <typename ImageSourceBandsT = Aws::Vector<Aws::String>>
98 SetImageSourceBands(std::forward<ImageSourceBandsT>(value));
99 return *this;
100 }
101 template <typename ImageSourceBandsT = Aws::String>
103 m_imageSourceBandsHasBeenSet = true;
104 m_imageSourceBands.emplace_back(std::forward<ImageSourceBandsT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetName() const { return m_name; }
114 template <typename NameT = Aws::String>
115 void SetName(NameT&& value) {
116 m_nameHasBeenSet = true;
117 m_name = std::forward<NameT>(value);
118 }
119 template <typename NameT = Aws::String>
121 SetName(std::forward<NameT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Vector<Filter>& GetSupportedFilters() const { return m_supportedFilters; }
131 template <typename SupportedFiltersT = Aws::Vector<Filter>>
132 void SetSupportedFilters(SupportedFiltersT&& value) {
133 m_supportedFiltersHasBeenSet = true;
134 m_supportedFilters = std::forward<SupportedFiltersT>(value);
135 }
136 template <typename SupportedFiltersT = Aws::Vector<Filter>>
138 SetSupportedFilters(std::forward<SupportedFiltersT>(value));
139 return *this;
140 }
141 template <typename SupportedFiltersT = Filter>
143 m_supportedFiltersHasBeenSet = true;
144 m_supportedFilters.emplace_back(std::forward<SupportedFiltersT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) {
156 m_tagsHasBeenSet = true;
157 m_tags = std::forward<TagsT>(value);
158 }
159 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
162 return *this;
163 }
164 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
165 GetRasterDataCollectionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 return *this;
169 }
171
173
176 inline DataCollectionType GetType() const { return m_type; }
177 inline void SetType(DataCollectionType value) {
178 m_typeHasBeenSet = true;
179 m_type = value;
180 }
182 SetType(value);
183 return *this;
184 }
186
188
189 inline const Aws::String& GetRequestId() const { return m_requestId; }
190 template <typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) {
192 m_requestIdHasBeenSet = true;
193 m_requestId = std::forward<RequestIdT>(value);
194 }
195 template <typename RequestIdT = Aws::String>
197 SetRequestId(std::forward<RequestIdT>(value));
198 return *this;
199 }
201 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
202
203 private:
204 Aws::String m_arn;
205
206 Aws::String m_description;
207
208 Aws::String m_descriptionPageUrl;
209
210 Aws::Vector<Aws::String> m_imageSourceBands;
211
212 Aws::String m_name;
213
214 Aws::Vector<Filter> m_supportedFilters;
215
217
219
220 Aws::String m_requestId;
221 Aws::Http::HttpResponseCode m_HttpResponseCode;
222 bool m_arnHasBeenSet = false;
223 bool m_descriptionHasBeenSet = false;
224 bool m_descriptionPageUrlHasBeenSet = false;
225 bool m_imageSourceBandsHasBeenSet = false;
226 bool m_nameHasBeenSet = false;
227 bool m_supportedFiltersHasBeenSet = false;
228 bool m_tagsHasBeenSet = false;
229 bool m_typeHasBeenSet = false;
230 bool m_requestIdHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace SageMakerGeospatial
235} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API GetRasterDataCollectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRasterDataCollectionResult & AddImageSourceBands(ImageSourceBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API GetRasterDataCollectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRasterDataCollectionResult & WithType(DataCollectionType value)
GetRasterDataCollectionResult & WithRequestId(RequestIdT &&value)
GetRasterDataCollectionResult & WithSupportedFilters(SupportedFiltersT &&value)
GetRasterDataCollectionResult & WithDescriptionPageUrl(DescriptionPageUrlT &&value)
AWS_SAGEMAKERGEOSPATIAL_API GetRasterDataCollectionResult()=default
GetRasterDataCollectionResult & AddSupportedFilters(SupportedFiltersT &&value)
GetRasterDataCollectionResult & WithDescription(DescriptionT &&value)
GetRasterDataCollectionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetRasterDataCollectionResult & WithImageSourceBands(ImageSourceBandsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue