AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EnvironmentIdT = Aws::String>
44 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
45 template<typename EnvironmentIdT = Aws::String>
46 CreateKxDatabaseRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
54 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
55 template<typename DatabaseNameT = Aws::String>
56 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
57 template<typename DatabaseNameT = Aws::String>
58 CreateKxDatabaseRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 CreateKxDatabaseRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 CreateKxDatabaseRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 CreateKxDatabaseRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
87 }
89
91
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template<typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
98 template<typename ClientTokenT = Aws::String>
99 CreateKxDatabaseRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
101 private:
102
103 Aws::String m_environmentId;
104 bool m_environmentIdHasBeenSet = false;
105
106 Aws::String m_databaseName;
107 bool m_databaseNameHasBeenSet = false;
108
109 Aws::String m_description;
110 bool m_descriptionHasBeenSet = false;
111
113 bool m_tagsHasBeenSet = false;
114
116 bool m_clientTokenHasBeenSet = true;
117 };
118
119} // namespace Model
120} // namespace finspace
121} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateKxDatabaseRequest & WithClientToken(ClientTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_FINSPACE_API CreateKxDatabaseRequest()=default
CreateKxDatabaseRequest & WithEnvironmentId(EnvironmentIdT &&value)
CreateKxDatabaseRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
CreateKxDatabaseRequest & WithTags(TagsT &&value)
CreateKxDatabaseRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
CreateKxDatabaseRequest & AddTags(TagsKeyT &&key, TagsValueT &&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