AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
69 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
70 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
71 inline AwsElbLoadBalancerAccessLog& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
72 inline AwsElbLoadBalancerAccessLog& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
73 inline AwsElbLoadBalancerAccessLog& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
75
77
81 inline const Aws::String& GetS3BucketPrefix() const{ return m_s3BucketPrefix; }
82 inline bool S3BucketPrefixHasBeenSet() const { return m_s3BucketPrefixHasBeenSet; }
83 inline void SetS3BucketPrefix(const Aws::String& value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix = value; }
84 inline void SetS3BucketPrefix(Aws::String&& value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix = std::move(value); }
85 inline void SetS3BucketPrefix(const char* value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix.assign(value); }
86 inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(const Aws::String& value) { SetS3BucketPrefix(value); return *this;}
87 inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(Aws::String&& value) { SetS3BucketPrefix(std::move(value)); return *this;}
88 inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(const char* value) { SetS3BucketPrefix(value); return *this;}
90 private:
91
92 int m_emitInterval;
93 bool m_emitIntervalHasBeenSet = false;
94
95 bool m_enabled;
96 bool m_enabledHasBeenSet = false;
97
98 Aws::String m_s3BucketName;
99 bool m_s3BucketNameHasBeenSet = false;
100
101 Aws::String m_s3BucketPrefix;
102 bool m_s3BucketPrefixHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SecurityHub
107} // namespace Aws
AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsElbLoadBalancerAccessLog(Aws::Utils::Json::JsonView jsonValue)
AwsElbLoadBalancerAccessLog & WithS3BucketName(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElbLoadBalancerAccessLog & WithS3BucketName(Aws::String &&value)
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(const Aws::String &value)
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(Aws::String &&value)
AwsElbLoadBalancerAccessLog & WithS3BucketName(const char *value)
AwsElbLoadBalancerAccessLog & WithEmitInterval(int value)
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue