AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RetentionMetrics.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/IcebergRetentionMetrics.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API RetentionMetrics() = default;
34
36
40 inline const IcebergRetentionMetrics& GetIcebergMetrics() const { return m_icebergMetrics; }
41 inline bool IcebergMetricsHasBeenSet() const { return m_icebergMetricsHasBeenSet; }
42 template <typename IcebergMetricsT = IcebergRetentionMetrics>
43 void SetIcebergMetrics(IcebergMetricsT&& value) {
44 m_icebergMetricsHasBeenSet = true;
45 m_icebergMetrics = std::forward<IcebergMetricsT>(value);
46 }
47 template <typename IcebergMetricsT = IcebergRetentionMetrics>
48 RetentionMetrics& WithIcebergMetrics(IcebergMetricsT&& value) {
49 SetIcebergMetrics(std::forward<IcebergMetricsT>(value));
50 return *this;
51 }
53 private:
54 IcebergRetentionMetrics m_icebergMetrics;
55 bool m_icebergMetricsHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Glue
60} // namespace Aws
AWS_GLUE_API RetentionMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
RetentionMetrics & WithIcebergMetrics(IcebergMetricsT &&value)
AWS_GLUE_API RetentionMetrics()=default
const IcebergRetentionMetrics & GetIcebergMetrics() const
AWS_GLUE_API RetentionMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIcebergMetrics(IcebergMetricsT &&value)
Aws::Utils::Json::JsonValue JsonValue