AWS SDK for C++  1.9.160
AWS SDK for C++
ExecuteCommandConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
48 
53  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
54 
59  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
60 
65  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
66 
71  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
72 
77  inline ExecuteCommandConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
78 
83  inline ExecuteCommandConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
84 
89  inline ExecuteCommandConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
90 
91 
104  inline const ExecuteCommandLogging& GetLogging() const{ return m_logging; }
105 
118  inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
119 
132  inline void SetLogging(const ExecuteCommandLogging& value) { m_loggingHasBeenSet = true; m_logging = value; }
133 
146  inline void SetLogging(ExecuteCommandLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
147 
160  inline ExecuteCommandConfiguration& WithLogging(const ExecuteCommandLogging& value) { SetLogging(value); return *this;}
161 
174  inline ExecuteCommandConfiguration& WithLogging(ExecuteCommandLogging&& value) { SetLogging(std::move(value)); return *this;}
175 
176 
183  inline const ExecuteCommandLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
184 
191  inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
192 
199  inline void SetLogConfiguration(const ExecuteCommandLogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
200 
207  inline void SetLogConfiguration(ExecuteCommandLogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
208 
215  inline ExecuteCommandConfiguration& WithLogConfiguration(const ExecuteCommandLogConfiguration& value) { SetLogConfiguration(value); return *this;}
216 
223  inline ExecuteCommandConfiguration& WithLogConfiguration(ExecuteCommandLogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
224 
225  private:
226 
227  Aws::String m_kmsKeyId;
228  bool m_kmsKeyIdHasBeenSet;
229 
230  ExecuteCommandLogging m_logging;
231  bool m_loggingHasBeenSet;
232 
233  ExecuteCommandLogConfiguration m_logConfiguration;
234  bool m_logConfigurationHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace ECS
239 } // namespace Aws
Aws::ECS::Model::ExecuteCommandConfiguration::ExecuteCommandConfiguration
ExecuteCommandConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandLogging.h
Aws::ECS::Model::ExecuteCommandConfiguration::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: ExecuteCommandConfiguration.h:65
Aws::ECS::Model::ExecuteCommandConfiguration::ExecuteCommandConfiguration
ExecuteCommandConfiguration()
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ExecuteCommandConfiguration::SetLogging
void SetLogging(const ExecuteCommandLogging &value)
Definition: ExecuteCommandConfiguration.h:132
Aws::ECS::Model::ExecuteCommandConfiguration::SetLogging
void SetLogging(ExecuteCommandLogging &&value)
Definition: ExecuteCommandConfiguration.h:146
Aws::ECS::Model::ExecuteCommandConfiguration::operator=
ExecuteCommandConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::ExecuteCommandConfiguration::SetLogConfiguration
void SetLogConfiguration(ExecuteCommandLogConfiguration &&value)
Definition: ExecuteCommandConfiguration.h:207
Aws::ECS::Model::ExecuteCommandConfiguration::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: ExecuteCommandConfiguration.h:59
Aws::ECS::Model::ExecuteCommandConfiguration
Definition: ExecuteCommandConfiguration.h:35
Aws::ECS::Model::ExecuteCommandLogging
ExecuteCommandLogging
Definition: ExecuteCommandLogging.h:17
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ExecuteCommandConfiguration::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: ExecuteCommandConfiguration.h:53
Aws::ECS::Model::ExecuteCommandLogConfiguration
Definition: ExecuteCommandLogConfiguration.h:34
Aws::ECS::Model::ExecuteCommandConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::ExecuteCommandConfiguration::WithKmsKeyId
ExecuteCommandConfiguration & WithKmsKeyId(Aws::String &&value)
Definition: ExecuteCommandConfiguration.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECS::Model::ExecuteCommandConfiguration::WithLogging
ExecuteCommandConfiguration & WithLogging(const ExecuteCommandLogging &value)
Definition: ExecuteCommandConfiguration.h:160
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::ExecuteCommandConfiguration::GetLogConfiguration
const ExecuteCommandLogConfiguration & GetLogConfiguration() const
Definition: ExecuteCommandConfiguration.h:183
Aws::ECS::Model::ExecuteCommandConfiguration::SetLogConfiguration
void SetLogConfiguration(const ExecuteCommandLogConfiguration &value)
Definition: ExecuteCommandConfiguration.h:199
Aws::ECS::Model::ExecuteCommandConfiguration::WithLogConfiguration
ExecuteCommandConfiguration & WithLogConfiguration(ExecuteCommandLogConfiguration &&value)
Definition: ExecuteCommandConfiguration.h:223
Aws::ECS::Model::ExecuteCommandConfiguration::LoggingHasBeenSet
bool LoggingHasBeenSet() const
Definition: ExecuteCommandConfiguration.h:118
Aws::ECS::Model::ExecuteCommandConfiguration::WithKmsKeyId
ExecuteCommandConfiguration & WithKmsKeyId(const char *value)
Definition: ExecuteCommandConfiguration.h:89
Aws::ECS::Model::ExecuteCommandConfiguration::WithLogging
ExecuteCommandConfiguration & WithLogging(ExecuteCommandLogging &&value)
Definition: ExecuteCommandConfiguration.h:174
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ExecuteCommandConfiguration::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: ExecuteCommandConfiguration.h:47
Aws::ECS::Model::ExecuteCommandConfiguration::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: ExecuteCommandConfiguration.h:71
Aws::ECS::Model::ExecuteCommandConfiguration::WithLogConfiguration
ExecuteCommandConfiguration & WithLogConfiguration(const ExecuteCommandLogConfiguration &value)
Definition: ExecuteCommandConfiguration.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ExecuteCommandConfiguration::WithKmsKeyId
ExecuteCommandConfiguration & WithKmsKeyId(const Aws::String &value)
Definition: ExecuteCommandConfiguration.h:77
ExecuteCommandLogConfiguration.h
Aws::ECS::Model::ExecuteCommandConfiguration::GetLogging
const ExecuteCommandLogging & GetLogging() const
Definition: ExecuteCommandConfiguration.h:104
ECS_EXPORTS.h
Aws::ECS::Model::ExecuteCommandConfiguration::LogConfigurationHasBeenSet
bool LogConfigurationHasBeenSet() const
Definition: ExecuteCommandConfiguration.h:191