AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsS3BucketNotificationConfiguration.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/AwsS3BucketNotificationConfigurationDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AwsS3BucketNotificationConfigurationDetail>& GetConfigurations() const{ return m_configurations; }
47 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
48 inline void SetConfigurations(const Aws::Vector<AwsS3BucketNotificationConfigurationDetail>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
49 inline void SetConfigurations(Aws::Vector<AwsS3BucketNotificationConfigurationDetail>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
52 inline AwsS3BucketNotificationConfiguration& AddConfigurations(const AwsS3BucketNotificationConfigurationDetail& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
53 inline AwsS3BucketNotificationConfiguration& AddConfigurations(AwsS3BucketNotificationConfigurationDetail&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_configurationsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityHub
63} // namespace Aws
void SetConfigurations(Aws::Vector< AwsS3BucketNotificationConfigurationDetail > &&value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketNotificationConfiguration & AddConfigurations(AwsS3BucketNotificationConfigurationDetail &&value)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfigurations(const Aws::Vector< AwsS3BucketNotificationConfigurationDetail > &value)
AwsS3BucketNotificationConfiguration & WithConfigurations(Aws::Vector< AwsS3BucketNotificationConfigurationDetail > &&value)
const Aws::Vector< AwsS3BucketNotificationConfigurationDetail > & GetConfigurations() const
AwsS3BucketNotificationConfiguration & WithConfigurations(const Aws::Vector< AwsS3BucketNotificationConfigurationDetail > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3BucketNotificationConfiguration & AddConfigurations(const AwsS3BucketNotificationConfigurationDetail &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue