AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IcebergOrphanFileDeletionConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
46 inline int GetOrphanFileRetentionPeriodInDays() const { return m_orphanFileRetentionPeriodInDays; }
47 inline bool OrphanFileRetentionPeriodInDaysHasBeenSet() const { return m_orphanFileRetentionPeriodInDaysHasBeenSet; }
48 inline void SetOrphanFileRetentionPeriodInDays(int value) { m_orphanFileRetentionPeriodInDaysHasBeenSet = true; m_orphanFileRetentionPeriodInDays = value; }
51
53
58 inline const Aws::String& GetLocation() const { return m_location; }
59 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
60 template<typename LocationT = Aws::String>
61 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
62 template<typename LocationT = Aws::String>
63 IcebergOrphanFileDeletionConfiguration& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
65 private:
66
67 int m_orphanFileRetentionPeriodInDays{0};
68 bool m_orphanFileRetentionPeriodInDaysHasBeenSet = false;
69
70 Aws::String m_location;
71 bool m_locationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
IcebergOrphanFileDeletionConfiguration & WithOrphanFileRetentionPeriodInDays(int value)
IcebergOrphanFileDeletionConfiguration & WithLocation(LocationT &&value)
AWS_GLUE_API IcebergOrphanFileDeletionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API IcebergOrphanFileDeletionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue