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/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/LastRefreshType.h>
12#include <aws/glue/model/SubObjectStatistics.h>
13#include <aws/glue/model/ViewRepresentation.h>
51 m_isProtectedHasBeenSet =
true;
52 m_isProtected = value;
67 m_isManagedHasBeenSet =
true;
82 template <
typename DefinerT = Aws::String>
84 m_definerHasBeenSet =
true;
85 m_definer = std::forward<DefinerT>(value);
87 template <
typename DefinerT = Aws::String>
102 m_viewVersionIdHasBeenSet =
true;
103 m_viewVersionId = value;
117 template <
typename ViewVersionTokenT = Aws::String>
119 m_viewVersionTokenHasBeenSet =
true;
120 m_viewVersionToken = std::forward<ViewVersionTokenT>(value);
122 template <
typename ViewVersionTokenT = Aws::String>
137 m_refreshSecondsHasBeenSet =
true;
138 m_refreshSeconds = value;
153 m_lastRefreshTypeHasBeenSet =
true;
154 m_lastRefreshType = value;
168 template <
typename SubObjectsT = Aws::Vector<Aws::String>>
170 m_subObjectsHasBeenSet =
true;
171 m_subObjects = std::forward<SubObjectsT>(value);
173 template <
typename SubObjectsT = Aws::Vector<Aws::String>>
178 template <
typename SubObjectsT = Aws::String>
180 m_subObjectsHasBeenSet =
true;
181 m_subObjects.emplace_back(std::forward<SubObjectsT>(value));
193 template <
typename SubObjectVersionIdsT = Aws::Vector<
long long>>
195 m_subObjectVersionIdsHasBeenSet =
true;
196 m_subObjectVersionIds = std::forward<SubObjectVersionIdsT>(value);
198 template <
typename SubObjectVersionIdsT = Aws::Vector<
long long>>
204 m_subObjectVersionIdsHasBeenSet =
true;
205 m_subObjectVersionIds.push_back(value);
219 template <
typename SubObjectsStatisticsT = Aws::Vector<SubObjectStatistics>>
221 m_subObjectsStatisticsHasBeenSet =
true;
222 m_subObjectsStatistics = std::forward<SubObjectsStatisticsT>(value);
224 template <
typename SubObjectsStatisticsT = Aws::Vector<SubObjectStatistics>>
229 template <
typename SubObjectsStatisticsT = SubObjectStatistics>
231 m_subObjectsStatisticsHasBeenSet =
true;
232 m_subObjectsStatistics.emplace_back(std::forward<SubObjectsStatisticsT>(value));
243 template <
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
245 m_representationsHasBeenSet =
true;
246 m_representations = std::forward<RepresentationsT>(value);
248 template <
typename RepresentationsT = Aws::Vector<ViewRepresentation>>
253 template <
typename RepresentationsT = ViewRepresentation>
255 m_representationsHasBeenSet =
true;
256 m_representations.emplace_back(std::forward<RepresentationsT>(value));
268 template <
typename SparkPipelineInfoT = Aws::Map<Aws::String, Aws::String>>
270 m_sparkPipelineInfoHasBeenSet =
true;
271 m_sparkPipelineInfo = std::forward<SparkPipelineInfoT>(value);
273 template <
typename SparkPipelineInfoT = Aws::Map<Aws::String, Aws::String>>
278 template <
typename SparkPipelineInfoKeyT = Aws::String,
typename SparkPipelineInfoValueT = Aws::String>
280 m_sparkPipelineInfoHasBeenSet =
true;
281 m_sparkPipelineInfo.emplace(std::forward<SparkPipelineInfoKeyT>(key), std::forward<SparkPipelineInfoValueT>(value));
286 bool m_isProtected{
false};
288 bool m_isManaged{
false};
292 long long m_viewVersionId{0};
296 long long m_refreshSeconds{0};
309 bool m_isProtectedHasBeenSet =
false;
310 bool m_isManagedHasBeenSet =
false;
311 bool m_definerHasBeenSet =
false;
312 bool m_viewVersionIdHasBeenSet =
false;
313 bool m_viewVersionTokenHasBeenSet =
false;
314 bool m_refreshSecondsHasBeenSet =
false;
315 bool m_lastRefreshTypeHasBeenSet =
false;
316 bool m_subObjectsHasBeenSet =
false;
317 bool m_subObjectVersionIdsHasBeenSet =
false;
318 bool m_subObjectsStatisticsHasBeenSet =
false;
319 bool m_representationsHasBeenSet =
false;
320 bool m_sparkPipelineInfoHasBeenSet =
false;
bool GetIsManaged() const
ViewDefinition & WithViewVersionId(long long value)
void SetSparkPipelineInfo(SparkPipelineInfoT &&value)
void SetRepresentations(RepresentationsT &&value)
ViewDefinition & WithLastRefreshType(LastRefreshType value)
bool DefinerHasBeenSet() const
ViewDefinition & AddSubObjects(SubObjectsT &&value)
ViewDefinition & WithRepresentations(RepresentationsT &&value)
void SetViewVersionId(long long value)
void SetViewVersionToken(ViewVersionTokenT &&value)
void SetRefreshSeconds(long long value)
bool ViewVersionTokenHasBeenSet() const
bool GetIsProtected() const
const Aws::Vector< SubObjectStatistics > & GetSubObjectsStatistics() const
ViewDefinition & WithViewVersionToken(ViewVersionTokenT &&value)
const Aws::String & GetViewVersionToken() const
const Aws::Vector< Aws::String > & GetSubObjects() const
ViewDefinition & WithSparkPipelineInfo(SparkPipelineInfoT &&value)
LastRefreshType GetLastRefreshType() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool IsProtectedHasBeenSet() const
void SetSubObjectVersionIds(SubObjectVersionIdsT &&value)
ViewDefinition & AddSparkPipelineInfo(SparkPipelineInfoKeyT &&key, SparkPipelineInfoValueT &&value)
AWS_GLUE_API ViewDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewDefinition & WithIsManaged(bool value)
ViewDefinition & AddSubObjectsStatistics(SubObjectsStatisticsT &&value)
bool ViewVersionIdHasBeenSet() const
bool SubObjectsHasBeenSet() const
AWS_GLUE_API ViewDefinition()=default
long long GetRefreshSeconds() const
ViewDefinition & WithSubObjectVersionIds(SubObjectVersionIdsT &&value)
const Aws::Vector< ViewRepresentation > & GetRepresentations() const
const Aws::String & GetDefiner() const
AWS_GLUE_API ViewDefinition(Aws::Utils::Json::JsonView jsonValue)
ViewDefinition & WithRefreshSeconds(long long value)
bool LastRefreshTypeHasBeenSet() const
void SetIsProtected(bool value)
void SetSubObjects(SubObjectsT &&value)
ViewDefinition & WithSubObjectsStatistics(SubObjectsStatisticsT &&value)
void SetLastRefreshType(LastRefreshType value)
const Aws::Vector< long long > & GetSubObjectVersionIds() const
void SetSubObjectsStatistics(SubObjectsStatisticsT &&value)
bool IsManagedHasBeenSet() const
ViewDefinition & WithSubObjects(SubObjectsT &&value)
ViewDefinition & WithIsProtected(bool value)
bool SubObjectVersionIdsHasBeenSet() const
bool SubObjectsStatisticsHasBeenSet() const
bool SparkPipelineInfoHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetSparkPipelineInfo() const
bool RepresentationsHasBeenSet() const
bool RefreshSecondsHasBeenSet() const
long long GetViewVersionId() const
void SetDefiner(DefinerT &&value)
ViewDefinition & AddSubObjectVersionIds(long long value)
ViewDefinition & AddRepresentations(RepresentationsT &&value)
void SetIsManaged(bool value)
ViewDefinition & WithDefiner(DefinerT &&value)
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