7#include <aws/securitylake/SecurityLake_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/securitylake/model/AwsIdentity.h>
12#include <aws/securitylake/model/SubscriberStatus.h>
13#include <aws/securitylake/model/AccessType.h>
14#include <aws/securitylake/model/LogSourceResource.h>
90 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
104 inline void SetResourceShareName(
const char* value) { m_resourceShareNameHasBeenSet =
true; m_resourceShareName.assign(value); }
118 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
132 inline void SetS3BucketArn(
const char* value) { m_s3BucketArnHasBeenSet =
true; m_s3BucketArn.assign(value); }
163 inline void SetSubscriberArn(
const char* value) { m_subscriberArnHasBeenSet =
true; m_subscriberArn.assign(value); }
179 inline void SetSubscriberDescription(
const char* value) { m_subscriberDescriptionHasBeenSet =
true; m_subscriberDescription.assign(value); }
193 inline void SetSubscriberEndpoint(
const char* value) { m_subscriberEndpointHasBeenSet =
true; m_subscriberEndpoint.assign(value); }
207 inline void SetSubscriberId(
const char* value) { m_subscriberIdHasBeenSet =
true; m_subscriberId.assign(value); }
233 inline void SetSubscriberName(
const char* value) { m_subscriberNameHasBeenSet =
true; m_subscriberName.assign(value); }
265 bool m_accessTypesHasBeenSet =
false;
268 bool m_createdAtHasBeenSet =
false;
271 bool m_resourceShareArnHasBeenSet =
false;
274 bool m_resourceShareNameHasBeenSet =
false;
277 bool m_roleArnHasBeenSet =
false;
280 bool m_s3BucketArnHasBeenSet =
false;
283 bool m_sourcesHasBeenSet =
false;
286 bool m_subscriberArnHasBeenSet =
false;
289 bool m_subscriberDescriptionHasBeenSet =
false;
292 bool m_subscriberEndpointHasBeenSet =
false;
295 bool m_subscriberIdHasBeenSet =
false;
298 bool m_subscriberIdentityHasBeenSet =
false;
301 bool m_subscriberNameHasBeenSet =
false;
304 bool m_subscriberStatusHasBeenSet =
false;
307 bool m_updatedAtHasBeenSet =
false;
SubscriberResource & WithResourceShareArn(const Aws::String &value)
SubscriberResource & WithRoleArn(const Aws::String &value)
SubscriberResource & WithSubscriberStatus(const SubscriberStatus &value)
SubscriberResource & WithS3BucketArn(const Aws::String &value)
SubscriberResource & AddAccessTypes(const AccessType &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ResourceShareNameHasBeenSet() const
bool RoleArnHasBeenSet() const
bool SubscriberIdentityHasBeenSet() const
void SetSources(const Aws::Vector< LogSourceResource > &value)
const Aws::Vector< AccessType > & GetAccessTypes() const
bool SubscriberDescriptionHasBeenSet() const
SubscriberResource & WithS3BucketArn(const char *value)
void SetSubscriberId(const Aws::String &value)
void SetSubscriberIdentity(const AwsIdentity &value)
SubscriberResource & WithSubscriberName(Aws::String &&value)
const Aws::String & GetSubscriberArn() const
void SetSubscriberArn(const Aws::String &value)
const Aws::String & GetResourceShareName() const
SubscriberResource & WithRoleArn(Aws::String &&value)
AWS_SECURITYLAKE_API SubscriberResource()
SubscriberResource & WithSubscriberDescription(Aws::String &&value)
SubscriberResource & AddSources(LogSourceResource &&value)
AWS_SECURITYLAKE_API SubscriberResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubscriberName(const Aws::String &value)
bool SourcesHasBeenSet() const
bool SubscriberArnHasBeenSet() const
void SetSubscriberStatus(const SubscriberStatus &value)
void SetSubscriberId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool ResourceShareArnHasBeenSet() const
bool UpdatedAtHasBeenSet() const
SubscriberResource & WithResourceShareName(Aws::String &&value)
void SetResourceShareName(Aws::String &&value)
bool S3BucketArnHasBeenSet() const
const Aws::Vector< LogSourceResource > & GetSources() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
SubscriberResource & WithSubscriberDescription(const Aws::String &value)
SubscriberResource & WithAccessTypes(const Aws::Vector< AccessType > &value)
bool CreatedAtHasBeenSet() const
SubscriberResource & WithSubscriberEndpoint(const char *value)
SubscriberResource & WithSources(const Aws::Vector< LogSourceResource > &value)
SubscriberResource & WithSubscriberEndpoint(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetS3BucketArn(const Aws::String &value)
bool AccessTypesHasBeenSet() const
void SetSubscriberDescription(Aws::String &&value)
const AwsIdentity & GetSubscriberIdentity() const
SubscriberResource & WithSubscriberEndpoint(const Aws::String &value)
bool SubscriberEndpointHasBeenSet() const
bool SubscriberStatusHasBeenSet() const
void SetSubscriberStatus(SubscriberStatus &&value)
SubscriberResource & WithSubscriberIdentity(const AwsIdentity &value)
const Aws::String & GetS3BucketArn() const
const Aws::String & GetSubscriberDescription() const
void SetResourceShareArn(const char *value)
void SetS3BucketArn(Aws::String &&value)
void SetSubscriberEndpoint(Aws::String &&value)
void SetResourceShareArn(Aws::String &&value)
void SetRoleArn(const char *value)
const Aws::String & GetSubscriberName() const
void SetRoleArn(const Aws::String &value)
void SetSubscriberDescription(const char *value)
SubscriberResource & WithResourceShareName(const char *value)
void SetSubscriberName(Aws::String &&value)
SubscriberResource & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetAccessTypes(const Aws::Vector< AccessType > &value)
SubscriberResource & WithSubscriberName(const char *value)
void SetSubscriberArn(const char *value)
const SubscriberStatus & GetSubscriberStatus() const
SubscriberResource & WithSubscriberIdentity(AwsIdentity &&value)
SubscriberResource & WithSubscriberDescription(const char *value)
void SetSubscriberDescription(const Aws::String &value)
const Aws::String & GetResourceShareArn() const
void SetAccessTypes(Aws::Vector< AccessType > &&value)
AWS_SECURITYLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
SubscriberResource & AddSources(const LogSourceResource &value)
SubscriberResource & WithSources(Aws::Vector< LogSourceResource > &&value)
void SetSources(Aws::Vector< LogSourceResource > &&value)
SubscriberResource & WithResourceShareArn(const char *value)
SubscriberResource & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetRoleArn() const
SubscriberResource & WithS3BucketArn(Aws::String &&value)
SubscriberResource & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetSubscriberEndpoint(const Aws::String &value)
void SetSubscriberArn(Aws::String &&value)
SubscriberResource & WithSubscriberArn(Aws::String &&value)
bool SubscriberNameHasBeenSet() const
SubscriberResource & WithSubscriberName(const Aws::String &value)
void SetSubscriberIdentity(AwsIdentity &&value)
const Aws::String & GetSubscriberEndpoint() const
SubscriberResource & WithAccessTypes(Aws::Vector< AccessType > &&value)
void SetResourceShareArn(const Aws::String &value)
AWS_SECURITYLAKE_API SubscriberResource(Aws::Utils::Json::JsonView jsonValue)
void SetSubscriberName(const char *value)
SubscriberResource & WithRoleArn(const char *value)
SubscriberResource & WithSubscriberId(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
SubscriberResource & WithCreatedAt(Aws::Utils::DateTime &&value)
SubscriberResource & WithResourceShareArn(Aws::String &&value)
SubscriberResource & WithSubscriberArn(const char *value)
SubscriberResource & WithResourceShareName(const Aws::String &value)
SubscriberResource & WithSubscriberId(Aws::String &&value)
void SetS3BucketArn(const char *value)
SubscriberResource & WithSubscriberId(const Aws::String &value)
void SetSubscriberId(Aws::String &&value)
bool SubscriberIdHasBeenSet() const
void SetResourceShareName(const char *value)
SubscriberResource & AddAccessTypes(AccessType &&value)
SubscriberResource & WithSubscriberArn(const Aws::String &value)
SubscriberResource & WithSubscriberStatus(SubscriberStatus &&value)
const Aws::String & GetSubscriberId() const
void SetResourceShareName(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetSubscriberEndpoint(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&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