7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securitylake/SecurityLake_EXPORTS.h>
11#include <aws/securitylake/model/AccessType.h>
12#include <aws/securitylake/model/AwsIdentity.h>
13#include <aws/securitylake/model/LogSourceResource.h>
14#include <aws/securitylake/model/SubscriberStatus.h>
25namespace SecurityLake {
53 template <
typename AccessTypesT = Aws::Vector<AccessType>>
55 m_accessTypesHasBeenSet =
true;
56 m_accessTypes = std::forward<AccessTypesT>(value);
58 template <
typename AccessTypesT = Aws::Vector<AccessType>>
64 m_accessTypesHasBeenSet =
true;
65 m_accessTypes.push_back(value);
76 template <
typename CreatedAtT = Aws::Utils::DateTime>
78 m_createdAtHasBeenSet =
true;
79 m_createdAt = std::forward<CreatedAtT>(value);
81 template <
typename CreatedAtT = Aws::Utils::DateTime>
97 template <
typename ResourceShareArnT = Aws::String>
99 m_resourceShareArnHasBeenSet =
true;
100 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
102 template <
typename ResourceShareArnT = Aws::String>
115 template <
typename ResourceShareNameT = Aws::String>
117 m_resourceShareNameHasBeenSet =
true;
118 m_resourceShareName = std::forward<ResourceShareNameT>(value);
120 template <
typename ResourceShareNameT = Aws::String>
133 template <
typename RoleArnT = Aws::String>
135 m_roleArnHasBeenSet =
true;
136 m_roleArn = std::forward<RoleArnT>(value);
138 template <
typename RoleArnT = Aws::String>
151 template <
typename S3BucketArnT = Aws::String>
153 m_s3BucketArnHasBeenSet =
true;
154 m_s3BucketArn = std::forward<S3BucketArnT>(value);
156 template <
typename S3BucketArnT = Aws::String>
172 template <
typename SourcesT = Aws::Vector<LogSourceResource>>
174 m_sourcesHasBeenSet =
true;
175 m_sources = std::forward<SourcesT>(value);
177 template <
typename SourcesT = Aws::Vector<LogSourceResource>>
182 template <
typename SourcesT = LogSourceResource>
184 m_sourcesHasBeenSet =
true;
185 m_sources.emplace_back(std::forward<SourcesT>(value));
196 template <
typename SubscriberArnT = Aws::String>
198 m_subscriberArnHasBeenSet =
true;
199 m_subscriberArn = std::forward<SubscriberArnT>(value);
201 template <
typename SubscriberArnT = Aws::String>
216 template <
typename SubscriberDescriptionT = Aws::String>
218 m_subscriberDescriptionHasBeenSet =
true;
219 m_subscriberDescription = std::forward<SubscriberDescriptionT>(value);
221 template <
typename SubscriberDescriptionT = Aws::String>
234 template <
typename SubscriberEndpo
intT = Aws::String>
236 m_subscriberEndpointHasBeenSet =
true;
237 m_subscriberEndpoint = std::forward<SubscriberEndpointT>(value);
239 template <
typename SubscriberEndpo
intT = Aws::String>
252 template <
typename SubscriberIdT = Aws::String>
254 m_subscriberIdHasBeenSet =
true;
255 m_subscriberId = std::forward<SubscriberIdT>(value);
257 template <
typename SubscriberIdT = Aws::String>
270 template <
typename SubscriberIdentityT = AwsIdentity>
272 m_subscriberIdentityHasBeenSet =
true;
273 m_subscriberIdentity = std::forward<SubscriberIdentityT>(value);
275 template <
typename SubscriberIdentityT = AwsIdentity>
288 template <
typename SubscriberNameT = Aws::String>
290 m_subscriberNameHasBeenSet =
true;
291 m_subscriberName = std::forward<SubscriberNameT>(value);
293 template <
typename SubscriberNameT = Aws::String>
307 m_subscriberStatusHasBeenSet =
true;
308 m_subscriberStatus = value;
322 template <
typename UpdatedAtT = Aws::Utils::DateTime>
324 m_updatedAtHasBeenSet =
true;
325 m_updatedAt = std::forward<UpdatedAtT>(value);
327 template <
typename UpdatedAtT = Aws::Utils::DateTime>
356 AwsIdentity m_subscriberIdentity;
363 bool m_accessTypesHasBeenSet =
false;
364 bool m_createdAtHasBeenSet =
false;
365 bool m_resourceShareArnHasBeenSet =
false;
366 bool m_resourceShareNameHasBeenSet =
false;
367 bool m_roleArnHasBeenSet =
false;
368 bool m_s3BucketArnHasBeenSet =
false;
369 bool m_sourcesHasBeenSet =
false;
370 bool m_subscriberArnHasBeenSet =
false;
371 bool m_subscriberDescriptionHasBeenSet =
false;
372 bool m_subscriberEndpointHasBeenSet =
false;
373 bool m_subscriberIdHasBeenSet =
false;
374 bool m_subscriberIdentityHasBeenSet =
false;
375 bool m_subscriberNameHasBeenSet =
false;
376 bool m_subscriberStatusHasBeenSet =
false;
377 bool m_updatedAtHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ResourceShareNameHasBeenSet() const
bool RoleArnHasBeenSet() const
bool SubscriberIdentityHasBeenSet() const
const Aws::Vector< AccessType > & GetAccessTypes() const
bool SubscriberDescriptionHasBeenSet() const
SubscriberResource & AddSources(SourcesT &&value)
void SetS3BucketArn(S3BucketArnT &&value)
const Aws::String & GetSubscriberArn() const
const Aws::String & GetResourceShareName() const
SubscriberResource & WithRoleArn(RoleArnT &&value)
void SetSubscriberId(SubscriberIdT &&value)
AWS_SECURITYLAKE_API SubscriberResource & operator=(Aws::Utils::Json::JsonView jsonValue)
SubscriberResource & WithSubscriberName(SubscriberNameT &&value)
bool SourcesHasBeenSet() const
bool SubscriberArnHasBeenSet() const
void SetSubscriberIdentity(SubscriberIdentityT &&value)
void SetCreatedAt(CreatedAtT &&value)
SubscriberStatus GetSubscriberStatus() const
bool ResourceShareArnHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool S3BucketArnHasBeenSet() const
const Aws::Vector< LogSourceResource > & GetSources() const
void SetSubscriberDescription(SubscriberDescriptionT &&value)
bool CreatedAtHasBeenSet() const
bool AccessTypesHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const AwsIdentity & GetSubscriberIdentity() const
SubscriberResource & WithSources(SourcesT &&value)
SubscriberResource & WithSubscriberIdentity(SubscriberIdentityT &&value)
bool SubscriberEndpointHasBeenSet() const
void SetSubscriberArn(SubscriberArnT &&value)
bool SubscriberStatusHasBeenSet() const
const Aws::String & GetS3BucketArn() const
const Aws::String & GetSubscriberDescription() const
AWS_SECURITYLAKE_API SubscriberResource()=default
SubscriberResource & WithSubscriberDescription(SubscriberDescriptionT &&value)
const Aws::String & GetSubscriberName() const
SubscriberResource & WithSubscriberId(SubscriberIdT &&value)
void SetSubscriberEndpoint(SubscriberEndpointT &&value)
SubscriberResource & WithSubscriberStatus(SubscriberStatus value)
SubscriberResource & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetResourceShareArn() const
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscriberResource & WithSubscriberArn(SubscriberArnT &&value)
void SetSubscriberStatus(SubscriberStatus value)
const Aws::String & GetRoleArn() const
SubscriberResource & WithS3BucketArn(S3BucketArnT &&value)
bool SubscriberNameHasBeenSet() const
SubscriberResource & WithResourceShareName(ResourceShareNameT &&value)
const Aws::String & GetSubscriberEndpoint() const
AWS_SECURITYLAKE_API SubscriberResource(Aws::Utils::Json::JsonView jsonValue)
SubscriberResource & WithCreatedAt(CreatedAtT &&value)
void SetResourceShareArn(ResourceShareArnT &&value)
SubscriberResource & WithResourceShareArn(ResourceShareArnT &&value)
void SetSubscriberName(SubscriberNameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
SubscriberResource & WithAccessTypes(AccessTypesT &&value)
bool SubscriberIdHasBeenSet() const
void SetAccessTypes(AccessTypesT &&value)
void SetSources(SourcesT &&value)
SubscriberResource & WithSubscriberEndpoint(SubscriberEndpointT &&value)
const Aws::String & GetSubscriberId() const
void SetResourceShareName(ResourceShareNameT &&value)
SubscriberResource & AddAccessTypes(AccessType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue