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/elasticmapreduce/EMR_EXPORTS.h>
45 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>
96 template <
typename EncryptionKeyArnT = Aws::String>
98 m_encryptionKeyArnHasBeenSet =
true;
99 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
101 template <
typename EncryptionKeyArnT = Aws::String>
117 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
119 m_logTypesHasBeenSet =
true;
120 m_logTypes = std::forward<LogTypesT>(value);
122 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
127 template <
typename LogTypesKeyT = Aws::String,
typename LogTypesValueT = Aws::Vector<Aws::String>>
129 m_logTypesHasBeenSet =
true;
130 m_logTypes.emplace(std::forward<LogTypesKeyT>(key), std::forward<LogTypesValueT>(value));
135 bool m_enabled{
false};
144 bool m_enabledHasBeenSet =
false;
145 bool m_logGroupNameHasBeenSet =
false;
146 bool m_logStreamNamePrefixHasBeenSet =
false;
147 bool m_encryptionKeyArnHasBeenSet =
false;
148 bool m_logTypesHasBeenSet =
false;
void SetLogGroupName(LogGroupNameT &&value)
void SetEnabled(bool value)
bool LogTypesHasBeenSet() const
bool LogGroupNameHasBeenSet() const
CloudWatchLogConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
CloudWatchLogConfiguration & AddLogTypes(LogTypesKeyT &&key, LogTypesValueT &&value)
AWS_EMR_API CloudWatchLogConfiguration()=default
void SetLogTypes(LogTypesT &&value)
const Aws::String & GetEncryptionKeyArn() const
bool EnabledHasBeenSet() const
bool EncryptionKeyArnHasBeenSet() const
AWS_EMR_API CloudWatchLogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogConfiguration & WithLogStreamNamePrefix(LogStreamNamePrefixT &&value)
void SetLogStreamNamePrefix(LogStreamNamePrefixT &&value)
CloudWatchLogConfiguration & WithEnabled(bool value)
AWS_EMR_API CloudWatchLogConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchLogConfiguration & WithLogGroupName(LogGroupNameT &&value)
CloudWatchLogConfiguration & WithLogTypes(LogTypesT &&value)
const Aws::String & GetLogGroupName() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLogTypes() const
bool LogStreamNamePrefixHasBeenSet() const
const Aws::String & GetLogStreamNamePrefix() const
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