AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration() = default;
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 template<typename ConfigurationsT = Aws::Vector<AwsS3BucketNotificationConfigurationDetail>>
49 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations = std::forward<ConfigurationsT>(value); }
50 template<typename ConfigurationsT = Aws::Vector<AwsS3BucketNotificationConfigurationDetail>>
51 AwsS3BucketNotificationConfiguration& WithConfigurations(ConfigurationsT&& value) { SetConfigurations(std::forward<ConfigurationsT>(value)); return *this;}
52 template<typename ConfigurationsT = AwsS3BucketNotificationConfigurationDetail>
53 AwsS3BucketNotificationConfiguration& AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet = true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value)); return *this; }
55 private:
56
58 bool m_configurationsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityHub
63} // namespace Aws
AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration()=default
AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketNotificationConfiguration & WithConfigurations(ConfigurationsT &&value)
const Aws::Vector< AwsS3BucketNotificationConfigurationDetail > & GetConfigurations() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3BucketNotificationConfiguration & AddConfigurations(ConfigurationsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue