AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeLifecycleTransition.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_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 SecurityLake
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYLAKE_API DataLakeLifecycleTransition();
38 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetDays() const{ return m_days; }
47 inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; }
48 inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; }
49 inline DataLakeLifecycleTransition& WithDays(int value) { SetDays(value); return *this;}
51
53
57 inline const Aws::String& GetStorageClass() const{ return m_storageClass; }
58 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
59 inline void SetStorageClass(const Aws::String& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
60 inline void SetStorageClass(Aws::String&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
61 inline void SetStorageClass(const char* value) { m_storageClassHasBeenSet = true; m_storageClass.assign(value); }
62 inline DataLakeLifecycleTransition& WithStorageClass(const Aws::String& value) { SetStorageClass(value); return *this;}
63 inline DataLakeLifecycleTransition& WithStorageClass(Aws::String&& value) { SetStorageClass(std::move(value)); return *this;}
64 inline DataLakeLifecycleTransition& WithStorageClass(const char* value) { SetStorageClass(value); return *this;}
66 private:
67
68 int m_days;
69 bool m_daysHasBeenSet = false;
70
71 Aws::String m_storageClass;
72 bool m_storageClassHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SecurityLake
77} // namespace Aws
AWS_SECURITYLAKE_API DataLakeLifecycleTransition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeLifecycleTransition(Aws::Utils::Json::JsonView jsonValue)
DataLakeLifecycleTransition & WithStorageClass(const char *value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeLifecycleTransition & WithStorageClass(Aws::String &&value)
DataLakeLifecycleTransition & WithStorageClass(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue