AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsS3BucketNotificationConfigurationDetail.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetEvents() const{ return m_events; }
48 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
49 inline void SetEvents(const Aws::Vector<Aws::String>& value) { m_eventsHasBeenSet = true; m_events = value; }
50 inline void SetEvents(Aws::Vector<Aws::String>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
53 inline AwsS3BucketNotificationConfigurationDetail& AddEvents(const Aws::String& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
54 inline AwsS3BucketNotificationConfigurationDetail& AddEvents(Aws::String&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
55 inline AwsS3BucketNotificationConfigurationDetail& AddEvents(const char* value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
57
59
62 inline const AwsS3BucketNotificationConfigurationFilter& GetFilter() const{ return m_filter; }
63 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
64 inline void SetFilter(const AwsS3BucketNotificationConfigurationFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
65 inline void SetFilter(AwsS3BucketNotificationConfigurationFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
69
71
75 inline const Aws::String& GetDestination() const{ return m_destination; }
76 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
77 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
78 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
79 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
81 inline AwsS3BucketNotificationConfigurationDetail& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
82 inline AwsS3BucketNotificationConfigurationDetail& WithDestination(const char* value) { SetDestination(value); return *this;}
84
86
93 inline const Aws::String& GetType() const{ return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
96 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
97 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
98 inline AwsS3BucketNotificationConfigurationDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
99 inline AwsS3BucketNotificationConfigurationDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
100 inline AwsS3BucketNotificationConfigurationDetail& WithType(const char* value) { SetType(value); return *this;}
102 private:
103
105 bool m_eventsHasBeenSet = false;
106
108 bool m_filterHasBeenSet = false;
109
110 Aws::String m_destination;
111 bool m_destinationHasBeenSet = false;
112
113 Aws::String m_type;
114 bool m_typeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SecurityHub
119} // namespace Aws
AwsS3BucketNotificationConfigurationDetail & AddEvents(const char *value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfigurationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketNotificationConfigurationDetail & WithFilter(const AwsS3BucketNotificationConfigurationFilter &value)
AwsS3BucketNotificationConfigurationDetail & WithEvents(const Aws::Vector< Aws::String > &value)
AwsS3BucketNotificationConfigurationDetail & WithDestination(const char *value)
AwsS3BucketNotificationConfigurationDetail & WithFilter(AwsS3BucketNotificationConfigurationFilter &&value)
AwsS3BucketNotificationConfigurationDetail & WithEvents(Aws::Vector< Aws::String > &&value)
AwsS3BucketNotificationConfigurationDetail & AddEvents(Aws::String &&value)
AwsS3BucketNotificationConfigurationDetail & WithDestination(const Aws::String &value)
AwsS3BucketNotificationConfigurationDetail & WithType(Aws::String &&value)
AwsS3BucketNotificationConfigurationDetail & WithType(const Aws::String &value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfigurationDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3BucketNotificationConfigurationDetail & AddEvents(const Aws::String &value)
AwsS3BucketNotificationConfigurationDetail & WithDestination(Aws::String &&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