7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/RekognitionRequest.h>
9#include <aws/rekognition/model/DatasetSource.h>
10#include <aws/rekognition/model/DatasetType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
50 template<
typename DatasetSourceT = DatasetSource>
51 void SetDatasetSource(DatasetSourceT&& value) { m_datasetSourceHasBeenSet =
true; m_datasetSource = std::forward<DatasetSourceT>(value); }
52 template<
typename DatasetSourceT = DatasetSource>
74 template<
typename ProjectArnT = Aws::String>
75 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet =
true; m_projectArn = std::forward<ProjectArnT>(value); }
76 template<
typename ProjectArnT = Aws::String>
86 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
88 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
92 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
98 bool m_datasetSourceHasBeenSet =
false;
101 bool m_datasetTypeHasBeenSet =
false;
104 bool m_projectArnHasBeenSet =
false;
107 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