AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsElbLoadBalancerAccessLog.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetEmitInterval() const { return m_emitInterval; }
47 inline bool EmitIntervalHasBeenSet() const { return m_emitIntervalHasBeenSet; }
48 inline void SetEmitInterval(int value) { m_emitIntervalHasBeenSet = true; m_emitInterval = value; }
49 inline AwsElbLoadBalancerAccessLog& WithEmitInterval(int value) { SetEmitInterval(value); return *this;}
51
53
56 inline bool GetEnabled() const { return m_enabled; }
57 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
58 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
59 inline AwsElbLoadBalancerAccessLog& WithEnabled(bool value) { SetEnabled(value); return *this;}
61
63
66 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
67 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
68 template<typename S3BucketNameT = Aws::String>
69 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
70 template<typename S3BucketNameT = Aws::String>
71 AwsElbLoadBalancerAccessLog& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
73
75
79 inline const Aws::String& GetS3BucketPrefix() const { return m_s3BucketPrefix; }
80 inline bool S3BucketPrefixHasBeenSet() const { return m_s3BucketPrefixHasBeenSet; }
81 template<typename S3BucketPrefixT = Aws::String>
82 void SetS3BucketPrefix(S3BucketPrefixT&& value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix = std::forward<S3BucketPrefixT>(value); }
83 template<typename S3BucketPrefixT = Aws::String>
84 AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(S3BucketPrefixT&& value) { SetS3BucketPrefix(std::forward<S3BucketPrefixT>(value)); return *this;}
86 private:
87
88 int m_emitInterval{0};
89 bool m_emitIntervalHasBeenSet = false;
90
91 bool m_enabled{false};
92 bool m_enabledHasBeenSet = false;
93
94 Aws::String m_s3BucketName;
95 bool m_s3BucketNameHasBeenSet = false;
96
97 Aws::String m_s3BucketPrefix;
98 bool m_s3BucketPrefixHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SecurityHub
103} // namespace Aws
AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog()=default
AwsElbLoadBalancerAccessLog & WithS3BucketName(S3BucketNameT &&value)
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(S3BucketPrefixT &&value)
AwsElbLoadBalancerAccessLog & WithEmitInterval(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue