AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIndexRequest.h
1
6#pragma once
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>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ResourceExplorer2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RESOURCEEXPLORER2_API CreateIndexRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateIndex"; }
33
34 AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
48 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
49 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
50 inline CreateIndexRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
51 inline CreateIndexRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
52 inline CreateIndexRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
54
56
61 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
62 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
63 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
64 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
65 inline CreateIndexRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
66 inline CreateIndexRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
67 inline CreateIndexRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
68 inline CreateIndexRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
69 inline CreateIndexRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
70 inline CreateIndexRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
71 inline CreateIndexRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
72 inline CreateIndexRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
73 inline CreateIndexRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_clientToken;
78 bool m_clientTokenHasBeenSet = false;
79
81 bool m_tagsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ResourceExplorer2
86} // namespace Aws
CreateIndexRequest & WithClientToken(Aws::String &&value)
CreateIndexRequest & WithClientToken(const char *value)
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
CreateIndexRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIndexRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_RESOURCEEXPLORER2_API CreateIndexRequest()
virtual const char * GetServiceRequestName() const override
CreateIndexRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIndexRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIndexRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIndexRequest & WithClientToken(const Aws::String &value)
CreateIndexRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIndexRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIndexRequest & AddTags(const char *key, const char *value)
CreateIndexRequest & AddTags(Aws::String &&key, const char *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