AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
KxDataviewActiveVersion.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace finspace {
23namespace Model {
24
32 public:
33 AWS_FINSPACE_API KxDataviewActiveVersion() = default;
36 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
43 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
44 template <typename ChangesetIdT = Aws::String>
45 void SetChangesetId(ChangesetIdT&& value) {
46 m_changesetIdHasBeenSet = true;
47 m_changesetId = std::forward<ChangesetIdT>(value);
48 }
49 template <typename ChangesetIdT = Aws::String>
51 SetChangesetId(std::forward<ChangesetIdT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::Vector<KxDataviewSegmentConfiguration>& GetSegmentConfigurations() const { return m_segmentConfigurations; }
65 inline bool SegmentConfigurationsHasBeenSet() const { return m_segmentConfigurationsHasBeenSet; }
66 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
67 void SetSegmentConfigurations(SegmentConfigurationsT&& value) {
68 m_segmentConfigurationsHasBeenSet = true;
69 m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value);
70 }
71 template <typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
72 KxDataviewActiveVersion& WithSegmentConfigurations(SegmentConfigurationsT&& value) {
73 SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value));
74 return *this;
75 }
76 template <typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
77 KxDataviewActiveVersion& AddSegmentConfigurations(SegmentConfigurationsT&& value) {
78 m_segmentConfigurationsHasBeenSet = true;
79 m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<Aws::String>& GetAttachedClusters() const { return m_attachedClusters; }
89 inline bool AttachedClustersHasBeenSet() const { return m_attachedClustersHasBeenSet; }
90 template <typename AttachedClustersT = Aws::Vector<Aws::String>>
91 void SetAttachedClusters(AttachedClustersT&& value) {
92 m_attachedClustersHasBeenSet = true;
93 m_attachedClusters = std::forward<AttachedClustersT>(value);
94 }
95 template <typename AttachedClustersT = Aws::Vector<Aws::String>>
96 KxDataviewActiveVersion& WithAttachedClusters(AttachedClustersT&& value) {
97 SetAttachedClusters(std::forward<AttachedClustersT>(value));
98 return *this;
99 }
100 template <typename AttachedClustersT = Aws::String>
101 KxDataviewActiveVersion& AddAttachedClusters(AttachedClustersT&& value) {
102 m_attachedClustersHasBeenSet = true;
103 m_attachedClusters.emplace_back(std::forward<AttachedClustersT>(value));
104 return *this;
105 }
107
109
114 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
115 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
116 template <typename CreatedTimestampT = Aws::Utils::DateTime>
117 void SetCreatedTimestamp(CreatedTimestampT&& value) {
118 m_createdTimestampHasBeenSet = true;
119 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
120 }
121 template <typename CreatedTimestampT = Aws::Utils::DateTime>
122 KxDataviewActiveVersion& WithCreatedTimestamp(CreatedTimestampT&& value) {
123 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetVersionId() const { return m_versionId; }
133 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
134 template <typename VersionIdT = Aws::String>
135 void SetVersionId(VersionIdT&& value) {
136 m_versionIdHasBeenSet = true;
137 m_versionId = std::forward<VersionIdT>(value);
138 }
139 template <typename VersionIdT = Aws::String>
141 SetVersionId(std::forward<VersionIdT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_changesetId;
147
148 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
149
150 Aws::Vector<Aws::String> m_attachedClusters;
151
152 Aws::Utils::DateTime m_createdTimestamp{};
153
154 Aws::String m_versionId;
155 bool m_changesetIdHasBeenSet = false;
156 bool m_segmentConfigurationsHasBeenSet = false;
157 bool m_attachedClustersHasBeenSet = false;
158 bool m_createdTimestampHasBeenSet = false;
159 bool m_versionIdHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace finspace
164} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AWS_FINSPACE_API KxDataviewActiveVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
KxDataviewActiveVersion & WithChangesetId(ChangesetIdT &&value)
KxDataviewActiveVersion & WithVersionId(VersionIdT &&value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API KxDataviewActiveVersion()=default
const Aws::Vector< KxDataviewSegmentConfiguration > & GetSegmentConfigurations() const
void SetSegmentConfigurations(SegmentConfigurationsT &&value)
KxDataviewActiveVersion & WithCreatedTimestamp(CreatedTimestampT &&value)
KxDataviewActiveVersion & AddAttachedClusters(AttachedClustersT &&value)
KxDataviewActiveVersion & WithAttachedClusters(AttachedClustersT &&value)
KxDataviewActiveVersion & WithSegmentConfigurations(SegmentConfigurationsT &&value)
KxDataviewActiveVersion & AddSegmentConfigurations(SegmentConfigurationsT &&value)
AWS_FINSPACE_API KxDataviewActiveVersion(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAttachedClusters() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue