AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; }
49 inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); }
50 inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); }
51 inline KxChangesetListEntry& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;}
52 inline KxChangesetListEntry& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;}
53 inline KxChangesetListEntry& WithChangesetId(const char* value) { SetChangesetId(value); return *this;}
55
57
62 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
63 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
64 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
65 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
67 inline KxChangesetListEntry& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
69
71
76 inline const Aws::Utils::DateTime& GetActiveFromTimestamp() const{ return m_activeFromTimestamp; }
77 inline bool ActiveFromTimestampHasBeenSet() const { return m_activeFromTimestampHasBeenSet; }
78 inline void SetActiveFromTimestamp(const Aws::Utils::DateTime& value) { m_activeFromTimestampHasBeenSet = true; m_activeFromTimestamp = value; }
79 inline void SetActiveFromTimestamp(Aws::Utils::DateTime&& value) { m_activeFromTimestampHasBeenSet = true; m_activeFromTimestamp = std::move(value); }
83
85
90 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
91 inline bool LastModifiedTimestampHasBeenSet() const { return m_lastModifiedTimestampHasBeenSet; }
92 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = value; }
93 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestampHasBeenSet = true; m_lastModifiedTimestamp = std::move(value); }
97
99
105 inline const ChangesetStatus& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const ChangesetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(ChangesetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline KxChangesetListEntry& WithStatus(const ChangesetStatus& value) { SetStatus(value); return *this;}
110 inline KxChangesetListEntry& WithStatus(ChangesetStatus&& value) { SetStatus(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_changesetId;
115 bool m_changesetIdHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdTimestamp;
118 bool m_createdTimestampHasBeenSet = false;
119
120 Aws::Utils::DateTime m_activeFromTimestamp;
121 bool m_activeFromTimestampHasBeenSet = false;
122
123 Aws::Utils::DateTime m_lastModifiedTimestamp;
124 bool m_lastModifiedTimestampHasBeenSet = false;
125
126 ChangesetStatus m_status;
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace finspace
132} // namespace Aws
const Aws::String & GetChangesetId() const
KxChangesetListEntry & WithChangesetId(Aws::String &&value)
KxChangesetListEntry & WithActiveFromTimestamp(Aws::Utils::DateTime &&value)
KxChangesetListEntry & WithActiveFromTimestamp(const Aws::Utils::DateTime &value)
KxChangesetListEntry & WithChangesetId(const Aws::String &value)
bool ChangesetIdHasBeenSet() const
bool LastModifiedTimestampHasBeenSet() const
AWS_FINSPACE_API KxChangesetListEntry()
const ChangesetStatus & GetStatus() const
bool CreatedTimestampHasBeenSet() const
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetChangesetId(const Aws::String &value)
void SetActiveFromTimestamp(Aws::Utils::DateTime &&value)
KxChangesetListEntry & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
bool ActiveFromTimestampHasBeenSet() const
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
KxChangesetListEntry & WithStatus(ChangesetStatus &&value)
KxChangesetListEntry & WithStatus(const ChangesetStatus &value)
AWS_FINSPACE_API KxChangesetListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChangesetId(Aws::String &&value)
void SetActiveFromTimestamp(const Aws::Utils::DateTime &value)
KxChangesetListEntry & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
AWS_FINSPACE_API KxChangesetListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetChangesetId(const char *value)
bool StatusHasBeenSet() const
void SetStatus(const ChangesetStatus &value)
KxChangesetListEntry & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
KxChangesetListEntry & WithChangesetId(const char *value)
void SetStatus(ChangesetStatus &&value)
const Aws::Utils::DateTime & GetActiveFromTimestamp() const
KxChangesetListEntry & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue