AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateKxDatabaseResult.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 UpdateKxDatabaseResult() = 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 UpdateKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
43 SetDatabaseName(std::forward<DatabaseNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
53 template <typename EnvironmentIdT = Aws::String>
54 void SetEnvironmentId(EnvironmentIdT&& value) {
55 m_environmentIdHasBeenSet = true;
56 m_environmentId = std::forward<EnvironmentIdT>(value);
57 }
58 template <typename EnvironmentIdT = Aws::String>
59 UpdateKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
60 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
76 UpdateKxDatabaseResult& WithDescription(DescriptionT&& value) {
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
89 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
90 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
91 m_lastModifiedTimestampHasBeenSet = true;
92 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
93 }
94 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
95 UpdateKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
96 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
116
117 private:
118 Aws::String m_databaseName;
119
120 Aws::String m_environmentId;
121
122 Aws::String m_description;
123
124 Aws::Utils::DateTime m_lastModifiedTimestamp{};
125
126 Aws::String m_requestId;
127 Aws::Http::HttpResponseCode m_HttpResponseCode;
128 bool m_databaseNameHasBeenSet = false;
129 bool m_environmentIdHasBeenSet = false;
130 bool m_descriptionHasBeenSet = false;
131 bool m_lastModifiedTimestampHasBeenSet = false;
132 bool m_requestIdHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace finspace
137} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API UpdateKxDatabaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxDatabaseResult & WithDatabaseName(DatabaseNameT &&value)
AWS_FINSPACE_API UpdateKxDatabaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateKxDatabaseResult & WithDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_FINSPACE_API UpdateKxDatabaseResult()=default
UpdateKxDatabaseResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
UpdateKxDatabaseResult & WithRequestId(RequestIdT &&value)
UpdateKxDatabaseResult & WithEnvironmentId(EnvironmentIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue