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 LogUriT = Aws::String>
61 m_logUriHasBeenSet =
true;
62 m_logUri = std::forward<LogUriT>(value);
64 template <
typename LogUriT = Aws::String>
78 template <
typename EncryptionKeyArnT = Aws::String>
80 m_encryptionKeyArnHasBeenSet =
true;
81 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
83 template <
typename EncryptionKeyArnT = Aws::String>
98 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
100 m_logTypesHasBeenSet =
true;
101 m_logTypes = std::forward<LogTypesT>(value);
103 template <
typename LogTypesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
108 template <
typename LogTypesKeyT = Aws::String,
typename LogTypesValueT = Aws::Vector<Aws::String>>
110 m_logTypesHasBeenSet =
true;
111 m_logTypes.emplace(std::forward<LogTypesKeyT>(key), std::forward<LogTypesValueT>(value));
116 bool m_enabled{
false};
123 bool m_enabledHasBeenSet =
false;
124 bool m_logUriHasBeenSet =
false;
125 bool m_encryptionKeyArnHasBeenSet =
false;
126 bool m_logTypesHasBeenSet =
false;
SessionS3LoggingConfiguration & AddLogTypes(LogTypesKeyT &&key, LogTypesValueT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetLogTypes() const
SessionS3LoggingConfiguration & WithLogTypes(LogTypesT &&value)
AWS_EMR_API SessionS3LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEncryptionKeyArn() const
bool EncryptionKeyArnHasBeenSet() const
bool LogTypesHasBeenSet() const
SessionS3LoggingConfiguration & WithEnabled(bool value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnabled(bool value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
void SetLogUri(LogUriT &&value)
void SetLogTypes(LogTypesT &&value)
const Aws::String & GetLogUri() const
AWS_EMR_API SessionS3LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool LogUriHasBeenSet() const
SessionS3LoggingConfiguration & WithLogUri(LogUriT &&value)
SessionS3LoggingConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
AWS_EMR_API SessionS3LoggingConfiguration()=default
bool EnabledHasBeenSet() 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