7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/LogPublishingOption.h>
10#include <aws/opensearch/model/LogType.h>
11#include <aws/opensearch/model/OptionStatus.h>
22namespace OpenSearchService {
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);
67 template <
typename StatusT = OptionStatus>
69 m_statusHasBeenSet =
true;
70 m_status = std::forward<StatusT>(value);
72 template <
typename StatusT = OptionStatus>
82 bool m_optionsHasBeenSet =
false;
83 bool m_statusHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API LogPublishingOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< LogType, LogPublishingOption > & GetOptions() const
LogPublishingOptionsStatus & WithOptions(OptionsT &&value)
LogPublishingOptionsStatus & AddOptions(LogType key, LogPublishingOption value)
AWS_OPENSEARCHSERVICE_API LogPublishingOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
bool OptionsHasBeenSet() const
void SetOptions(OptionsT &&value)
LogPublishingOptionsStatus & WithStatus(StatusT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(StatusT &&value)
AWS_OPENSEARCHSERVICE_API LogPublishingOptionsStatus()=default
const OptionStatus & GetStatus() const
bool StatusHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue