AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
IcebergOptimizationPropertiesOutput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.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:
38 AWS_GLUE_API IcebergOptimizationPropertiesOutput() = default;
42
43
45
49 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
50 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
51 template<typename RoleArnT = Aws::String>
52 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
53 template<typename RoleArnT = Aws::String>
54 IcebergOptimizationPropertiesOutput& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
56
58
63 inline const Aws::Map<Aws::String, Aws::String>& GetCompaction() const { return m_compaction; }
64 inline bool CompactionHasBeenSet() const { return m_compactionHasBeenSet; }
65 template<typename CompactionT = Aws::Map<Aws::String, Aws::String>>
66 void SetCompaction(CompactionT&& value) { m_compactionHasBeenSet = true; m_compaction = std::forward<CompactionT>(value); }
67 template<typename CompactionT = Aws::Map<Aws::String, Aws::String>>
68 IcebergOptimizationPropertiesOutput& WithCompaction(CompactionT&& value) { SetCompaction(std::forward<CompactionT>(value)); return *this;}
69 template<typename CompactionKeyT = Aws::String, typename CompactionValueT = Aws::String>
70 IcebergOptimizationPropertiesOutput& AddCompaction(CompactionKeyT&& key, CompactionValueT&& value) {
71 m_compactionHasBeenSet = true; m_compaction.emplace(std::forward<CompactionKeyT>(key), std::forward<CompactionValueT>(value)); return *this;
72 }
74
76
81 inline const Aws::Map<Aws::String, Aws::String>& GetRetention() const { return m_retention; }
82 inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; }
83 template<typename RetentionT = Aws::Map<Aws::String, Aws::String>>
84 void SetRetention(RetentionT&& value) { m_retentionHasBeenSet = true; m_retention = std::forward<RetentionT>(value); }
85 template<typename RetentionT = Aws::Map<Aws::String, Aws::String>>
86 IcebergOptimizationPropertiesOutput& WithRetention(RetentionT&& value) { SetRetention(std::forward<RetentionT>(value)); return *this;}
87 template<typename RetentionKeyT = Aws::String, typename RetentionValueT = Aws::String>
88 IcebergOptimizationPropertiesOutput& AddRetention(RetentionKeyT&& key, RetentionValueT&& value) {
89 m_retentionHasBeenSet = true; m_retention.emplace(std::forward<RetentionKeyT>(key), std::forward<RetentionValueT>(value)); return *this;
90 }
92
94
99 inline const Aws::Map<Aws::String, Aws::String>& GetOrphanFileDeletion() const { return m_orphanFileDeletion; }
100 inline bool OrphanFileDeletionHasBeenSet() const { return m_orphanFileDeletionHasBeenSet; }
101 template<typename OrphanFileDeletionT = Aws::Map<Aws::String, Aws::String>>
102 void SetOrphanFileDeletion(OrphanFileDeletionT&& value) { m_orphanFileDeletionHasBeenSet = true; m_orphanFileDeletion = std::forward<OrphanFileDeletionT>(value); }
103 template<typename OrphanFileDeletionT = Aws::Map<Aws::String, Aws::String>>
104 IcebergOptimizationPropertiesOutput& WithOrphanFileDeletion(OrphanFileDeletionT&& value) { SetOrphanFileDeletion(std::forward<OrphanFileDeletionT>(value)); return *this;}
105 template<typename OrphanFileDeletionKeyT = Aws::String, typename OrphanFileDeletionValueT = Aws::String>
106 IcebergOptimizationPropertiesOutput& AddOrphanFileDeletion(OrphanFileDeletionKeyT&& key, OrphanFileDeletionValueT&& value) {
107 m_orphanFileDeletionHasBeenSet = true; m_orphanFileDeletion.emplace(std::forward<OrphanFileDeletionKeyT>(key), std::forward<OrphanFileDeletionValueT>(value)); return *this;
108 }
110
112
115 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
116 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
117 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
118 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
119 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
120 IcebergOptimizationPropertiesOutput& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
122 private:
123
124 Aws::String m_roleArn;
125 bool m_roleArnHasBeenSet = false;
126
128 bool m_compactionHasBeenSet = false;
129
131 bool m_retentionHasBeenSet = false;
132
133 Aws::Map<Aws::String, Aws::String> m_orphanFileDeletion;
134 bool m_orphanFileDeletionHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedTime{};
137 bool m_lastUpdatedTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Glue
142} // namespace Aws
IcebergOptimizationPropertiesOutput & WithCompaction(CompactionT &&value)
IcebergOptimizationPropertiesOutput & WithRoleArn(RoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetRetention() const
IcebergOptimizationPropertiesOutput & AddRetention(RetentionKeyT &&key, RetentionValueT &&value)
AWS_GLUE_API IcebergOptimizationPropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetOrphanFileDeletion() const
IcebergOptimizationPropertiesOutput & WithRetention(RetentionT &&value)
IcebergOptimizationPropertiesOutput & WithOrphanFileDeletion(OrphanFileDeletionT &&value)
IcebergOptimizationPropertiesOutput & AddOrphanFileDeletion(OrphanFileDeletionKeyT &&key, OrphanFileDeletionValueT &&value)
AWS_GLUE_API IcebergOptimizationPropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetCompaction() const
IcebergOptimizationPropertiesOutput & AddCompaction(CompactionKeyT &&key, CompactionValueT &&value)
IcebergOptimizationPropertiesOutput & WithLastUpdatedTime(LastUpdatedTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue