AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKxDatabaseRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.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 finspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FINSPACE_API CreateKxDatabaseRequest();
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 "CreateKxDatabase"; }
33
34 AWS_FINSPACE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
42 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
43 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
44 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
45 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
46 inline CreateKxDatabaseRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
47 inline CreateKxDatabaseRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
48 inline CreateKxDatabaseRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
50
52
55 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
56 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
57 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
58 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
59 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
60 inline CreateKxDatabaseRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
61 inline CreateKxDatabaseRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
62 inline CreateKxDatabaseRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline CreateKxDatabaseRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline CreateKxDatabaseRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline CreateKxDatabaseRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
88 inline CreateKxDatabaseRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
89 inline CreateKxDatabaseRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateKxDatabaseRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateKxDatabaseRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateKxDatabaseRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateKxDatabaseRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateKxDatabaseRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateKxDatabaseRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateKxDatabaseRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98
100
103 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
104 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
105 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
106 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
107 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
108 inline CreateKxDatabaseRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
109 inline CreateKxDatabaseRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
110 inline CreateKxDatabaseRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
112 private:
113
114 Aws::String m_environmentId;
115 bool m_environmentIdHasBeenSet = false;
116
117 Aws::String m_databaseName;
118 bool m_databaseNameHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125
126 Aws::String m_clientToken;
127 bool m_clientTokenHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace finspace
132} // namespace Aws
CreateKxDatabaseRequest & WithDescription(const Aws::String &value)
CreateKxDatabaseRequest & WithEnvironmentId(const char *value)
CreateKxDatabaseRequest & WithDatabaseName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateKxDatabaseRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxDatabaseRequest & WithEnvironmentId(const Aws::String &value)
CreateKxDatabaseRequest & WithDescription(const char *value)
CreateKxDatabaseRequest & WithDatabaseName(const Aws::String &value)
CreateKxDatabaseRequest & WithDescription(Aws::String &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxDatabaseRequest & WithClientToken(Aws::String &&value)
CreateKxDatabaseRequest & AddTags(Aws::String &&key, const char *value)
CreateKxDatabaseRequest & AddTags(const char *key, const char *value)
CreateKxDatabaseRequest & AddTags(const char *key, Aws::String &&value)
CreateKxDatabaseRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateKxDatabaseRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateKxDatabaseRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateKxDatabaseRequest & WithDatabaseName(Aws::String &&value)
CreateKxDatabaseRequest & WithEnvironmentId(Aws::String &&value)
CreateKxDatabaseRequest & WithClientToken(const Aws::String &value)
CreateKxDatabaseRequest & WithClientToken(const char *value)
CreateKxDatabaseRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateKxDatabaseRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
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