AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableOptimizer.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/TableOptimizerType.h>
9#include <aws/glue/model/TableOptimizerConfiguration.h>
10#include <aws/glue/model/TableOptimizerRun.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API TableOptimizer() = default;
41
42
44
52 inline TableOptimizerType GetType() const { return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(TableOptimizerType value) { m_typeHasBeenSet = true; m_type = value; }
55 inline TableOptimizer& WithType(TableOptimizerType value) { SetType(value); return *this;}
57
59
63 inline const TableOptimizerConfiguration& GetConfiguration() const { return m_configuration; }
64 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
65 template<typename ConfigurationT = TableOptimizerConfiguration>
66 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
67 template<typename ConfigurationT = TableOptimizerConfiguration>
68 TableOptimizer& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
70
72
76 inline const TableOptimizerRun& GetLastRun() const { return m_lastRun; }
77 inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; }
78 template<typename LastRunT = TableOptimizerRun>
79 void SetLastRun(LastRunT&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::forward<LastRunT>(value); }
80 template<typename LastRunT = TableOptimizerRun>
81 TableOptimizer& WithLastRun(LastRunT&& value) { SetLastRun(std::forward<LastRunT>(value)); return *this;}
83 private:
84
86 bool m_typeHasBeenSet = false;
87
88 TableOptimizerConfiguration m_configuration;
89 bool m_configurationHasBeenSet = false;
90
91 TableOptimizerRun m_lastRun;
92 bool m_lastRunHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Glue
97} // namespace Aws
AWS_GLUE_API TableOptimizer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TableOptimizer & WithLastRun(LastRunT &&value)
const TableOptimizerRun & GetLastRun() const
void SetConfiguration(ConfigurationT &&value)
void SetType(TableOptimizerType value)
void SetLastRun(LastRunT &&value)
AWS_GLUE_API TableOptimizer(Aws::Utils::Json::JsonView jsonValue)
const TableOptimizerConfiguration & GetConfiguration() const
AWS_GLUE_API TableOptimizer()=default
TableOptimizer & WithConfiguration(ConfigurationT &&value)
TableOptimizerType GetType() const
TableOptimizer & WithType(TableOptimizerType value)
Aws::Utils::Json::JsonValue JsonValue