AWS SDK for C++

AWS SDK for C++ Version 1.11.876

Loading...
Searching...
No Matches
S3TablePublishStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/S3TableGranularity.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless {
23namespace Model {
24
32 public:
33 AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus() = default;
34 AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline bool GetEnabledAll() const { return m_enabledAll; }
44 inline bool EnabledAllHasBeenSet() const { return m_enabledAllHasBeenSet; }
45 inline void SetEnabledAll(bool value) {
46 m_enabledAllHasBeenSet = true;
47 m_enabledAll = value;
48 }
50 SetEnabledAll(value);
51 return *this;
52 }
54
56
61 inline const Aws::Map<Aws::String, Aws::String>& GetLastIngestionTimes() const { return m_lastIngestionTimes; }
62 inline bool LastIngestionTimesHasBeenSet() const { return m_lastIngestionTimesHasBeenSet; }
63 template <typename LastIngestionTimesT = Aws::Map<Aws::String, Aws::String>>
64 void SetLastIngestionTimes(LastIngestionTimesT&& value) {
65 m_lastIngestionTimesHasBeenSet = true;
66 m_lastIngestionTimes = std::forward<LastIngestionTimesT>(value);
67 }
68 template <typename LastIngestionTimesT = Aws::Map<Aws::String, Aws::String>>
69 S3TablePublishStatus& WithLastIngestionTimes(LastIngestionTimesT&& value) {
70 SetLastIngestionTimes(std::forward<LastIngestionTimesT>(value));
71 return *this;
72 }
73 template <typename LastIngestionTimesKeyT = Aws::String, typename LastIngestionTimesValueT = Aws::String>
74 S3TablePublishStatus& AddLastIngestionTimes(LastIngestionTimesKeyT&& key, LastIngestionTimesValueT&& value) {
75 m_lastIngestionTimesHasBeenSet = true;
76 m_lastIngestionTimes.emplace(std::forward<LastIngestionTimesKeyT>(key), std::forward<LastIngestionTimesValueT>(value));
77 return *this;
78 }
80
82
86 inline S3TableGranularity GetS3TableGranularity() const { return m_s3TableGranularity; }
87 inline bool S3TableGranularityHasBeenSet() const { return m_s3TableGranularityHasBeenSet; }
89 m_s3TableGranularityHasBeenSet = true;
90 m_s3TableGranularity = value;
91 }
94 return *this;
95 }
97
99
103 inline const Aws::String& GetS3TableNamespace() const { return m_s3TableNamespace; }
104 inline bool S3TableNamespaceHasBeenSet() const { return m_s3TableNamespaceHasBeenSet; }
105 template <typename S3TableNamespaceT = Aws::String>
106 void SetS3TableNamespace(S3TableNamespaceT&& value) {
107 m_s3TableNamespaceHasBeenSet = true;
108 m_s3TableNamespace = std::forward<S3TableNamespaceT>(value);
109 }
110 template <typename S3TableNamespaceT = Aws::String>
111 S3TablePublishStatus& WithS3TableNamespace(S3TableNamespaceT&& value) {
112 SetS3TableNamespace(std::forward<S3TableNamespaceT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::Vector<Aws::String>& GetS3Tables() const { return m_s3Tables; }
122 inline bool S3TablesHasBeenSet() const { return m_s3TablesHasBeenSet; }
123 template <typename S3TablesT = Aws::Vector<Aws::String>>
124 void SetS3Tables(S3TablesT&& value) {
125 m_s3TablesHasBeenSet = true;
126 m_s3Tables = std::forward<S3TablesT>(value);
127 }
128 template <typename S3TablesT = Aws::Vector<Aws::String>>
129 S3TablePublishStatus& WithS3Tables(S3TablesT&& value) {
130 SetS3Tables(std::forward<S3TablesT>(value));
131 return *this;
132 }
133 template <typename S3TablesT = Aws::String>
134 S3TablePublishStatus& AddS3Tables(S3TablesT&& value) {
135 m_s3TablesHasBeenSet = true;
136 m_s3Tables.emplace_back(std::forward<S3TablesT>(value));
137 return *this;
138 }
140 private:
141 bool m_enabledAll{false};
142
143 Aws::Map<Aws::String, Aws::String> m_lastIngestionTimes;
144
146
147 Aws::String m_s3TableNamespace;
148
149 Aws::Vector<Aws::String> m_s3Tables;
150 bool m_enabledAllHasBeenSet = false;
151 bool m_lastIngestionTimesHasBeenSet = false;
152 bool m_s3TableGranularityHasBeenSet = false;
153 bool m_s3TableNamespaceHasBeenSet = false;
154 bool m_s3TablesHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace RedshiftServerless
159} // namespace Aws
AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus()=default
AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetS3Tables() const
S3TablePublishStatus & AddS3Tables(S3TablesT &&value)
AWS_REDSHIFTSERVERLESS_API S3TablePublishStatus(Aws::Utils::Json::JsonView jsonValue)
S3TablePublishStatus & WithS3TableNamespace(S3TableNamespaceT &&value)
S3TablePublishStatus & AddLastIngestionTimes(LastIngestionTimesKeyT &&key, LastIngestionTimesValueT &&value)
S3TablePublishStatus & WithS3TableGranularity(S3TableGranularity value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
S3TablePublishStatus & WithS3Tables(S3TablesT &&value)
S3TablePublishStatus & WithLastIngestionTimes(LastIngestionTimesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetLastIngestionTimes() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue