7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9#include <aws/es/model/LogPublishingOption.h>
10#include <aws/es/model/LogType.h>
11#include <aws/es/model/OptionStatus.h>
22namespace ElasticsearchService {
44 template <
typename OptionsT = Aws::Map<LogType, LogPublishingOption>>
46 m_optionsHasBeenSet =
true;
47 m_options = std::forward<OptionsT>(value);
49 template <
typename OptionsT = Aws::Map<LogType, LogPublishingOption>>
55 m_optionsHasBeenSet =
true;
56 m_options.emplace(key, value);
68 template <
typename StatusT = OptionStatus>
70 m_statusHasBeenSet =
true;
71 m_status = std::forward<StatusT>(value);
73 template <
typename StatusT = OptionStatus>
83 bool m_optionsHasBeenSet =
false;
84 bool m_statusHasBeenSet =
false;
void SetStatus(StatusT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LogPublishingOptionsStatus & AddOptions(LogType key, LogPublishingOption value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
bool OptionsHasBeenSet() const
LogPublishingOptionsStatus & WithOptions(OptionsT &&value)
const Aws::Map< LogType, LogPublishingOption > & GetOptions() const
LogPublishingOptionsStatus & WithStatus(StatusT &&value)
AWS_ELASTICSEARCHSERVICE_API LogPublishingOptionsStatus()=default
const OptionStatus & GetStatus() const
AWS_ELASTICSEARCHSERVICE_API LogPublishingOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOptions(OptionsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue