AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
52 inline const TableOptimizerType& GetType() const{ return m_type; }
53 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
54 inline void SetType(const TableOptimizerType& value) { m_typeHasBeenSet = true; m_type = value; }
55 inline void SetType(TableOptimizerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 inline TableOptimizer& WithType(const TableOptimizerType& value) { SetType(value); return *this;}
57 inline TableOptimizer& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;}
59
61
65 inline const TableOptimizerConfiguration& GetConfiguration() const{ return m_configuration; }
66 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
67 inline void SetConfiguration(const TableOptimizerConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
68 inline void SetConfiguration(TableOptimizerConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
70 inline TableOptimizer& WithConfiguration(TableOptimizerConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
72
74
78 inline const TableOptimizerRun& GetLastRun() const{ return m_lastRun; }
79 inline bool LastRunHasBeenSet() const { return m_lastRunHasBeenSet; }
80 inline void SetLastRun(const TableOptimizerRun& value) { m_lastRunHasBeenSet = true; m_lastRun = value; }
81 inline void SetLastRun(TableOptimizerRun&& value) { m_lastRunHasBeenSet = true; m_lastRun = std::move(value); }
82 inline TableOptimizer& WithLastRun(const TableOptimizerRun& value) { SetLastRun(value); return *this;}
83 inline TableOptimizer& WithLastRun(TableOptimizerRun&& value) { SetLastRun(std::move(value)); return *this;}
85 private:
86
87 TableOptimizerType m_type;
88 bool m_typeHasBeenSet = false;
89
90 TableOptimizerConfiguration m_configuration;
91 bool m_configurationHasBeenSet = false;
92
93 TableOptimizerRun m_lastRun;
94 bool m_lastRunHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Glue
99} // namespace Aws
AWS_GLUE_API TableOptimizer & operator=(Aws::Utils::Json::JsonView jsonValue)
TableOptimizer & WithLastRun(const TableOptimizerRun &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfiguration(TableOptimizerConfiguration &&value)
const TableOptimizerRun & GetLastRun() const
void SetConfiguration(const TableOptimizerConfiguration &value)
void SetLastRun(const TableOptimizerRun &value)
void SetLastRun(TableOptimizerRun &&value)
TableOptimizer & WithType(const TableOptimizerType &value)
TableOptimizer & WithLastRun(TableOptimizerRun &&value)
TableOptimizer & WithConfiguration(const TableOptimizerConfiguration &value)
AWS_GLUE_API TableOptimizer(Aws::Utils::Json::JsonView jsonValue)
TableOptimizer & WithConfiguration(TableOptimizerConfiguration &&value)
const TableOptimizerConfiguration & GetConfiguration() const
void SetType(TableOptimizerType &&value)
TableOptimizer & WithType(TableOptimizerType &&value)
const TableOptimizerType & GetType() const
void SetType(const TableOptimizerType &value)
Aws::Utils::Json::JsonValue JsonValue