7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
21namespace EMRServerless {
44 m_enabledHasBeenSet =
true;
60 template <
typename LogGroupNameT = Aws::String>
62 m_logGroupNameHasBeenSet =
true;
63 m_logGroupName = std::forward<LogGroupNameT>(value);
65 template <
typename LogGroupNameT = Aws::String>
78 template <
typename LogStreamNamePrefixT = Aws::String>
80 m_logStreamNamePrefixHasBeenSet =
true;
81 m_logStreamNamePrefix = std::forward<LogStreamNamePrefixT>(value);
83 template <
typename LogStreamNamePrefixT = Aws::String>
97 template <
typename EncryptionKeyArnT = Aws::String>
99 m_encryptionKeyArnHasBeenSet =
true;
100 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
102 template <
typename EncryptionKeyArnT = Aws::String>
125 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
127 m_logTypesHasBeenSet =
true;
128 m_logTypes = std::forward<LogTypesT>(value);
130 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
135 template <
typename LogTypesKeyT = Aws::String,
typename LogTypesValueT = Aws::Vector<Aws::String>>
137 m_logTypesHasBeenSet =
true;
138 m_logTypes.emplace(std::forward<LogTypesKeyT>(key), std::forward<LogTypesValueT>(value));
143 bool m_enabled{
false};
152 bool m_enabledHasBeenSet =
false;
153 bool m_logGroupNameHasBeenSet =
false;
154 bool m_logStreamNamePrefixHasBeenSet =
false;
155 bool m_encryptionKeyArnHasBeenSet =
false;
156 bool m_logTypesHasBeenSet =
false;
bool EncryptionKeyArnHasBeenSet() const
CloudWatchLoggingConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
bool LogTypesHasBeenSet() const
bool EnabledHasBeenSet() const
CloudWatchLoggingConfiguration & WithEnabled(bool value)
const Aws::String & GetLogStreamNamePrefix() const
bool LogGroupNameHasBeenSet() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
CloudWatchLoggingConfiguration & WithLogTypes(LogTypesT &&value)
AWS_EMRSERVERLESS_API CloudWatchLoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API CloudWatchLoggingConfiguration()=default
void SetLogStreamNamePrefix(LogStreamNamePrefixT &&value)
const Aws::String & GetEncryptionKeyArn() const
const Aws::String & GetLogGroupName() const
void SetEnabled(bool value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLogGroupName(LogGroupNameT &&value)
CloudWatchLoggingConfiguration & AddLogTypes(LogTypesKeyT &&key, LogTypesValueT &&value)
CloudWatchLoggingConfiguration & WithLogGroupName(LogGroupNameT &&value)
void SetLogTypes(LogTypesT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLogTypes() const
bool LogStreamNamePrefixHasBeenSet() const
AWS_EMRSERVERLESS_API CloudWatchLoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLoggingConfiguration & WithLogStreamNamePrefix(LogStreamNamePrefixT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue