AWS SDK for C++

AWS SDK for C++ Version 1.11.858

Loading...
Searching...
No Matches
ProfilingResultsOptions.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/CatalogTableConfigOptions.h>
9#include <aws/glue/model/DistributionResultsOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API ProfilingResultsOptions() = default;
35
37
40 inline bool GetWriteProfilingResultsEnabled() const { return m_writeProfilingResultsEnabled; }
41 inline bool WriteProfilingResultsEnabledHasBeenSet() const { return m_writeProfilingResultsEnabledHasBeenSet; }
42 inline void SetWriteProfilingResultsEnabled(bool value) {
43 m_writeProfilingResultsEnabledHasBeenSet = true;
44 m_writeProfilingResultsEnabled = value;
45 }
48 return *this;
49 }
51
53
57 inline const CatalogTableConfigOptions& GetCatalogTableConfig() const { return m_catalogTableConfig; }
58 inline bool CatalogTableConfigHasBeenSet() const { return m_catalogTableConfigHasBeenSet; }
59 template <typename CatalogTableConfigT = CatalogTableConfigOptions>
60 void SetCatalogTableConfig(CatalogTableConfigT&& value) {
61 m_catalogTableConfigHasBeenSet = true;
62 m_catalogTableConfig = std::forward<CatalogTableConfigT>(value);
63 }
64 template <typename CatalogTableConfigT = CatalogTableConfigOptions>
65 ProfilingResultsOptions& WithCatalogTableConfig(CatalogTableConfigT&& value) {
66 SetCatalogTableConfig(std::forward<CatalogTableConfigT>(value));
67 return *this;
68 }
70
72
75 inline const DistributionResultsOptions& GetDistributionResults() const { return m_distributionResults; }
76 inline bool DistributionResultsHasBeenSet() const { return m_distributionResultsHasBeenSet; }
77 template <typename DistributionResultsT = DistributionResultsOptions>
78 void SetDistributionResults(DistributionResultsT&& value) {
79 m_distributionResultsHasBeenSet = true;
80 m_distributionResults = std::forward<DistributionResultsT>(value);
81 }
82 template <typename DistributionResultsT = DistributionResultsOptions>
83 ProfilingResultsOptions& WithDistributionResults(DistributionResultsT&& value) {
84 SetDistributionResults(std::forward<DistributionResultsT>(value));
85 return *this;
86 }
88 private:
89 bool m_writeProfilingResultsEnabled{false};
90
91 CatalogTableConfigOptions m_catalogTableConfig;
92
93 DistributionResultsOptions m_distributionResults;
94 bool m_writeProfilingResultsEnabledHasBeenSet = false;
95 bool m_catalogTableConfigHasBeenSet = false;
96 bool m_distributionResultsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
ProfilingResultsOptions & WithDistributionResults(DistributionResultsT &&value)
const CatalogTableConfigOptions & GetCatalogTableConfig() const
ProfilingResultsOptions & WithWriteProfilingResultsEnabled(bool value)
void SetDistributionResults(DistributionResultsT &&value)
AWS_GLUE_API ProfilingResultsOptions()=default
AWS_GLUE_API ProfilingResultsOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ProfilingResultsOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCatalogTableConfig(CatalogTableConfigT &&value)
const DistributionResultsOptions & GetDistributionResults() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ProfilingResultsOptions & WithCatalogTableConfig(CatalogTableConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue