AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateKxDatabaseResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace finspace {
23namespace Model {
25 public:
26 AWS_FINSPACE_API CreateKxDatabaseResult() = default;
29
31
34 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
35 template <typename DatabaseNameT = Aws::String>
36 void SetDatabaseName(DatabaseNameT&& value) {
37 m_databaseNameHasBeenSet = true;
38 m_databaseName = std::forward<DatabaseNameT>(value);
39 }
40 template <typename DatabaseNameT = Aws::String>
41 CreateKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
42 SetDatabaseName(std::forward<DatabaseNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
52 template <typename DatabaseArnT = Aws::String>
53 void SetDatabaseArn(DatabaseArnT&& value) {
54 m_databaseArnHasBeenSet = true;
55 m_databaseArn = std::forward<DatabaseArnT>(value);
56 }
57 template <typename DatabaseArnT = Aws::String>
58 CreateKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) {
59 SetDatabaseArn(std::forward<DatabaseArnT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
69 template <typename EnvironmentIdT = Aws::String>
70 void SetEnvironmentId(EnvironmentIdT&& value) {
71 m_environmentIdHasBeenSet = true;
72 m_environmentId = std::forward<EnvironmentIdT>(value);
73 }
74 template <typename EnvironmentIdT = Aws::String>
75 CreateKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
76 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetDescription() const { return m_description; }
86 template <typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) {
88 m_descriptionHasBeenSet = true;
89 m_description = std::forward<DescriptionT>(value);
90 }
91 template <typename DescriptionT = Aws::String>
92 CreateKxDatabaseResult& WithDescription(DescriptionT&& value) {
93 SetDescription(std::forward<DescriptionT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
105 template <typename CreatedTimestampT = Aws::Utils::DateTime>
106 void SetCreatedTimestamp(CreatedTimestampT&& value) {
107 m_createdTimestampHasBeenSet = true;
108 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
109 }
110 template <typename CreatedTimestampT = Aws::Utils::DateTime>
111 CreateKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
112 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
113 return *this;
114 }
116
118
123 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
124 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
125 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
126 m_lastModifiedTimestampHasBeenSet = true;
127 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
128 }
129 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
130 CreateKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
131 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
132 return *this;
133 }
135
137
138 inline const Aws::String& GetRequestId() const { return m_requestId; }
139 template <typename RequestIdT = Aws::String>
140 void SetRequestId(RequestIdT&& value) {
141 m_requestIdHasBeenSet = true;
142 m_requestId = std::forward<RequestIdT>(value);
143 }
144 template <typename RequestIdT = Aws::String>
146 SetRequestId(std::forward<RequestIdT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_databaseName;
152
153 Aws::String m_databaseArn;
154
155 Aws::String m_environmentId;
156
157 Aws::String m_description;
158
159 Aws::Utils::DateTime m_createdTimestamp{};
160
161 Aws::Utils::DateTime m_lastModifiedTimestamp{};
162
163 Aws::String m_requestId;
164 bool m_databaseNameHasBeenSet = false;
165 bool m_databaseArnHasBeenSet = false;
166 bool m_environmentIdHasBeenSet = false;
167 bool m_descriptionHasBeenSet = false;
168 bool m_createdTimestampHasBeenSet = false;
169 bool m_lastModifiedTimestampHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace finspace
175} // namespace Aws
CreateKxDatabaseResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateKxDatabaseResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
CreateKxDatabaseResult & WithDatabaseArn(DatabaseArnT &&value)
CreateKxDatabaseResult & WithCreatedTimestamp(CreatedTimestampT &&value)
CreateKxDatabaseResult & WithDatabaseName(DatabaseNameT &&value)
CreateKxDatabaseResult & WithRequestId(RequestIdT &&value)
AWS_FINSPACE_API CreateKxDatabaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_FINSPACE_API CreateKxDatabaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKxDatabaseResult & WithDescription(DescriptionT &&value)
AWS_FINSPACE_API CreateKxDatabaseResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue