/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about the Amazon Security Lake account subscription.
* Subscribers are notified of new objects for a source as the data is written to
* your Amazon S3 bucket for Security Lake.See Also:
AWS
* API Reference
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
You can choose to notify subscribers of new objects with an Amazon Simple * Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint * provided by the subscriber.
Subscribers can consume data by directly
* querying Lake Formation tables in your Amazon S3 bucket through services like
* Amazon Athena. This subscription type is defined as
* LAKEFORMATION
.
The date and time when the subscriber was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the subscriber was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the subscriber was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the subscriber was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the subscriber was created.
*/ inline SubscriberResource& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the subscriber was created.
*/ inline SubscriberResource& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline const Aws::String& GetResourceShareArn() const{ return m_resourceShareArn; } /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline bool ResourceShareArnHasBeenSet() const { return m_resourceShareArnHasBeenSet; } /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline void SetResourceShareArn(const Aws::String& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = value; } /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline void SetResourceShareArn(Aws::String&& value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn = std::move(value); } /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline void SetResourceShareArn(const char* value) { m_resourceShareArnHasBeenSet = true; m_resourceShareArn.assign(value); } /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline SubscriberResource& WithResourceShareArn(const Aws::String& value) { SetResourceShareArn(value); return *this;} /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline SubscriberResource& WithResourceShareArn(Aws::String&& value) { SetResourceShareArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) which uniquely defines the AWS RAM resource * share. Before accepting the RAM resource share invitation, you can view details * related to the RAM resource share.
This field is available only for Lake * Formation subscribers created after March 8, 2023.
*/ inline SubscriberResource& WithResourceShareArn(const char* value) { SetResourceShareArn(value); return *this;} /** *The name of the resource share.
*/ inline const Aws::String& GetResourceShareName() const{ return m_resourceShareName; } /** *The name of the resource share.
*/ inline bool ResourceShareNameHasBeenSet() const { return m_resourceShareNameHasBeenSet; } /** *The name of the resource share.
*/ inline void SetResourceShareName(const Aws::String& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = value; } /** *The name of the resource share.
*/ inline void SetResourceShareName(Aws::String&& value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName = std::move(value); } /** *The name of the resource share.
*/ inline void SetResourceShareName(const char* value) { m_resourceShareNameHasBeenSet = true; m_resourceShareName.assign(value); } /** *The name of the resource share.
*/ inline SubscriberResource& WithResourceShareName(const Aws::String& value) { SetResourceShareName(value); return *this;} /** *The name of the resource share.
*/ inline SubscriberResource& WithResourceShareName(Aws::String&& value) { SetResourceShareName(std::move(value)); return *this;} /** *The name of the resource share.
*/ inline SubscriberResource& WithResourceShareName(const char* value) { SetResourceShareName(value); return *this;} /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline SubscriberResource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline SubscriberResource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) specifying the role of the subscriber.
*/ inline SubscriberResource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The ARN for the Amazon S3 bucket.
*/ inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; } /** *The ARN for the Amazon S3 bucket.
*/ inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; } /** *The ARN for the Amazon S3 bucket.
*/ inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; } /** *The ARN for the Amazon S3 bucket.
*/ inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); } /** *The ARN for the Amazon S3 bucket.
*/ inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); } /** *The ARN for the Amazon S3 bucket.
*/ inline SubscriberResource& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;} /** *The ARN for the Amazon S3 bucket.
*/ inline SubscriberResource& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;} /** *The ARN for the Amazon S3 bucket.
*/ inline SubscriberResource& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;} /** *Amazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline const Aws::VectorAmazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *Amazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline void SetSources(const Aws::VectorAmazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline void SetSources(Aws::VectorAmazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline SubscriberResource& WithSources(const Aws::VectorAmazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline SubscriberResource& WithSources(Aws::VectorAmazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline SubscriberResource& AddSources(const LogSourceResource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *Amazon Security Lake supports log and event collection for natively supported * Amazon Web Services. For more information, see the Amazon * Security Lake User Guide.
*/ inline SubscriberResource& AddSources(LogSourceResource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline const Aws::String& GetSubscriberArn() const{ return m_subscriberArn; } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline bool SubscriberArnHasBeenSet() const { return m_subscriberArnHasBeenSet; } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberArn(const Aws::String& value) { m_subscriberArnHasBeenSet = true; m_subscriberArn = value; } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberArn(Aws::String&& value) { m_subscriberArnHasBeenSet = true; m_subscriberArn = std::move(value); } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberArn(const char* value) { m_subscriberArnHasBeenSet = true; m_subscriberArn.assign(value); } /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberArn(const Aws::String& value) { SetSubscriberArn(value); return *this;} /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberArn(Aws::String&& value) { SetSubscriberArn(std::move(value)); return *this;} /** *The subscriber ARN of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberArn(const char* value) { SetSubscriberArn(value); return *this;} /** *The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber descriptions for a subscriber account. The description for a
* subscriber includes subscriberName
, accountID
,
* externalID
, and subscriberId
.
The subscriber endpoint to which exception messages are posted.
*/ inline const Aws::String& GetSubscriberEndpoint() const{ return m_subscriberEndpoint; } /** *The subscriber endpoint to which exception messages are posted.
*/ inline bool SubscriberEndpointHasBeenSet() const { return m_subscriberEndpointHasBeenSet; } /** *The subscriber endpoint to which exception messages are posted.
*/ inline void SetSubscriberEndpoint(const Aws::String& value) { m_subscriberEndpointHasBeenSet = true; m_subscriberEndpoint = value; } /** *The subscriber endpoint to which exception messages are posted.
*/ inline void SetSubscriberEndpoint(Aws::String&& value) { m_subscriberEndpointHasBeenSet = true; m_subscriberEndpoint = std::move(value); } /** *The subscriber endpoint to which exception messages are posted.
*/ inline void SetSubscriberEndpoint(const char* value) { m_subscriberEndpointHasBeenSet = true; m_subscriberEndpoint.assign(value); } /** *The subscriber endpoint to which exception messages are posted.
*/ inline SubscriberResource& WithSubscriberEndpoint(const Aws::String& value) { SetSubscriberEndpoint(value); return *this;} /** *The subscriber endpoint to which exception messages are posted.
*/ inline SubscriberResource& WithSubscriberEndpoint(Aws::String&& value) { SetSubscriberEndpoint(std::move(value)); return *this;} /** *The subscriber endpoint to which exception messages are posted.
*/ inline SubscriberResource& WithSubscriberEndpoint(const char* value) { SetSubscriberEndpoint(value); return *this;} /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline const Aws::String& GetSubscriberId() const{ return m_subscriberId; } /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline bool SubscriberIdHasBeenSet() const { return m_subscriberIdHasBeenSet; } /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberId(const Aws::String& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = value; } /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberId(Aws::String&& value) { m_subscriberIdHasBeenSet = true; m_subscriberId = std::move(value); } /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberId(const char* value) { m_subscriberIdHasBeenSet = true; m_subscriberId.assign(value); } /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberId(const Aws::String& value) { SetSubscriberId(value); return *this;} /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberId(Aws::String&& value) { SetSubscriberId(std::move(value)); return *this;} /** *The subscriber ID of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberId(const char* value) { SetSubscriberId(value); return *this;} /** *The AWS identity used to access your data.
*/ inline const AwsIdentity& GetSubscriberIdentity() const{ return m_subscriberIdentity; } /** *The AWS identity used to access your data.
*/ inline bool SubscriberIdentityHasBeenSet() const { return m_subscriberIdentityHasBeenSet; } /** *The AWS identity used to access your data.
*/ inline void SetSubscriberIdentity(const AwsIdentity& value) { m_subscriberIdentityHasBeenSet = true; m_subscriberIdentity = value; } /** *The AWS identity used to access your data.
*/ inline void SetSubscriberIdentity(AwsIdentity&& value) { m_subscriberIdentityHasBeenSet = true; m_subscriberIdentity = std::move(value); } /** *The AWS identity used to access your data.
*/ inline SubscriberResource& WithSubscriberIdentity(const AwsIdentity& value) { SetSubscriberIdentity(value); return *this;} /** *The AWS identity used to access your data.
*/ inline SubscriberResource& WithSubscriberIdentity(AwsIdentity&& value) { SetSubscriberIdentity(std::move(value)); return *this;} /** *The name of your Amazon Security Lake subscriber account.
*/ inline const Aws::String& GetSubscriberName() const{ return m_subscriberName; } /** *The name of your Amazon Security Lake subscriber account.
*/ inline bool SubscriberNameHasBeenSet() const { return m_subscriberNameHasBeenSet; } /** *The name of your Amazon Security Lake subscriber account.
*/ inline void SetSubscriberName(const Aws::String& value) { m_subscriberNameHasBeenSet = true; m_subscriberName = value; } /** *The name of your Amazon Security Lake subscriber account.
*/ inline void SetSubscriberName(Aws::String&& value) { m_subscriberNameHasBeenSet = true; m_subscriberName = std::move(value); } /** *The name of your Amazon Security Lake subscriber account.
*/ inline void SetSubscriberName(const char* value) { m_subscriberNameHasBeenSet = true; m_subscriberName.assign(value); } /** *The name of your Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberName(const Aws::String& value) { SetSubscriberName(value); return *this;} /** *The name of your Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberName(Aws::String&& value) { SetSubscriberName(std::move(value)); return *this;} /** *The name of your Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberName(const char* value) { SetSubscriberName(value); return *this;} /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline const SubscriberStatus& GetSubscriberStatus() const{ return m_subscriberStatus; } /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline bool SubscriberStatusHasBeenSet() const { return m_subscriberStatusHasBeenSet; } /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberStatus(const SubscriberStatus& value) { m_subscriberStatusHasBeenSet = true; m_subscriberStatus = value; } /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline void SetSubscriberStatus(SubscriberStatus&& value) { m_subscriberStatusHasBeenSet = true; m_subscriberStatus = std::move(value); } /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberStatus(const SubscriberStatus& value) { SetSubscriberStatus(value); return *this;} /** *The subscriber status of the Amazon Security Lake subscriber account.
*/ inline SubscriberResource& WithSubscriberStatus(SubscriberStatus&& value) { SetSubscriberStatus(std::move(value)); return *this;} /** *The date and time when the subscriber was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The date and time when the subscriber was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The date and time when the subscriber was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The date and time when the subscriber was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The date and time when the subscriber was last updated.
*/ inline SubscriberResource& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The date and time when the subscriber was last updated.
*/ inline SubscriberResource& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::Vector