7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/ResourceExplorer2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
16namespace ResourceExplorer2
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
61 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
62 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
63 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
65 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
67 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
73 bool m_clientTokenHasBeenSet =
true;
76 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIndexRequest & WithTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreateIndexRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
AWS_RESOURCEEXPLORER2_API CreateIndexRequest()=default
CreateIndexRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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