AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableOptimizerConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/RetentionConfiguration.h>
10#include <aws/glue/model/OrphanFileDeletionConfiguration.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
36 {
37 public:
42
43
45
49 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
50 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
51 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
52 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
53 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
54 inline TableOptimizerConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
55 inline TableOptimizerConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
56 inline TableOptimizerConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
58
60
63 inline bool GetEnabled() const{ return m_enabled; }
64 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
65 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
66 inline TableOptimizerConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
68
70
73 inline const RetentionConfiguration& GetRetentionConfiguration() const{ return m_retentionConfiguration; }
74 inline bool RetentionConfigurationHasBeenSet() const { return m_retentionConfigurationHasBeenSet; }
75 inline void SetRetentionConfiguration(const RetentionConfiguration& value) { m_retentionConfigurationHasBeenSet = true; m_retentionConfiguration = value; }
76 inline void SetRetentionConfiguration(RetentionConfiguration&& value) { m_retentionConfigurationHasBeenSet = true; m_retentionConfiguration = std::move(value); }
80
82
85 inline const OrphanFileDeletionConfiguration& GetOrphanFileDeletionConfiguration() const{ return m_orphanFileDeletionConfiguration; }
86 inline bool OrphanFileDeletionConfigurationHasBeenSet() const { return m_orphanFileDeletionConfigurationHasBeenSet; }
87 inline void SetOrphanFileDeletionConfiguration(const OrphanFileDeletionConfiguration& value) { m_orphanFileDeletionConfigurationHasBeenSet = true; m_orphanFileDeletionConfiguration = value; }
88 inline void SetOrphanFileDeletionConfiguration(OrphanFileDeletionConfiguration&& value) { m_orphanFileDeletionConfigurationHasBeenSet = true; m_orphanFileDeletionConfiguration = std::move(value); }
92 private:
93
94 Aws::String m_roleArn;
95 bool m_roleArnHasBeenSet = false;
96
97 bool m_enabled;
98 bool m_enabledHasBeenSet = false;
99
100 RetentionConfiguration m_retentionConfiguration;
101 bool m_retentionConfigurationHasBeenSet = false;
102
103 OrphanFileDeletionConfiguration m_orphanFileDeletionConfiguration;
104 bool m_orphanFileDeletionConfigurationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
const RetentionConfiguration & GetRetentionConfiguration() const
TableOptimizerConfiguration & WithRoleArn(const Aws::String &value)
AWS_GLUE_API TableOptimizerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TableOptimizerConfiguration & WithOrphanFileDeletionConfiguration(const OrphanFileDeletionConfiguration &value)
void SetRetentionConfiguration(const RetentionConfiguration &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrphanFileDeletionConfiguration(const OrphanFileDeletionConfiguration &value)
TableOptimizerConfiguration & WithRoleArn(Aws::String &&value)
TableOptimizerConfiguration & WithEnabled(bool value)
const OrphanFileDeletionConfiguration & GetOrphanFileDeletionConfiguration() const
TableOptimizerConfiguration & WithRetentionConfiguration(const RetentionConfiguration &value)
void SetRetentionConfiguration(RetentionConfiguration &&value)
AWS_GLUE_API TableOptimizerConfiguration(Aws::Utils::Json::JsonView jsonValue)
TableOptimizerConfiguration & WithOrphanFileDeletionConfiguration(OrphanFileDeletionConfiguration &&value)
TableOptimizerConfiguration & WithRoleArn(const char *value)
void SetOrphanFileDeletionConfiguration(OrphanFileDeletionConfiguration &&value)
TableOptimizerConfiguration & WithRetentionConfiguration(RetentionConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue