AWS SDK for C++  1.9.106
AWS SDK for C++
AwsElbLoadBalancerAccessLog.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline int GetEmitInterval() const{ return m_emitInterval; }
46 
51  inline bool EmitIntervalHasBeenSet() const { return m_emitIntervalHasBeenSet; }
52 
57  inline void SetEmitInterval(int value) { m_emitIntervalHasBeenSet = true; m_emitInterval = value; }
58 
63  inline AwsElbLoadBalancerAccessLog& WithEmitInterval(int value) { SetEmitInterval(value); return *this;}
64 
65 
69  inline bool GetEnabled() const{ return m_enabled; }
70 
74  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
75 
79  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
80 
84  inline AwsElbLoadBalancerAccessLog& WithEnabled(bool value) { SetEnabled(value); return *this;}
85 
86 
90  inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
91 
95  inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
96 
100  inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
101 
105  inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
106 
110  inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
111 
115  inline AwsElbLoadBalancerAccessLog& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
116 
120  inline AwsElbLoadBalancerAccessLog& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
121 
125  inline AwsElbLoadBalancerAccessLog& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
126 
127 
132  inline const Aws::String& GetS3BucketPrefix() const{ return m_s3BucketPrefix; }
133 
138  inline bool S3BucketPrefixHasBeenSet() const { return m_s3BucketPrefixHasBeenSet; }
139 
144  inline void SetS3BucketPrefix(const Aws::String& value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix = value; }
145 
150  inline void SetS3BucketPrefix(Aws::String&& value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix = std::move(value); }
151 
156  inline void SetS3BucketPrefix(const char* value) { m_s3BucketPrefixHasBeenSet = true; m_s3BucketPrefix.assign(value); }
157 
162  inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(const Aws::String& value) { SetS3BucketPrefix(value); return *this;}
163 
168  inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(Aws::String&& value) { SetS3BucketPrefix(std::move(value)); return *this;}
169 
174  inline AwsElbLoadBalancerAccessLog& WithS3BucketPrefix(const char* value) { SetS3BucketPrefix(value); return *this;}
175 
176  private:
177 
178  int m_emitInterval;
179  bool m_emitIntervalHasBeenSet;
180 
181  bool m_enabled;
182  bool m_enabledHasBeenSet;
183 
184  Aws::String m_s3BucketName;
185  bool m_s3BucketNameHasBeenSet;
186 
187  Aws::String m_s3BucketPrefix;
188  bool m_s3BucketPrefixHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace SecurityHub
193 } // namespace Aws
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: AwsElbLoadBalancerAccessLog.h:90
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketPrefix
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(Aws::String &&value)
Definition: AwsElbLoadBalancerAccessLog.h:168
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: AwsElbLoadBalancerAccessLog.h:110
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketPrefix
void SetS3BucketPrefix(const char *value)
Definition: AwsElbLoadBalancerAccessLog.h:156
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithEmitInterval
AwsElbLoadBalancerAccessLog & WithEmitInterval(int value)
Definition: AwsElbLoadBalancerAccessLog.h:63
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketPrefix
void SetS3BucketPrefix(const Aws::String &value)
Definition: AwsElbLoadBalancerAccessLog.h:144
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::GetEnabled
bool GetEnabled() const
Definition: AwsElbLoadBalancerAccessLog.h:69
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog
Definition: AwsElbLoadBalancerAccessLog.h:33
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithEnabled
AwsElbLoadBalancerAccessLog & WithEnabled(bool value)
Definition: AwsElbLoadBalancerAccessLog.h:84
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketName
AwsElbLoadBalancerAccessLog & WithS3BucketName(Aws::String &&value)
Definition: AwsElbLoadBalancerAccessLog.h:120
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: AwsElbLoadBalancerAccessLog.h:105
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: AwsElbLoadBalancerAccessLog.h:74
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::GetS3BucketPrefix
const Aws::String & GetS3BucketPrefix() const
Definition: AwsElbLoadBalancerAccessLog.h:132
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketPrefix
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(const Aws::String &value)
Definition: AwsElbLoadBalancerAccessLog.h:162
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketName
AwsElbLoadBalancerAccessLog & WithS3BucketName(const Aws::String &value)
Definition: AwsElbLoadBalancerAccessLog.h:115
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetEmitInterval
void SetEmitInterval(int value)
Definition: AwsElbLoadBalancerAccessLog.h:57
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketPrefix
void SetS3BucketPrefix(Aws::String &&value)
Definition: AwsElbLoadBalancerAccessLog.h:150
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::AwsElbLoadBalancerAccessLog
AwsElbLoadBalancerAccessLog(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::operator=
AwsElbLoadBalancerAccessLog & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::GetEmitInterval
int GetEmitInterval() const
Definition: AwsElbLoadBalancerAccessLog.h:45
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetEnabled
void SetEnabled(bool value)
Definition: AwsElbLoadBalancerAccessLog.h:79
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: AwsElbLoadBalancerAccessLog.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketPrefix
AwsElbLoadBalancerAccessLog & WithS3BucketPrefix(const char *value)
Definition: AwsElbLoadBalancerAccessLog.h:174
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::WithS3BucketName
AwsElbLoadBalancerAccessLog & WithS3BucketName(const char *value)
Definition: AwsElbLoadBalancerAccessLog.h:125
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::S3BucketPrefixHasBeenSet
bool S3BucketPrefixHasBeenSet() const
Definition: AwsElbLoadBalancerAccessLog.h:138
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::EmitIntervalHasBeenSet
bool EmitIntervalHasBeenSet() const
Definition: AwsElbLoadBalancerAccessLog.h:51
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: AwsElbLoadBalancerAccessLog.h:95
Aws::SecurityHub::Model::AwsElbLoadBalancerAccessLog::AwsElbLoadBalancerAccessLog
AwsElbLoadBalancerAccessLog()