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>
44 m_enabledHasBeenSet =
true;
59 template <
typename LogGroupT = Aws::String>
61 m_logGroupHasBeenSet =
true;
62 m_logGroup = std::forward<LogGroupT>(value);
64 template <
typename LogGroupT = 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>
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_logGroupHasBeenSet =
false;
146 bool m_logStreamNamePrefixHasBeenSet =
false;
147 bool m_encryptionKeyArnHasBeenSet =
false;
148 bool m_logTypesHasBeenSet =
false;
const Aws::String & GetEncryptionKeyArn() const
SessionCloudWatchLoggingConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
SessionCloudWatchLoggingConfiguration & WithLogTypes(LogTypesT &&value)
SessionCloudWatchLoggingConfiguration & WithLogStreamNamePrefix(LogStreamNamePrefixT &&value)
SessionCloudWatchLoggingConfiguration & WithLogGroup(LogGroupT &&value)
bool LogTypesHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
bool LogStreamNamePrefixHasBeenSet() const
SessionCloudWatchLoggingConfiguration & AddLogTypes(LogTypesKeyT &&key, LogTypesValueT &&value)
const Aws::String & GetLogGroup() const
AWS_EMR_API SessionCloudWatchLoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLogTypes() const
AWS_EMR_API SessionCloudWatchLoggingConfiguration()=default
bool EnabledHasBeenSet() const
AWS_EMR_API SessionCloudWatchLoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetLogTypes(LogTypesT &&value)
void SetLogGroup(LogGroupT &&value)
void SetLogStreamNamePrefix(LogStreamNamePrefixT &&value)
SessionCloudWatchLoggingConfiguration & WithEnabled(bool value)
bool EncryptionKeyArnHasBeenSet() const
bool LogGroupHasBeenSet() const
const Aws::String & GetLogStreamNamePrefix() const
void SetEnabled(bool 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