AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
IcebergOptimizationPropertiesOutput.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
32 public:
33 AWS_GLUE_API IcebergOptimizationPropertiesOutput() = default;
37
39
43 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
44 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
45 template <typename RoleArnT = Aws::String>
46 void SetRoleArn(RoleArnT&& value) {
47 m_roleArnHasBeenSet = true;
48 m_roleArn = std::forward<RoleArnT>(value);
49 }
50 template <typename RoleArnT = Aws::String>
52 SetRoleArn(std::forward<RoleArnT>(value));
53 return *this;
54 }
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) {
67 m_compactionHasBeenSet = true;
68 m_compaction = std::forward<CompactionT>(value);
69 }
70 template <typename CompactionT = Aws::Map<Aws::String, Aws::String>>
72 SetCompaction(std::forward<CompactionT>(value));
73 return *this;
74 }
75 template <typename CompactionKeyT = Aws::String, typename CompactionValueT = Aws::String>
76 IcebergOptimizationPropertiesOutput& AddCompaction(CompactionKeyT&& key, CompactionValueT&& value) {
77 m_compactionHasBeenSet = true;
78 m_compaction.emplace(std::forward<CompactionKeyT>(key), std::forward<CompactionValueT>(value));
79 return *this;
80 }
82
84
89 inline const Aws::Map<Aws::String, Aws::String>& GetRetention() const { return m_retention; }
90 inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; }
91 template <typename RetentionT = Aws::Map<Aws::String, Aws::String>>
92 void SetRetention(RetentionT&& value) {
93 m_retentionHasBeenSet = true;
94 m_retention = std::forward<RetentionT>(value);
95 }
96 template <typename RetentionT = Aws::Map<Aws::String, Aws::String>>
98 SetRetention(std::forward<RetentionT>(value));
99 return *this;
100 }
101 template <typename RetentionKeyT = Aws::String, typename RetentionValueT = Aws::String>
102 IcebergOptimizationPropertiesOutput& AddRetention(RetentionKeyT&& key, RetentionValueT&& value) {
103 m_retentionHasBeenSet = true;
104 m_retention.emplace(std::forward<RetentionKeyT>(key), std::forward<RetentionValueT>(value));
105 return *this;
106 }
108
110
115 inline const Aws::Map<Aws::String, Aws::String>& GetOrphanFileDeletion() const { return m_orphanFileDeletion; }
116 inline bool OrphanFileDeletionHasBeenSet() const { return m_orphanFileDeletionHasBeenSet; }
117 template <typename OrphanFileDeletionT = Aws::Map<Aws::String, Aws::String>>
118 void SetOrphanFileDeletion(OrphanFileDeletionT&& value) {
119 m_orphanFileDeletionHasBeenSet = true;
120 m_orphanFileDeletion = std::forward<OrphanFileDeletionT>(value);
121 }
122 template <typename OrphanFileDeletionT = Aws::Map<Aws::String, Aws::String>>
124 SetOrphanFileDeletion(std::forward<OrphanFileDeletionT>(value));
125 return *this;
126 }
127 template <typename OrphanFileDeletionKeyT = Aws::String, typename OrphanFileDeletionValueT = Aws::String>
128 IcebergOptimizationPropertiesOutput& AddOrphanFileDeletion(OrphanFileDeletionKeyT&& key, OrphanFileDeletionValueT&& value) {
129 m_orphanFileDeletionHasBeenSet = true;
130 m_orphanFileDeletion.emplace(std::forward<OrphanFileDeletionKeyT>(key), std::forward<OrphanFileDeletionValueT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
140 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
141 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
142 void SetLastUpdatedTime(LastUpdatedTimeT&& value) {
143 m_lastUpdatedTimeHasBeenSet = true;
144 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
145 }
146 template <typename LastUpdatedTimeT = Aws::Utils::DateTime>
148 SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_roleArn;
154
156
158
159 Aws::Map<Aws::String, Aws::String> m_orphanFileDeletion;
160
161 Aws::Utils::DateTime m_lastUpdatedTime{};
162 bool m_roleArnHasBeenSet = false;
163 bool m_compactionHasBeenSet = false;
164 bool m_retentionHasBeenSet = false;
165 bool m_orphanFileDeletionHasBeenSet = false;
166 bool m_lastUpdatedTimeHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace Glue
171} // 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