AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataLakeResource.h
1
6#pragma once
7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/securitylake/model/DataLakeStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securitylake/model/DataLakeEncryptionConfiguration.h>
11#include <aws/securitylake/model/DataLakeLifecycleConfiguration.h>
12#include <aws/securitylake/model/DataLakeReplicationConfiguration.h>
13#include <aws/securitylake/model/DataLakeUpdateStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SecurityLake
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SECURITYLAKE_API DataLakeResource() = default;
41 AWS_SECURITYLAKE_API DataLakeResource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYLAKE_API DataLakeResource& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline DataLakeStatus GetCreateStatus() const { return m_createStatus; }
52 inline bool CreateStatusHasBeenSet() const { return m_createStatusHasBeenSet; }
53 inline void SetCreateStatus(DataLakeStatus value) { m_createStatusHasBeenSet = true; m_createStatus = value; }
54 inline DataLakeResource& WithCreateStatus(DataLakeStatus value) { SetCreateStatus(value); return *this;}
56
58
64 inline const Aws::String& GetDataLakeArn() const { return m_dataLakeArn; }
65 inline bool DataLakeArnHasBeenSet() const { return m_dataLakeArnHasBeenSet; }
66 template<typename DataLakeArnT = Aws::String>
67 void SetDataLakeArn(DataLakeArnT&& value) { m_dataLakeArnHasBeenSet = true; m_dataLakeArn = std::forward<DataLakeArnT>(value); }
68 template<typename DataLakeArnT = Aws::String>
69 DataLakeResource& WithDataLakeArn(DataLakeArnT&& value) { SetDataLakeArn(std::forward<DataLakeArnT>(value)); return *this;}
71
73
76 inline const DataLakeEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
77 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
78 template<typename EncryptionConfigurationT = DataLakeEncryptionConfiguration>
79 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
80 template<typename EncryptionConfigurationT = DataLakeEncryptionConfiguration>
81 DataLakeResource& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
83
85
88 inline const DataLakeLifecycleConfiguration& GetLifecycleConfiguration() const { return m_lifecycleConfiguration; }
89 inline bool LifecycleConfigurationHasBeenSet() const { return m_lifecycleConfigurationHasBeenSet; }
90 template<typename LifecycleConfigurationT = DataLakeLifecycleConfiguration>
91 void SetLifecycleConfiguration(LifecycleConfigurationT&& value) { m_lifecycleConfigurationHasBeenSet = true; m_lifecycleConfiguration = std::forward<LifecycleConfigurationT>(value); }
92 template<typename LifecycleConfigurationT = DataLakeLifecycleConfiguration>
93 DataLakeResource& WithLifecycleConfiguration(LifecycleConfigurationT&& value) { SetLifecycleConfiguration(std::forward<LifecycleConfigurationT>(value)); return *this;}
95
97
100 inline const Aws::String& GetRegion() const { return m_region; }
101 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
102 template<typename RegionT = Aws::String>
103 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
104 template<typename RegionT = Aws::String>
105 DataLakeResource& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
107
109
112 inline const DataLakeReplicationConfiguration& GetReplicationConfiguration() const { return m_replicationConfiguration; }
113 inline bool ReplicationConfigurationHasBeenSet() const { return m_replicationConfigurationHasBeenSet; }
114 template<typename ReplicationConfigurationT = DataLakeReplicationConfiguration>
115 void SetReplicationConfiguration(ReplicationConfigurationT&& value) { m_replicationConfigurationHasBeenSet = true; m_replicationConfiguration = std::forward<ReplicationConfigurationT>(value); }
116 template<typename ReplicationConfigurationT = DataLakeReplicationConfiguration>
117 DataLakeResource& WithReplicationConfiguration(ReplicationConfigurationT&& value) { SetReplicationConfiguration(std::forward<ReplicationConfigurationT>(value)); return *this;}
119
121
124 inline const Aws::String& GetS3BucketArn() const { return m_s3BucketArn; }
125 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
126 template<typename S3BucketArnT = Aws::String>
127 void SetS3BucketArn(S3BucketArnT&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::forward<S3BucketArnT>(value); }
128 template<typename S3BucketArnT = Aws::String>
129 DataLakeResource& WithS3BucketArn(S3BucketArnT&& value) { SetS3BucketArn(std::forward<S3BucketArnT>(value)); return *this;}
131
133
137 inline const DataLakeUpdateStatus& GetUpdateStatus() const { return m_updateStatus; }
138 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
139 template<typename UpdateStatusT = DataLakeUpdateStatus>
140 void SetUpdateStatus(UpdateStatusT&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::forward<UpdateStatusT>(value); }
141 template<typename UpdateStatusT = DataLakeUpdateStatus>
142 DataLakeResource& WithUpdateStatus(UpdateStatusT&& value) { SetUpdateStatus(std::forward<UpdateStatusT>(value)); return *this;}
144 private:
145
147 bool m_createStatusHasBeenSet = false;
148
149 Aws::String m_dataLakeArn;
150 bool m_dataLakeArnHasBeenSet = false;
151
152 DataLakeEncryptionConfiguration m_encryptionConfiguration;
153 bool m_encryptionConfigurationHasBeenSet = false;
154
155 DataLakeLifecycleConfiguration m_lifecycleConfiguration;
156 bool m_lifecycleConfigurationHasBeenSet = false;
157
158 Aws::String m_region;
159 bool m_regionHasBeenSet = false;
160
161 DataLakeReplicationConfiguration m_replicationConfiguration;
162 bool m_replicationConfigurationHasBeenSet = false;
163
164 Aws::String m_s3BucketArn;
165 bool m_s3BucketArnHasBeenSet = false;
166
167 DataLakeUpdateStatus m_updateStatus;
168 bool m_updateStatusHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SecurityLake
173} // namespace Aws
void SetReplicationConfiguration(ReplicationConfigurationT &&value)
DataLakeResource & WithDataLakeArn(DataLakeArnT &&value)
AWS_SECURITYLAKE_API DataLakeResource(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYLAKE_API DataLakeResource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeResource & WithRegion(RegionT &&value)
const DataLakeLifecycleConfiguration & GetLifecycleConfiguration() const
DataLakeResource & WithCreateStatus(DataLakeStatus value)
DataLakeResource & WithReplicationConfiguration(ReplicationConfigurationT &&value)
void SetUpdateStatus(UpdateStatusT &&value)
DataLakeResource & WithS3BucketArn(S3BucketArnT &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeResource & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
DataLakeResource & WithUpdateStatus(UpdateStatusT &&value)
const DataLakeEncryptionConfiguration & GetEncryptionConfiguration() const
DataLakeResource & WithLifecycleConfiguration(LifecycleConfigurationT &&value)
void SetLifecycleConfiguration(LifecycleConfigurationT &&value)
const DataLakeUpdateStatus & GetUpdateStatus() const
const DataLakeReplicationConfiguration & GetReplicationConfiguration() const
const Aws::String & GetDataLakeArn() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_SECURITYLAKE_API DataLakeResource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue