AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxChangesetListEntry.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 <aws/finspace/model/ChangesetStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace finspace
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FINSPACE_API KxChangesetListEntry() = default;
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
47 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
48 template<typename ChangesetIdT = Aws::String>
49 void SetChangesetId(ChangesetIdT&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::forward<ChangesetIdT>(value); }
50 template<typename ChangesetIdT = Aws::String>
51 KxChangesetListEntry& WithChangesetId(ChangesetIdT&& value) { SetChangesetId(std::forward<ChangesetIdT>(value)); return *this;}
53
55
60 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
61 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
62 template<typename CreatedTimestampT = Aws::Utils::DateTime>
63 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
64 template<typename CreatedTimestampT = Aws::Utils::DateTime>
65 KxChangesetListEntry& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
67
69
74 inline const Aws::Utils::DateTime& GetActiveFromTimestamp() const { return m_activeFromTimestamp; }
75 inline bool ActiveFromTimestampHasBeenSet() const { return m_activeFromTimestampHasBeenSet; }
76 template<typename ActiveFromTimestampT = Aws::Utils::DateTime>
77 void SetActiveFromTimestamp(ActiveFromTimestampT&& value) { m_activeFromTimestampHasBeenSet = true; m_activeFromTimestamp = std::forward<ActiveFromTimestampT>(value); }
78 template<typename ActiveFromTimestampT = Aws::Utils::DateTime>
79 KxChangesetListEntry& WithActiveFromTimestamp(ActiveFromTimestampT&& value) { SetActiveFromTimestamp(std::forward<ActiveFromTimestampT>(value)); return *this;}
81
83
88 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const { return m_lastModifiedTimestamp; }
89 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
90 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
91 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
92 template<typename LastModifiedTimestampT = Aws::Utils::DateTime>
93 KxChangesetListEntry& WithLastModifiedTimestamp(LastModifiedTimestampT&& value) { SetLastModifiedTimestamp(std::forward<LastModifiedTimestampT>(value)); return *this;}
95
97
103 inline ChangesetStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(ChangesetStatus value) { m_statusHasBeenSet = true; m_status = value; }
106 inline KxChangesetListEntry& WithStatus(ChangesetStatus value) { SetStatus(value); return *this;}
108 private:
109
110 Aws::String m_changesetId;
111 bool m_changesetIdHasBeenSet = false;
112
113 Aws::Utils::DateTime m_createdTimestamp{};
114 bool m_createdTimestampHasBeenSet = false;
115
116 Aws::Utils::DateTime m_activeFromTimestamp{};
117 bool m_activeFromTimestampHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTimestamp{};
120 bool m_lastModifiedTimestampHasBeenSet = false;
121
123 bool m_statusHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace finspace
128} // namespace Aws
const Aws::String & GetChangesetId() const
void SetStatus(ChangesetStatus value)
void SetActiveFromTimestamp(ActiveFromTimestampT &&value)
KxChangesetListEntry & WithCreatedTimestamp(CreatedTimestampT &&value)
bool ChangesetIdHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
KxChangesetListEntry & WithStatus(ChangesetStatus value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActiveFromTimestampHasBeenSet() const
ChangesetStatus GetStatus() const
AWS_FINSPACE_API KxChangesetListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
KxChangesetListEntry & WithActiveFromTimestamp(ActiveFromTimestampT &&value)
KxChangesetListEntry & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_FINSPACE_API KxChangesetListEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxChangesetListEntry()=default
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetChangesetId(ChangesetIdT &&value)
KxChangesetListEntry & WithChangesetId(ChangesetIdT &&value)
const Aws::Utils::DateTime & GetActiveFromTimestamp() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue