AWS SDK for C++

AWS SDK for C++ Version 1.11.855

Loading...
Searching...
No Matches
DistributionResultsOptions.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 DistributionResultsOptions() = default;
34
36
39 inline bool GetWriteDistributionResultsEnabled() const { return m_writeDistributionResultsEnabled; }
40 inline bool WriteDistributionResultsEnabledHasBeenSet() const { return m_writeDistributionResultsEnabledHasBeenSet; }
41 inline void SetWriteDistributionResultsEnabled(bool value) {
42 m_writeDistributionResultsEnabledHasBeenSet = true;
43 m_writeDistributionResultsEnabled = 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 DistributionResultsOptions& WithCatalogTableConfig(CatalogTableConfigT&& value) {
65 SetCatalogTableConfig(std::forward<CatalogTableConfigT>(value));
66 return *this;
67 }
69 private:
70 bool m_writeDistributionResultsEnabled{false};
71
72 CatalogTableConfigOptions m_catalogTableConfig;
73 bool m_writeDistributionResultsEnabledHasBeenSet = false;
74 bool m_catalogTableConfigHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
const CatalogTableConfigOptions & GetCatalogTableConfig() const
AWS_GLUE_API DistributionResultsOptions(Aws::Utils::Json::JsonView jsonValue)
DistributionResultsOptions & WithCatalogTableConfig(CatalogTableConfigT &&value)
DistributionResultsOptions & WithWriteDistributionResultsEnabled(bool value)
AWS_GLUE_API DistributionResultsOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API DistributionResultsOptions()=default
void SetCatalogTableConfig(CatalogTableConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue