AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataLakeLifecycleConfiguration.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/DataLakeLifecycleExpiration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securitylake/model/DataLakeLifecycleTransition.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 SecurityLake
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYLAKE_API DataLakeLifecycleConfiguration();
40 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DataLakeLifecycleExpiration& GetExpiration() const{ return m_expiration; }
48 inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; }
49 inline void SetExpiration(const DataLakeLifecycleExpiration& value) { m_expirationHasBeenSet = true; m_expiration = value; }
50 inline void SetExpiration(DataLakeLifecycleExpiration&& value) { m_expirationHasBeenSet = true; m_expiration = std::move(value); }
54
56
59 inline const Aws::Vector<DataLakeLifecycleTransition>& GetTransitions() const{ return m_transitions; }
60 inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; }
61 inline void SetTransitions(const Aws::Vector<DataLakeLifecycleTransition>& value) { m_transitionsHasBeenSet = true; m_transitions = value; }
62 inline void SetTransitions(Aws::Vector<DataLakeLifecycleTransition>&& value) { m_transitionsHasBeenSet = true; m_transitions = std::move(value); }
65 inline DataLakeLifecycleConfiguration& AddTransitions(const DataLakeLifecycleTransition& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(value); return *this; }
66 inline DataLakeLifecycleConfiguration& AddTransitions(DataLakeLifecycleTransition&& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(std::move(value)); return *this; }
68 private:
69
70 DataLakeLifecycleExpiration m_expiration;
71 bool m_expirationHasBeenSet = false;
72
74 bool m_transitionsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SecurityLake
79} // namespace Aws
AWS_SECURITYLAKE_API DataLakeLifecycleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeLifecycleConfiguration & AddTransitions(DataLakeLifecycleTransition &&value)
DataLakeLifecycleConfiguration & WithTransitions(const Aws::Vector< DataLakeLifecycleTransition > &value)
void SetExpiration(const DataLakeLifecycleExpiration &value)
DataLakeLifecycleConfiguration & WithTransitions(Aws::Vector< DataLakeLifecycleTransition > &&value)
DataLakeLifecycleConfiguration & AddTransitions(const DataLakeLifecycleTransition &value)
const Aws::Vector< DataLakeLifecycleTransition > & GetTransitions() const
DataLakeLifecycleConfiguration & WithExpiration(DataLakeLifecycleExpiration &&value)
void SetTransitions(const Aws::Vector< DataLakeLifecycleTransition > &value)
void SetTransitions(Aws::Vector< DataLakeLifecycleTransition > &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYLAKE_API DataLakeLifecycleConfiguration(Aws::Utils::Json::JsonView jsonValue)
DataLakeLifecycleConfiguration & WithExpiration(const DataLakeLifecycleExpiration &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue