AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RasterDataCollectionMetadata.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/sagemaker-geospatial/model/DataCollectionType.h>
12#include <aws/sagemaker-geospatial/model/Filter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMakerGeospatial
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata() = default;
40 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKERGEOSPATIAL_API RasterDataCollectionMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 RasterDataCollectionMetadata& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 RasterDataCollectionMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescriptionPageUrl() const { return m_descriptionPageUrl; }
74 inline bool DescriptionPageUrlHasBeenSet() const { return m_descriptionPageUrlHasBeenSet; }
75 template<typename DescriptionPageUrlT = Aws::String>
76 void SetDescriptionPageUrl(DescriptionPageUrlT&& value) { m_descriptionPageUrlHasBeenSet = true; m_descriptionPageUrl = std::forward<DescriptionPageUrlT>(value); }
77 template<typename DescriptionPageUrlT = Aws::String>
78 RasterDataCollectionMetadata& WithDescriptionPageUrl(DescriptionPageUrlT&& value) { SetDescriptionPageUrl(std::forward<DescriptionPageUrlT>(value)); return *this;}
80
82
85 inline const Aws::String& GetName() const { return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 RasterDataCollectionMetadata& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
97 inline const Aws::Vector<Filter>& GetSupportedFilters() const { return m_supportedFilters; }
98 inline bool SupportedFiltersHasBeenSet() const { return m_supportedFiltersHasBeenSet; }
99 template<typename SupportedFiltersT = Aws::Vector<Filter>>
100 void SetSupportedFilters(SupportedFiltersT&& value) { m_supportedFiltersHasBeenSet = true; m_supportedFilters = std::forward<SupportedFiltersT>(value); }
101 template<typename SupportedFiltersT = Aws::Vector<Filter>>
102 RasterDataCollectionMetadata& WithSupportedFilters(SupportedFiltersT&& value) { SetSupportedFilters(std::forward<SupportedFiltersT>(value)); return *this;}
103 template<typename SupportedFiltersT = Filter>
104 RasterDataCollectionMetadata& AddSupportedFilters(SupportedFiltersT&& value) { m_supportedFiltersHasBeenSet = true; m_supportedFilters.emplace_back(std::forward<SupportedFiltersT>(value)); return *this; }
106
108
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
115 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 RasterDataCollectionMetadata& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
117 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
118 RasterDataCollectionMetadata& AddTags(TagsKeyT&& key, TagsValueT&& value) {
119 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
120 }
122
124
127 inline DataCollectionType GetType() const { return m_type; }
128 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
129 inline void SetType(DataCollectionType value) { m_typeHasBeenSet = true; m_type = value; }
130 inline RasterDataCollectionMetadata& WithType(DataCollectionType value) { SetType(value); return *this;}
132 private:
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_descriptionPageUrl;
141 bool m_descriptionPageUrlHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::Vector<Filter> m_supportedFilters;
147 bool m_supportedFiltersHasBeenSet = false;
148
150 bool m_tagsHasBeenSet = false;
151
153 bool m_typeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace SageMakerGeospatial
158} // 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