AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateKxDatabaseResult.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FINSPACE_API CreateKxDatabaseResult() = default;
34
35
37
40 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
41 template<typename DatabaseNameT = Aws::String>
42 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
43 template<typename DatabaseNameT = Aws::String>
44 CreateKxDatabaseResult& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDatabaseArn() const { return m_databaseArn; }
52 template<typename DatabaseArnT = Aws::String>
53 void SetDatabaseArn(DatabaseArnT&& value) { m_databaseArnHasBeenSet = true; m_databaseArn = std::forward<DatabaseArnT>(value); }
54 template<typename DatabaseArnT = Aws::String>
55 CreateKxDatabaseResult& WithDatabaseArn(DatabaseArnT&& value) { SetDatabaseArn(std::forward<DatabaseArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
63 template<typename EnvironmentIdT = Aws::String>
64 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
65 template<typename EnvironmentIdT = Aws::String>
66 CreateKxDatabaseResult& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 CreateKxDatabaseResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
86 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
87 template<typename CreatedTimestampT = Aws::Utils::DateTime>
88 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
89 template<typename CreatedTimestampT = Aws::Utils::DateTime>
90 CreateKxDatabaseResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
92
94
99 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
100 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
101 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
102 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
103 CreateKxDatabaseResult& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template<typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
111 template<typename RequestIdT = Aws::String>
112 CreateKxDatabaseResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
114 private:
115
116 Aws::String m_databaseName;
117 bool m_databaseNameHasBeenSet = false;
118
119 Aws::String m_databaseArn;
120 bool m_databaseArnHasBeenSet = false;
121
122 Aws::String m_environmentId;
123 bool m_environmentIdHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::Utils::DateTime m_createdTimestamp{};
129 bool m_createdTimestampHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastModifiedTimestamp{};
132 bool m_lastModifiedTimestampHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace finspace
140} // 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