AWS SDK for C++

AWS SDK for C++ Version 1.11.688

Loading...
Searching...
No Matches
UpdateKxDatabaseRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/FinspaceRequest.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace finspace {
16namespace Model {
17
21 public:
22 AWS_FINSPACE_API UpdateKxDatabaseRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxDatabase"; }
29
30 AWS_FINSPACE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
37 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
38 template <typename EnvironmentIdT = Aws::String>
39 void SetEnvironmentId(EnvironmentIdT&& value) {
40 m_environmentIdHasBeenSet = true;
41 m_environmentId = std::forward<EnvironmentIdT>(value);
42 }
43 template <typename EnvironmentIdT = Aws::String>
44 UpdateKxDatabaseRequest& WithEnvironmentId(EnvironmentIdT&& value) {
45 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
55 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
56 template <typename DatabaseNameT = Aws::String>
57 void SetDatabaseName(DatabaseNameT&& value) {
58 m_databaseNameHasBeenSet = true;
59 m_databaseName = std::forward<DatabaseNameT>(value);
60 }
61 template <typename DatabaseNameT = Aws::String>
62 UpdateKxDatabaseRequest& WithDatabaseName(DatabaseNameT&& value) {
63 SetDatabaseName(std::forward<DatabaseNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetClientToken() const { return m_clientToken; }
91 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
92 template <typename ClientTokenT = Aws::String>
93 void SetClientToken(ClientTokenT&& value) {
94 m_clientTokenHasBeenSet = true;
95 m_clientToken = std::forward<ClientTokenT>(value);
96 }
97 template <typename ClientTokenT = Aws::String>
99 SetClientToken(std::forward<ClientTokenT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_environmentId;
105 bool m_environmentIdHasBeenSet = false;
106
107 Aws::String m_databaseName;
108 bool m_databaseNameHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
114 bool m_clientTokenHasBeenSet = true;
115};
116
117} // namespace Model
118} // namespace finspace
119} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateKxDatabaseRequest & WithEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API UpdateKxDatabaseRequest()=default
UpdateKxDatabaseRequest & WithDescription(DescriptionT &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxDatabaseRequest & WithDatabaseName(DatabaseNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateKxDatabaseRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String