AWS SDK for C++

AWS SDK for C++ Version 1.11.856

Loading...
Searching...
No Matches
ObservationResultsOptions.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CatalogTableConfigOptions.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API ObservationResultsOptions() = default;
34
36
39 inline bool GetWriteObservationResultsEnabled() const { return m_writeObservationResultsEnabled; }
40 inline bool WriteObservationResultsEnabledHasBeenSet() const { return m_writeObservationResultsEnabledHasBeenSet; }
41 inline void SetWriteObservationResultsEnabled(bool value) {
42 m_writeObservationResultsEnabledHasBeenSet = true;
43 m_writeObservationResultsEnabled = value;
44 }
47 return *this;
48 }
50
52
56 inline const CatalogTableConfigOptions& GetCatalogTableConfig() const { return m_catalogTableConfig; }
57 inline bool CatalogTableConfigHasBeenSet() const { return m_catalogTableConfigHasBeenSet; }
58 template <typename CatalogTableConfigT = CatalogTableConfigOptions>
59 void SetCatalogTableConfig(CatalogTableConfigT&& value) {
60 m_catalogTableConfigHasBeenSet = true;
61 m_catalogTableConfig = std::forward<CatalogTableConfigT>(value);
62 }
63 template <typename CatalogTableConfigT = CatalogTableConfigOptions>
64 ObservationResultsOptions& WithCatalogTableConfig(CatalogTableConfigT&& value) {
65 SetCatalogTableConfig(std::forward<CatalogTableConfigT>(value));
66 return *this;
67 }
69 private:
70 bool m_writeObservationResultsEnabled{false};
71
72 CatalogTableConfigOptions m_catalogTableConfig;
73 bool m_writeObservationResultsEnabledHasBeenSet = false;
74 bool m_catalogTableConfigHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
AWS_GLUE_API ObservationResultsOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ObservationResultsOptions(Aws::Utils::Json::JsonView jsonValue)
ObservationResultsOptions & WithWriteObservationResultsEnabled(bool value)
void SetCatalogTableConfig(CatalogTableConfigT &&value)
ObservationResultsOptions & WithCatalogTableConfig(CatalogTableConfigT &&value)
AWS_GLUE_API ObservationResultsOptions()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const CatalogTableConfigOptions & GetCatalogTableConfig() const
Aws::Utils::Json::JsonValue JsonValue