AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExecuteCommandConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/ExecuteCommandLogConfiguration.h>
10#include <aws/ecs/model/ExecuteCommandLogging.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS {
22namespace Model {
23
31 public:
32 AWS_ECS_API ExecuteCommandConfiguration() = default;
36
38
42 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
43 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
44 template <typename KmsKeyIdT = Aws::String>
45 void SetKmsKeyId(KmsKeyIdT&& value) {
46 m_kmsKeyIdHasBeenSet = true;
47 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
48 }
49 template <typename KmsKeyIdT = Aws::String>
51 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
52 return *this;
53 }
55
57
69 inline ExecuteCommandLogging GetLogging() const { return m_logging; }
70 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
71 inline void SetLogging(ExecuteCommandLogging value) {
72 m_loggingHasBeenSet = true;
73 m_logging = value;
74 }
76 SetLogging(value);
77 return *this;
78 }
80
82
88 inline const ExecuteCommandLogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
89 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
90 template <typename LogConfigurationT = ExecuteCommandLogConfiguration>
91 void SetLogConfiguration(LogConfigurationT&& value) {
92 m_logConfigurationHasBeenSet = true;
93 m_logConfiguration = std::forward<LogConfigurationT>(value);
94 }
95 template <typename LogConfigurationT = ExecuteCommandLogConfiguration>
97 SetLogConfiguration(std::forward<LogConfigurationT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_kmsKeyId;
103
105
106 ExecuteCommandLogConfiguration m_logConfiguration;
107 bool m_kmsKeyIdHasBeenSet = false;
108 bool m_loggingHasBeenSet = false;
109 bool m_logConfigurationHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ECS
114} // namespace Aws
const ExecuteCommandLogConfiguration & GetLogConfiguration() const
ExecuteCommandConfiguration & WithKmsKeyId(KmsKeyIdT &&value)
AWS_ECS_API ExecuteCommandConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ExecuteCommandConfiguration & WithLogging(ExecuteCommandLogging value)
AWS_ECS_API ExecuteCommandConfiguration()=default
ExecuteCommandConfiguration & WithLogConfiguration(LogConfigurationT &&value)
AWS_ECS_API ExecuteCommandConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue