AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RasterDataCollectionMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
11#include <aws/sagemaker-geospatial/model/DataCollectionType.h>
12#include <aws/sagemaker-geospatial/model/Filter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMakerGeospatial {
24namespace Model {
25
33 public:
34 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata() = default;
35 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
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>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template <typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescriptionPageUrl() const { return m_descriptionPageUrl; }
80 inline bool DescriptionPageUrlHasBeenSet() const { return m_descriptionPageUrlHasBeenSet; }
81 template <typename DescriptionPageUrlT = Aws::String>
82 void SetDescriptionPageUrl(DescriptionPageUrlT&& value) {
83 m_descriptionPageUrlHasBeenSet = true;
84 m_descriptionPageUrl = std::forward<DescriptionPageUrlT>(value);
85 }
86 template <typename DescriptionPageUrlT = Aws::String>
88 SetDescriptionPageUrl(std::forward<DescriptionPageUrlT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template <typename NameT = Aws::String>
100 void SetName(NameT&& value) {
101 m_nameHasBeenSet = true;
102 m_name = std::forward<NameT>(value);
103 }
104 template <typename NameT = Aws::String>
106 SetName(std::forward<NameT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<Filter>& GetSupportedFilters() const { return m_supportedFilters; }
116 inline bool SupportedFiltersHasBeenSet() const { return m_supportedFiltersHasBeenSet; }
117 template <typename SupportedFiltersT = Aws::Vector<Filter>>
118 void SetSupportedFilters(SupportedFiltersT&& value) {
119 m_supportedFiltersHasBeenSet = true;
120 m_supportedFilters = std::forward<SupportedFiltersT>(value);
121 }
122 template <typename SupportedFiltersT = Aws::Vector<Filter>>
124 SetSupportedFilters(std::forward<SupportedFiltersT>(value));
125 return *this;
126 }
127 template <typename SupportedFiltersT = Filter>
129 m_supportedFiltersHasBeenSet = true;
130 m_supportedFilters.emplace_back(std::forward<SupportedFiltersT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) {
143 m_tagsHasBeenSet = true;
144 m_tags = std::forward<TagsT>(value);
145 }
146 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
149 return *this;
150 }
151 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
152 RasterDataCollectionMetadata& AddTags(TagsKeyT&& key, TagsValueT&& value) {
153 m_tagsHasBeenSet = true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
155 return *this;
156 }
158
160
163 inline DataCollectionType GetType() const { return m_type; }
164 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
165 inline void SetType(DataCollectionType value) {
166 m_typeHasBeenSet = true;
167 m_type = value;
168 }
170 SetType(value);
171 return *this;
172 }
174 private:
175 Aws::String m_arn;
176
177 Aws::String m_description;
178
179 Aws::String m_descriptionPageUrl;
180
181 Aws::String m_name;
182
183 Aws::Vector<Filter> m_supportedFilters;
184
186
188 bool m_arnHasBeenSet = false;
189 bool m_descriptionHasBeenSet = false;
190 bool m_descriptionPageUrlHasBeenSet = false;
191 bool m_nameHasBeenSet = false;
192 bool m_supportedFiltersHasBeenSet = false;
193 bool m_tagsHasBeenSet = false;
194 bool m_typeHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace SageMakerGeospatial
199} // namespace Aws
RasterDataCollectionMetadata & WithDescription(DescriptionT &&value)
RasterDataCollectionMetadata & WithDescriptionPageUrl(DescriptionPageUrlT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata(Aws::Utils::Json::JsonView jsonValue)
RasterDataCollectionMetadata & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RasterDataCollectionMetadata & AddSupportedFilters(SupportedFiltersT &&value)
AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata()=default
RasterDataCollectionMetadata & WithSupportedFilters(SupportedFiltersT &&value)
RasterDataCollectionMetadata & WithType(DataCollectionType 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