7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/RekognitionRequest.h>
10#include <aws/rekognition/Rekognition_EXPORTS.h>
11#include <aws/rekognition/model/DatasetSource.h>
12#include <aws/rekognition/model/DatasetType.h>
17namespace Rekognition {
46 template <
typename DatasetSourceT = DatasetSource>
48 m_datasetSourceHasBeenSet =
true;
49 m_datasetSource = std::forward<DatasetSourceT>(value);
51 template <
typename DatasetSourceT = DatasetSource>
66 m_datasetTypeHasBeenSet =
true;
67 m_datasetType = value;
82 template <
typename ProjectArnT = Aws::String>
84 m_projectArnHasBeenSet =
true;
85 m_projectArn = std::forward<ProjectArnT>(value);
87 template <
typename ProjectArnT = Aws::String>
100 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 m_tagsHasBeenSet =
true;
103 m_tags = std::forward<TagsT>(value);
105 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 SetTags(std::forward<TagsT>(value));
110 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
112 m_tagsHasBeenSet =
true;
113 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
119 bool m_datasetSourceHasBeenSet =
false;
122 bool m_datasetTypeHasBeenSet =
false;
125 bool m_projectArnHasBeenSet =
false;
128 bool m_tagsHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const DatasetSource & GetDatasetSource() const
AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDatasetSource(DatasetSourceT &&value)
DatasetType GetDatasetType() const
void SetDatasetType(DatasetType value)
void SetProjectArn(ProjectArnT &&value)
bool DatasetTypeHasBeenSet() const
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
bool ProjectArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDatasetRequest & WithProjectArn(ProjectArnT &&value)
const Aws::String & GetProjectArn() const
AWS_REKOGNITION_API CreateDatasetRequest()=default
CreateDatasetRequest & WithTags(TagsT &&value)
CreateDatasetRequest & WithDatasetType(DatasetType value)
AWS_REKOGNITION_API Aws::String SerializePayload() const override
CreateDatasetRequest & WithDatasetSource(DatasetSourceT &&value)
CreateDatasetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool DatasetSourceHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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