AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxDatabaseListEntry.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{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace finspace
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FINSPACE_API KxDatabaseListEntry() = default;
38 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 template<typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<typename DatabaseNameT = Aws::String>
50 KxDatabaseListEntry& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
52
54
59 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
60 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
61 template<typename CreatedTimestampT = Aws::Utils::DateTime>
62 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
63 template<typename CreatedTimestampT = Aws::Utils::DateTime>
64 KxDatabaseListEntry& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
66
68
73 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
74 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
75 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
76 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
77 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
78 KxDatabaseListEntry& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
80 private:
81
82 Aws::String m_databaseName;
83 bool m_databaseNameHasBeenSet = false;
84
85 Aws::Utils::DateTime m_createdTimestamp{};
86 bool m_createdTimestampHasBeenSet = false;
87
88 Aws::Utils::DateTime m_lastModifiedTimestamp{};
89 bool m_lastModifiedTimestampHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace finspace
94} // namespace Aws
AWS_FINSPACE_API KxDatabaseListEntry(Aws::Utils::Json::JsonView jsonValue)
bool CreatedTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
KxDatabaseListEntry & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
const Aws::String & GetDatabaseName() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API KxDatabaseListEntry()=default
bool DatabaseNameHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetDatabaseName(DatabaseNameT &&value)
KxDatabaseListEntry & WithCreatedTimestamp(CreatedTimestampT &&value)
AWS_FINSPACE_API KxDatabaseListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
KxDatabaseListEntry & WithDatabaseName(DatabaseNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue