AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ExecuteCommandLogConfiguration.h
Go to the documentation of this file.
1
6#pragma once
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 ECS
22{
23namespace Model
24{
25
34 {
35 public:
40
41
46 inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
47
52 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
53
58 inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
59
64 inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
65
70 inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
71
77
83
89
90
95 inline bool GetCloudWatchEncryptionEnabled() const{ return m_cloudWatchEncryptionEnabled; }
96
101 inline bool CloudWatchEncryptionEnabledHasBeenSet() const { return m_cloudWatchEncryptionEnabledHasBeenSet; }
102
107 inline void SetCloudWatchEncryptionEnabled(bool value) { m_cloudWatchEncryptionEnabledHasBeenSet = true; m_cloudWatchEncryptionEnabled = value; }
108
114
115
120 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
121
126 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
127
132 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
133
138 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
139
144 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
145
150 inline ExecuteCommandLogConfiguration& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
151
156 inline ExecuteCommandLogConfiguration& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
157
162 inline ExecuteCommandLogConfiguration& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
163
164
169 inline bool GetS3EncryptionEnabled() const{ return m_s3EncryptionEnabled; }
170
175 inline bool S3EncryptionEnabledHasBeenSet() const { return m_s3EncryptionEnabledHasBeenSet; }
176
181 inline void SetS3EncryptionEnabled(bool value) { m_s3EncryptionEnabledHasBeenSet = true; m_s3EncryptionEnabled = value; }
182
188
189
193 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
194
198 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
199
203 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
204
208 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
209
213 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
214
218 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
219
223 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
224
228 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
229
230 private:
231
232 Aws::String m_cloudWatchLogGroupName;
233 bool m_cloudWatchLogGroupNameHasBeenSet = false;
234
235 bool m_cloudWatchEncryptionEnabled;
236 bool m_cloudWatchEncryptionEnabledHasBeenSet = false;
237
238 Aws::String m_s3BucketName;
239 bool m_s3BucketNameHasBeenSet = false;
240
241 bool m_s3EncryptionEnabled;
242 bool m_s3EncryptionEnabledHasBeenSet = false;
243
244 Aws::String m_s3KeyPrefix;
245 bool m_s3KeyPrefixHasBeenSet = false;
246 };
247
248} // namespace Model
249} // namespace ECS
250} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ExecuteCommandLogConfiguration & WithS3BucketName(const char *value)
ExecuteCommandLogConfiguration & WithS3BucketName(const Aws::String &value)
ExecuteCommandLogConfiguration & WithS3EncryptionEnabled(bool value)
ExecuteCommandLogConfiguration & WithS3KeyPrefix(const Aws::String &value)
ExecuteCommandLogConfiguration & WithS3KeyPrefix(Aws::String &&value)
ExecuteCommandLogConfiguration & WithS3BucketName(Aws::String &&value)
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(const Aws::String &value)
AWS_ECS_API ExecuteCommandLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandLogConfiguration & WithS3KeyPrefix(const char *value)
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API ExecuteCommandLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(const char *value)
ExecuteCommandLogConfiguration & WithCloudWatchEncryptionEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String