7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resource-explorer-2/ResourceExplorer2Request.h>
11#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
16namespace ResourceExplorer2 {
43 template <
typename ClientTokenT = Aws::String>
45 m_clientTokenHasBeenSet =
true;
46 m_clientToken = std::forward<ClientTokenT>(value);
48 template <
typename ClientTokenT = Aws::String>
63 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
65 m_tagsHasBeenSet =
true;
66 m_tags = std::forward<TagsT>(value);
68 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
70 SetTags(std::forward<TagsT>(value));
73 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
75 m_tagsHasBeenSet =
true;
76 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
84 bool m_clientTokenHasBeenSet =
true;
85 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