AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxDataviewActiveVersion.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/finspace/model/KxDataviewSegmentConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace finspace
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FINSPACE_API KxDataviewActiveVersion() = default;
41 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetChangesetId() const { return m_changesetId; }
49 inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; }
50 template<typename ChangesetIdT = Aws::String>
51 void SetChangesetId(ChangesetIdT&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::forward<ChangesetIdT>(value); }
52 template<typename ChangesetIdT = Aws::String>
53 KxDataviewActiveVersion& WithChangesetId(ChangesetIdT&& value) { SetChangesetId(std::forward<ChangesetIdT>(value)); return *this;}
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) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations = std::forward<SegmentConfigurationsT>(value); }
68 template<typename SegmentConfigurationsT = Aws::Vector<KxDataviewSegmentConfiguration>>
69 KxDataviewActiveVersion& WithSegmentConfigurations(SegmentConfigurationsT&& value) { SetSegmentConfigurations(std::forward<SegmentConfigurationsT>(value)); return *this;}
70 template<typename SegmentConfigurationsT = KxDataviewSegmentConfiguration>
71 KxDataviewActiveVersion& AddSegmentConfigurations(SegmentConfigurationsT&& value) { m_segmentConfigurationsHasBeenSet = true; m_segmentConfigurations.emplace_back(std::forward<SegmentConfigurationsT>(value)); return *this; }
73
75
78 inline const Aws::Vector<Aws::String>& GetAttachedClusters() const { return m_attachedClusters; }
79 inline bool AttachedClustersHasBeenSet() const { return m_attachedClustersHasBeenSet; }
80 template<typename AttachedClustersT = Aws::Vector<Aws::String>>
81 void SetAttachedClusters(AttachedClustersT&& value) { m_attachedClustersHasBeenSet = true; m_attachedClusters = std::forward<AttachedClustersT>(value); }
82 template<typename AttachedClustersT = Aws::Vector<Aws::String>>
83 KxDataviewActiveVersion& WithAttachedClusters(AttachedClustersT&& value) { SetAttachedClusters(std::forward<AttachedClustersT>(value)); return *this;}
84 template<typename AttachedClustersT = Aws::String>
85 KxDataviewActiveVersion& AddAttachedClusters(AttachedClustersT&& value) { m_attachedClustersHasBeenSet = true; m_attachedClusters.emplace_back(std::forward<AttachedClustersT>(value)); return *this; }
87
89
94 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
95 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
96 template<typename CreatedTimestampT = Aws::Utils::DateTime>
97 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
98 template<typename CreatedTimestampT = Aws::Utils::DateTime>
99 KxDataviewActiveVersion& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
101
103
106 inline const Aws::String& GetVersionId() const { return m_versionId; }
107 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
108 template<typename VersionIdT = Aws::String>
109 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet = true; m_versionId = std::forward<VersionIdT>(value); }
110 template<typename VersionIdT = Aws::String>
111 KxDataviewActiveVersion& WithVersionId(VersionIdT&& value) { SetVersionId(std::forward<VersionIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_changesetId;
116 bool m_changesetIdHasBeenSet = false;
117
118 Aws::Vector<KxDataviewSegmentConfiguration> m_segmentConfigurations;
119 bool m_segmentConfigurationsHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_attachedClusters;
122 bool m_attachedClustersHasBeenSet = false;
123
124 Aws::Utils::DateTime m_createdTimestamp{};
125 bool m_createdTimestampHasBeenSet = false;
126
127 Aws::String m_versionId;
128 bool m_versionIdHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace finspace
133} // 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