AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateKxDatabaseResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace finspace {
24namespace Model {
26 public:
27 AWS_FINSPACE_API CreateKxDatabaseResult() = default;
30
32
35 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
36 template <typename DatabaseNameT = Aws::String>
37 void SetDatabaseName(DatabaseNameT&& value) {
38 m_databaseNameHasBeenSet = true;
39 m_databaseName = std::forward<DatabaseNameT>(value);
40 }
41 template <typename DatabaseNameT = Aws::String>
42 CreateKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
43 SetDatabaseName(std::forward<DatabaseNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
53 template <typename DatabaseArnT = Aws::String>
54 void SetDatabaseArn(DatabaseArnT&& value) {
55 m_databaseArnHasBeenSet = true;
56 m_databaseArn = std::forward<DatabaseArnT>(value);
57 }
58 template <typename DatabaseArnT = Aws::String>
59 CreateKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) {
60 SetDatabaseArn(std::forward<DatabaseArnT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
70 template <typename EnvironmentIdT = Aws::String>
71 void SetEnvironmentId(EnvironmentIdT&& value) {
72 m_environmentIdHasBeenSet = true;
73 m_environmentId = std::forward<EnvironmentIdT>(value);
74 }
75 template <typename EnvironmentIdT = Aws::String>
76 CreateKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
77 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetDescription() const { return m_description; }
87 template <typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) {
89 m_descriptionHasBeenSet = true;
90 m_description = std::forward<DescriptionT>(value);
91 }
92 template <typename DescriptionT = Aws::String>
93 CreateKxDatabaseResult& WithDescription(DescriptionT&& value) {
94 SetDescription(std::forward<DescriptionT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
106 template <typename CreatedTimestampT = Aws::Utils::DateTime>
107 void SetCreatedTimestamp(CreatedTimestampT&& value) {
108 m_createdTimestampHasBeenSet = true;
109 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
110 }
111 template <typename CreatedTimestampT = Aws::Utils::DateTime>
112 CreateKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
113 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
125 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
126 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
127 m_lastModifiedTimestampHasBeenSet = true;
128 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
129 }
130 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
131 CreateKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
132 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template <typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) {
142 m_requestIdHasBeenSet = true;
143 m_requestId = std::forward<RequestIdT>(value);
144 }
145 template <typename RequestIdT = Aws::String>
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
152
153 private:
154 Aws::String m_databaseName;
155
156 Aws::String m_databaseArn;
157
158 Aws::String m_environmentId;
159
160 Aws::String m_description;
161
162 Aws::Utils::DateTime m_createdTimestamp{};
163
164 Aws::Utils::DateTime m_lastModifiedTimestamp{};
165
166 Aws::String m_requestId;
167 Aws::Http::HttpResponseCode m_HttpResponseCode;
168 bool m_databaseNameHasBeenSet = false;
169 bool m_databaseArnHasBeenSet = false;
170 bool m_environmentIdHasBeenSet = false;
171 bool m_descriptionHasBeenSet = false;
172 bool m_createdTimestampHasBeenSet = false;
173 bool m_lastModifiedTimestampHasBeenSet = false;
174 bool m_requestIdHasBeenSet = false;
175};
176
177} // namespace Model
178} // namespace finspace
179} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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