AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsS3BucketLoggingConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AwsS3BucketLoggingConfiguration() = default;
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDestinationBucketName() const { return m_destinationBucketName; }
39 inline bool DestinationBucketNameHasBeenSet() const { return m_destinationBucketNameHasBeenSet; }
40 template <typename DestinationBucketNameT = Aws::String>
41 void SetDestinationBucketName(DestinationBucketNameT&& value) {
42 m_destinationBucketNameHasBeenSet = true;
43 m_destinationBucketName = std::forward<DestinationBucketNameT>(value);
44 }
45 template <typename DestinationBucketNameT = Aws::String>
47 SetDestinationBucketName(std::forward<DestinationBucketNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetLogFilePrefix() const { return m_logFilePrefix; }
57 inline bool LogFilePrefixHasBeenSet() const { return m_logFilePrefixHasBeenSet; }
58 template <typename LogFilePrefixT = Aws::String>
59 void SetLogFilePrefix(LogFilePrefixT&& value) {
60 m_logFilePrefixHasBeenSet = true;
61 m_logFilePrefix = std::forward<LogFilePrefixT>(value);
62 }
63 template <typename LogFilePrefixT = Aws::String>
65 SetLogFilePrefix(std::forward<LogFilePrefixT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_destinationBucketName;
71
72 Aws::String m_logFilePrefix;
73 bool m_destinationBucketNameHasBeenSet = false;
74 bool m_logFilePrefixHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AWS_SECURITYHUB_API AwsS3BucketLoggingConfiguration()=default
AwsS3BucketLoggingConfiguration & WithDestinationBucketName(DestinationBucketNameT &&value)
AWS_SECURITYHUB_API AwsS3BucketLoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsS3BucketLoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketLoggingConfiguration & WithLogFilePrefix(LogFilePrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue