AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateKxDatabaseResult.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 UpdateKxDatabaseResult() = 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 UpdateKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) {
42 SetDatabaseName(std::forward<DatabaseNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
52 template <typename EnvironmentIdT = Aws::String>
53 void SetEnvironmentId(EnvironmentIdT&& value) {
54 m_environmentIdHasBeenSet = true;
55 m_environmentId = std::forward<EnvironmentIdT>(value);
56 }
57 template <typename EnvironmentIdT = Aws::String>
58 UpdateKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) {
59 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 template <typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) {
71 m_descriptionHasBeenSet = true;
72 m_description = std::forward<DescriptionT>(value);
73 }
74 template <typename DescriptionT = Aws::String>
75 UpdateKxDatabaseResult& WithDescription(DescriptionT&& value) {
76 SetDescription(std::forward<DescriptionT>(value));
77 return *this;
78 }
80
82
87 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
88 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
89 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) {
90 m_lastModifiedTimestampHasBeenSet = true;
91 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
92 }
93 template <typename LastModifiedTimestampT = Aws::Utils::DateTime>
94 UpdateKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) {
95 SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_databaseName;
116
117 Aws::String m_environmentId;
118
119 Aws::String m_description;
120
121 Aws::Utils::DateTime m_lastModifiedTimestamp{};
122
123 Aws::String m_requestId;
124 bool m_databaseNameHasBeenSet = false;
125 bool m_environmentIdHasBeenSet = false;
126 bool m_descriptionHasBeenSet = false;
127 bool m_lastModifiedTimestampHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace finspace
133} // 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_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