7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/AwsS3BucketNotificationConfigurationFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename EventsT = Aws::Vector<Aws::String>>
50 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
51 template<
typename EventsT = Aws::Vector<Aws::String>>
53 template<
typename EventsT = Aws::String>
63 template<
typename FilterT = AwsS3BucketNotificationConfigurationFilter>
64 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
65 template<
typename FilterT = AwsS3BucketNotificationConfigurationFilter>
76 template<
typename DestinationT = Aws::String>
77 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
78 template<
typename DestinationT = Aws::String>
92 template<
typename TypeT = Aws::String>
93 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
94 template<
typename TypeT = Aws::String>
100 bool m_eventsHasBeenSet =
false;
103 bool m_filterHasBeenSet =
false;
106 bool m_destinationHasBeenSet =
false;
109 bool m_typeHasBeenSet =
false;
const Aws::String & GetDestination() const
void SetDestination(DestinationT &&value)
AwsS3BucketNotificationConfigurationDetail & AddEvents(EventsT &&value)
AwsS3BucketNotificationConfigurationDetail & WithDestination(DestinationT &&value)
AwsS3BucketNotificationConfigurationDetail & WithFilter(FilterT &&value)
bool EventsHasBeenSet() const
bool TypeHasBeenSet() const
AwsS3BucketNotificationConfigurationDetail & WithType(TypeT &&value)
void SetType(TypeT &&value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetEvents() const
const AwsS3BucketNotificationConfigurationFilter & GetFilter() const
bool DestinationHasBeenSet() const
bool FilterHasBeenSet() const
void SetEvents(EventsT &&value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetType() const
void SetFilter(FilterT &&value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfigurationDetail()=default
AwsS3BucketNotificationConfigurationDetail & WithEvents(EventsT &&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