AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
48 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
49 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
50 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
51 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
52 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
53 inline ExecuteCommandConfiguration& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
54 inline ExecuteCommandConfiguration& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
55 inline ExecuteCommandConfiguration& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
57
59
71 inline const ExecuteCommandLogging& GetLogging() const{ return m_logging; }
72 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
73 inline void SetLogging(const ExecuteCommandLogging& value) { m_loggingHasBeenSet = true; m_logging = value; }
74 inline void SetLogging(ExecuteCommandLogging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
75 inline ExecuteCommandConfiguration& WithLogging(const ExecuteCommandLogging& value) { SetLogging(value); return *this;}
76 inline ExecuteCommandConfiguration& WithLogging(ExecuteCommandLogging&& value) { SetLogging(std::move(value)); return *this;}
78
80
86 inline const ExecuteCommandLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
87 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
88 inline void SetLogConfiguration(const ExecuteCommandLogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
89 inline void SetLogConfiguration(ExecuteCommandLogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
93 private:
94
95 Aws::String m_kmsKeyId;
96 bool m_kmsKeyIdHasBeenSet = false;
97
98 ExecuteCommandLogging m_logging;
99 bool m_loggingHasBeenSet = false;
100
101 ExecuteCommandLogConfiguration m_logConfiguration;
102 bool m_logConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ECS
107} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue