AWS SDK for C++  1.9.153
AWS SDK for C++
ExecuteCommandLogConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
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 ECS
22 {
23 namespace 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 
76  inline ExecuteCommandLogConfiguration& WithCloudWatchLogGroupName(const Aws::String& value) { SetCloudWatchLogGroupName(value); return *this;}
77 
82  inline ExecuteCommandLogConfiguration& WithCloudWatchLogGroupName(Aws::String&& value) { SetCloudWatchLogGroupName(std::move(value)); return *this;}
83 
88  inline ExecuteCommandLogConfiguration& WithCloudWatchLogGroupName(const char* value) { SetCloudWatchLogGroupName(value); return *this;}
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 
113  inline ExecuteCommandLogConfiguration& WithCloudWatchEncryptionEnabled(bool value) { SetCloudWatchEncryptionEnabled(value); return *this;}
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 
187  inline ExecuteCommandLogConfiguration& WithS3EncryptionEnabled(bool value) { SetS3EncryptionEnabled(value); return *this;}
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;
234 
235  bool m_cloudWatchEncryptionEnabled;
236  bool m_cloudWatchEncryptionEnabledHasBeenSet;
237 
238  Aws::String m_s3BucketName;
239  bool m_s3BucketNameHasBeenSet;
240 
241  bool m_s3EncryptionEnabled;
242  bool m_s3EncryptionEnabledHasBeenSet;
243 
244  Aws::String m_s3KeyPrefix;
245  bool m_s3KeyPrefixHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace ECS
250 } // namespace Aws
Aws::ECS::Model::ExecuteCommandLogConfiguration::GetS3KeyPrefix
const Aws::String & GetS3KeyPrefix() const
Definition: ExecuteCommandLogConfiguration.h:193
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3KeyPrefix
ExecuteCommandLogConfiguration & WithS3KeyPrefix(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:218
Aws::ECS::Model::ExecuteCommandLogConfiguration::operator=
ExecuteCommandLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3BucketName
ExecuteCommandLogConfiguration & WithS3BucketName(const char *value)
Definition: ExecuteCommandLogConfiguration.h:162
Aws::ECS::Model::ExecuteCommandLogConfiguration::S3KeyPrefixHasBeenSet
bool S3KeyPrefixHasBeenSet() const
Definition: ExecuteCommandLogConfiguration.h:198
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetCloudWatchEncryptionEnabled
void SetCloudWatchEncryptionEnabled(bool value)
Definition: ExecuteCommandLogConfiguration.h:107
Aws::ECS::Model::ExecuteCommandLogConfiguration::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: ExecuteCommandLogConfiguration.h:120
Aws::ECS::Model::ExecuteCommandLogConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3KeyPrefix
void SetS3KeyPrefix(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:203
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3BucketName
ExecuteCommandLogConfiguration & WithS3BucketName(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:156
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(const char *value)
Definition: ExecuteCommandLogConfiguration.h:70
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3EncryptionEnabled
ExecuteCommandLogConfiguration & WithS3EncryptionEnabled(bool value)
Definition: ExecuteCommandLogConfiguration.h:187
Aws::ECS::Model::ExecuteCommandLogConfiguration::CloudWatchEncryptionEnabledHasBeenSet
bool CloudWatchEncryptionEnabledHasBeenSet() const
Definition: ExecuteCommandLogConfiguration.h:101
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:132
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3BucketName
ExecuteCommandLogConfiguration & WithS3BucketName(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:150
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3KeyPrefix
ExecuteCommandLogConfiguration & WithS3KeyPrefix(const char *value)
Definition: ExecuteCommandLogConfiguration.h:228
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:138
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithCloudWatchEncryptionEnabled
ExecuteCommandLogConfiguration & WithCloudWatchEncryptionEnabled(bool value)
Definition: ExecuteCommandLogConfiguration.h:113
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3KeyPrefix
void SetS3KeyPrefix(const char *value)
Definition: ExecuteCommandLogConfiguration.h:213
Aws::ECS::Model::ExecuteCommandLogConfiguration
Definition: ExecuteCommandLogConfiguration.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:64
AWSString.h
Aws::ECS::Model::ExecuteCommandLogConfiguration::CloudWatchLogGroupNameHasBeenSet
bool CloudWatchLogGroupNameHasBeenSet() const
Definition: ExecuteCommandLogConfiguration.h:52
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetCloudWatchLogGroupName
void SetCloudWatchLogGroupName(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:58
Aws::ECS::Model::ExecuteCommandLogConfiguration::GetCloudWatchLogGroupName
const Aws::String & GetCloudWatchLogGroupName() const
Definition: ExecuteCommandLogConfiguration.h:46
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: ExecuteCommandLogConfiguration.h:144
Aws::ECS::Model::ExecuteCommandLogConfiguration::ExecuteCommandLogConfiguration
ExecuteCommandLogConfiguration()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ExecuteCommandLogConfiguration::S3EncryptionEnabledHasBeenSet
bool S3EncryptionEnabledHasBeenSet() const
Definition: ExecuteCommandLogConfiguration.h:175
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithCloudWatchLogGroupName
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(const Aws::String &value)
Definition: ExecuteCommandLogConfiguration.h:76
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3KeyPrefix
void SetS3KeyPrefix(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:208
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithCloudWatchLogGroupName
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(const char *value)
Definition: ExecuteCommandLogConfiguration.h:88
Aws::ECS::Model::ExecuteCommandLogConfiguration::GetS3EncryptionEnabled
bool GetS3EncryptionEnabled() const
Definition: ExecuteCommandLogConfiguration.h:169
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithCloudWatchLogGroupName
ExecuteCommandLogConfiguration & WithCloudWatchLogGroupName(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:82
Aws::ECS::Model::ExecuteCommandLogConfiguration::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: ExecuteCommandLogConfiguration.h:126
ECS_EXPORTS.h
Aws::ECS::Model::ExecuteCommandLogConfiguration::WithS3KeyPrefix
ExecuteCommandLogConfiguration & WithS3KeyPrefix(Aws::String &&value)
Definition: ExecuteCommandLogConfiguration.h:223
Aws::ECS::Model::ExecuteCommandLogConfiguration::GetCloudWatchEncryptionEnabled
bool GetCloudWatchEncryptionEnabled() const
Definition: ExecuteCommandLogConfiguration.h:95
Aws::ECS::Model::ExecuteCommandLogConfiguration::ExecuteCommandLogConfiguration
ExecuteCommandLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ExecuteCommandLogConfiguration::SetS3EncryptionEnabled
void SetS3EncryptionEnabled(bool value)
Definition: ExecuteCommandLogConfiguration.h:181