AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ExecuteCommandConfiguration.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ECS
24{
25namespace 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
216
224
225 private:
226
227 Aws::String m_kmsKeyId;
228 bool m_kmsKeyIdHasBeenSet = false;
229
230 ExecuteCommandLogging m_logging;
231 bool m_loggingHasBeenSet = false;
232
233 ExecuteCommandLogConfiguration m_logConfiguration;
234 bool m_logConfigurationHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace ECS
239} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetLogConfiguration(const ExecuteCommandLogConfiguration &value)
const ExecuteCommandLogConfiguration & GetLogConfiguration() const
ExecuteCommandConfiguration & WithKmsKeyId(const char *value)
const ExecuteCommandLogging & GetLogging() const
AWS_ECS_API ExecuteCommandConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandConfiguration & WithLogging(ExecuteCommandLogging &&value)
ExecuteCommandConfiguration & WithLogging(const ExecuteCommandLogging &value)
ExecuteCommandConfiguration & WithLogConfiguration(ExecuteCommandLogConfiguration &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ExecuteCommandConfiguration & WithKmsKeyId(Aws::String &&value)
void SetLogConfiguration(ExecuteCommandLogConfiguration &&value)
ExecuteCommandConfiguration & WithLogConfiguration(const ExecuteCommandLogConfiguration &value)
void SetLogging(const ExecuteCommandLogging &value)
AWS_ECS_API ExecuteCommandConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandConfiguration & WithKmsKeyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String