AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecuteCommandLogConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_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 ECS
22{
23namespace Model
24{
25
34 {
35 public:
40
41
43
47 inline const Aws::String& GetCloudWatchLogGroupName() const{ return m_cloudWatchLogGroupName; }
48 inline bool CloudWatchLogGroupNameHasBeenSet() const { return m_cloudWatchLogGroupNameHasBeenSet; }
49 inline void SetCloudWatchLogGroupName(const Aws::String& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = value; }
50 inline void SetCloudWatchLogGroupName(Aws::String&& value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName = std::move(value); }
51 inline void SetCloudWatchLogGroupName(const char* value) { m_cloudWatchLogGroupNameHasBeenSet = true; m_cloudWatchLogGroupName.assign(value); }
56
58
62 inline bool GetCloudWatchEncryptionEnabled() const{ return m_cloudWatchEncryptionEnabled; }
63 inline bool CloudWatchEncryptionEnabledHasBeenSet() const { return m_cloudWatchEncryptionEnabledHasBeenSet; }
64 inline void SetCloudWatchEncryptionEnabled(bool value) { m_cloudWatchEncryptionEnabledHasBeenSet = true; m_cloudWatchEncryptionEnabled = value; }
67
69
73 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
74 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
75 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
76 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
77 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
78 inline ExecuteCommandLogConfiguration& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
79 inline ExecuteCommandLogConfiguration& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
80 inline ExecuteCommandLogConfiguration& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
82
84
88 inline bool GetS3EncryptionEnabled() const{ return m_s3EncryptionEnabled; }
89 inline bool S3EncryptionEnabledHasBeenSet() const { return m_s3EncryptionEnabledHasBeenSet; }
90 inline void SetS3EncryptionEnabled(bool value) { m_s3EncryptionEnabledHasBeenSet = true; m_s3EncryptionEnabled = value; }
93
95
98 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
99 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
100 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
101 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
102 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
103 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
104 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
105 inline ExecuteCommandLogConfiguration& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
107 private:
108
109 Aws::String m_cloudWatchLogGroupName;
110 bool m_cloudWatchLogGroupNameHasBeenSet = false;
111
112 bool m_cloudWatchEncryptionEnabled;
113 bool m_cloudWatchEncryptionEnabledHasBeenSet = false;
114
115 Aws::String m_s3BucketName;
116 bool m_s3BucketNameHasBeenSet = false;
117
118 bool m_s3EncryptionEnabled;
119 bool m_s3EncryptionEnabledHasBeenSet = false;
120
121 Aws::String m_s3KeyPrefix;
122 bool m_s3KeyPrefixHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ECS
127} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue