AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const DataLakeStatus& GetCreateStatus() const{ return m_createStatus; }
52 inline bool CreateStatusHasBeenSet() const { return m_createStatusHasBeenSet; }
53 inline void SetCreateStatus(const DataLakeStatus& value) { m_createStatusHasBeenSet = true; m_createStatus = value; }
54 inline void SetCreateStatus(DataLakeStatus&& value) { m_createStatusHasBeenSet = true; m_createStatus = std::move(value); }
55 inline DataLakeResource& WithCreateStatus(const DataLakeStatus& value) { SetCreateStatus(value); return *this;}
56 inline DataLakeResource& WithCreateStatus(DataLakeStatus&& value) { SetCreateStatus(std::move(value)); return *this;}
58
60
66 inline const Aws::String& GetDataLakeArn() const{ return m_dataLakeArn; }
67 inline bool DataLakeArnHasBeenSet() const { return m_dataLakeArnHasBeenSet; }
68 inline void SetDataLakeArn(const Aws::String& value) { m_dataLakeArnHasBeenSet = true; m_dataLakeArn = value; }
69 inline void SetDataLakeArn(Aws::String&& value) { m_dataLakeArnHasBeenSet = true; m_dataLakeArn = std::move(value); }
70 inline void SetDataLakeArn(const char* value) { m_dataLakeArnHasBeenSet = true; m_dataLakeArn.assign(value); }
71 inline DataLakeResource& WithDataLakeArn(const Aws::String& value) { SetDataLakeArn(value); return *this;}
72 inline DataLakeResource& WithDataLakeArn(Aws::String&& value) { SetDataLakeArn(std::move(value)); return *this;}
73 inline DataLakeResource& WithDataLakeArn(const char* value) { SetDataLakeArn(value); return *this;}
75
77
80 inline const DataLakeEncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
81 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
82 inline void SetEncryptionConfiguration(const DataLakeEncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
83 inline void SetEncryptionConfiguration(DataLakeEncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
87
89
92 inline const DataLakeLifecycleConfiguration& GetLifecycleConfiguration() const{ return m_lifecycleConfiguration; }
93 inline bool LifecycleConfigurationHasBeenSet() const { return m_lifecycleConfigurationHasBeenSet; }
94 inline void SetLifecycleConfiguration(const DataLakeLifecycleConfiguration& value) { m_lifecycleConfigurationHasBeenSet = true; m_lifecycleConfiguration = value; }
95 inline void SetLifecycleConfiguration(DataLakeLifecycleConfiguration&& value) { m_lifecycleConfigurationHasBeenSet = true; m_lifecycleConfiguration = std::move(value); }
99
101
104 inline const Aws::String& GetRegion() const{ return m_region; }
105 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
106 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
107 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
108 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
109 inline DataLakeResource& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
110 inline DataLakeResource& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
111 inline DataLakeResource& WithRegion(const char* value) { SetRegion(value); return *this;}
113
115
118 inline const DataLakeReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; }
119 inline bool ReplicationConfigurationHasBeenSet() const { return m_replicationConfigurationHasBeenSet; }
120 inline void SetReplicationConfiguration(const DataLakeReplicationConfiguration& value) { m_replicationConfigurationHasBeenSet = true; m_replicationConfiguration = value; }
121 inline void SetReplicationConfiguration(DataLakeReplicationConfiguration&& value) { m_replicationConfigurationHasBeenSet = true; m_replicationConfiguration = std::move(value); }
125
127
130 inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; }
131 inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; }
132 inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; }
133 inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); }
134 inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); }
135 inline DataLakeResource& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;}
136 inline DataLakeResource& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;}
137 inline DataLakeResource& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;}
139
141
145 inline const DataLakeUpdateStatus& GetUpdateStatus() const{ return m_updateStatus; }
146 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
147 inline void SetUpdateStatus(const DataLakeUpdateStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
148 inline void SetUpdateStatus(DataLakeUpdateStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
149 inline DataLakeResource& WithUpdateStatus(const DataLakeUpdateStatus& value) { SetUpdateStatus(value); return *this;}
150 inline DataLakeResource& WithUpdateStatus(DataLakeUpdateStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
152 private:
153
154 DataLakeStatus m_createStatus;
155 bool m_createStatusHasBeenSet = false;
156
157 Aws::String m_dataLakeArn;
158 bool m_dataLakeArnHasBeenSet = false;
159
160 DataLakeEncryptionConfiguration m_encryptionConfiguration;
161 bool m_encryptionConfigurationHasBeenSet = false;
162
163 DataLakeLifecycleConfiguration m_lifecycleConfiguration;
164 bool m_lifecycleConfigurationHasBeenSet = false;
165
166 Aws::String m_region;
167 bool m_regionHasBeenSet = false;
168
169 DataLakeReplicationConfiguration m_replicationConfiguration;
170 bool m_replicationConfigurationHasBeenSet = false;
171
172 Aws::String m_s3BucketArn;
173 bool m_s3BucketArnHasBeenSet = false;
174
175 DataLakeUpdateStatus m_updateStatus;
176 bool m_updateStatusHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace SecurityLake
181} // namespace Aws
void SetReplicationConfiguration(const DataLakeReplicationConfiguration &value)
DataLakeResource & WithLifecycleConfiguration(DataLakeLifecycleConfiguration &&value)
DataLakeResource & WithDataLakeArn(const Aws::String &value)
void SetEncryptionConfiguration(const DataLakeEncryptionConfiguration &value)
void SetLifecycleConfiguration(const DataLakeLifecycleConfiguration &value)
void SetEncryptionConfiguration(DataLakeEncryptionConfiguration &&value)
DataLakeResource & WithReplicationConfiguration(DataLakeReplicationConfiguration &&value)
DataLakeResource & WithRegion(Aws::String &&value)
DataLakeResource & WithLifecycleConfiguration(const DataLakeLifecycleConfiguration &value)
AWS_SECURITYLAKE_API DataLakeResource(Aws::Utils::Json::JsonView jsonValue)
void SetLifecycleConfiguration(DataLakeLifecycleConfiguration &&value)
AWS_SECURITYLAKE_API DataLakeResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataLakeLifecycleConfiguration & GetLifecycleConfiguration() const
DataLakeResource & WithCreateStatus(const DataLakeStatus &value)
DataLakeResource & WithS3BucketArn(const char *value)
void SetReplicationConfiguration(DataLakeReplicationConfiguration &&value)
void SetCreateStatus(DataLakeStatus &&value)
DataLakeResource & WithDataLakeArn(const char *value)
DataLakeResource & WithDataLakeArn(Aws::String &&value)
DataLakeResource & WithS3BucketArn(Aws::String &&value)
DataLakeResource & WithRegion(const char *value)
const DataLakeStatus & GetCreateStatus() const
DataLakeResource & WithUpdateStatus(DataLakeUpdateStatus &&value)
DataLakeResource & WithRegion(const Aws::String &value)
DataLakeResource & WithReplicationConfiguration(const DataLakeReplicationConfiguration &value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateStatus(DataLakeUpdateStatus &&value)
void SetCreateStatus(const DataLakeStatus &value)
void SetDataLakeArn(const Aws::String &value)
DataLakeResource & WithS3BucketArn(const Aws::String &value)
DataLakeResource & WithEncryptionConfiguration(const DataLakeEncryptionConfiguration &value)
void SetRegion(const Aws::String &value)
DataLakeResource & WithCreateStatus(DataLakeStatus &&value)
const DataLakeEncryptionConfiguration & GetEncryptionConfiguration() const
void SetS3BucketArn(const Aws::String &value)
void SetUpdateStatus(const DataLakeUpdateStatus &value)
DataLakeResource & WithEncryptionConfiguration(DataLakeEncryptionConfiguration &&value)
const DataLakeUpdateStatus & GetUpdateStatus() const
const DataLakeReplicationConfiguration & GetReplicationConfiguration() const
const Aws::String & GetDataLakeArn() const
DataLakeResource & WithUpdateStatus(const DataLakeUpdateStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue