AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExecuteCommandConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/ExecuteCommandLogging.h>
10#include <aws/ecs/model/ExecuteCommandLogConfiguration.h>
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:
37 AWS_ECS_API ExecuteCommandConfiguration() = default;
41
42
44
48 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
49 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
50 template<typename KmsKeyIdT = Aws::String>
51 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
52 template<typename KmsKeyIdT = Aws::String>
53 ExecuteCommandConfiguration& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
55
57
69 inline ExecuteCommandLogging GetLogging() const { return m_logging; }
70 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
71 inline void SetLogging(ExecuteCommandLogging value) { m_loggingHasBeenSet = true; m_logging = value; }
74
76
82 inline const ExecuteCommandLogConfiguration& GetLogConfiguration() const { return m_logConfiguration; }
83 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
84 template<typename LogConfigurationT = ExecuteCommandLogConfiguration>
85 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
86 template<typename LogConfigurationT = ExecuteCommandLogConfiguration>
87 ExecuteCommandConfiguration& WithLogConfiguration(LogConfigurationT&& value) { SetLogConfiguration(std::forward<LogConfigurationT>(value)); return *this;}
89 private:
90
91 Aws::String m_kmsKeyId;
92 bool m_kmsKeyIdHasBeenSet = false;
93
95 bool m_loggingHasBeenSet = false;
96
97 ExecuteCommandLogConfiguration m_logConfiguration;
98 bool m_logConfigurationHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ECS
103} // 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