AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsS3BucketNotificationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsS3BucketNotificationConfigurationDetail.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API AwsS3BucketNotificationConfiguration() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<AwsS3BucketNotificationConfigurationDetail>& GetConfigurations() const { return m_configurations; }
41 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
42 template <typename ConfigurationsT = Aws::Vector<AwsS3BucketNotificationConfigurationDetail>>
43 void SetConfigurations(ConfigurationsT&& value) {
44 m_configurationsHasBeenSet = true;
45 m_configurations = std::forward<ConfigurationsT>(value);
46 }
47 template <typename ConfigurationsT = Aws::Vector<AwsS3BucketNotificationConfigurationDetail>>
49 SetConfigurations(std::forward<ConfigurationsT>(value));
50 return *this;
51 }
52 template <typename ConfigurationsT = AwsS3BucketNotificationConfigurationDetail>
54 m_configurationsHasBeenSet = true;
55 m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
56 return *this;
57 }
59 private:
61 bool m_configurationsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace SecurityHub
66} // 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