7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OffPeakWindow.h>
19namespace OpenSearchService {
48 m_enabledHasBeenSet =
true;
63 template <
typename OffPeakWindowT = OffPeakWindow>
65 m_offPeakWindowHasBeenSet =
true;
66 m_offPeakWindow = std::forward<OffPeakWindowT>(value);
68 template <
typename OffPeakWindowT = OffPeakWindow>
75 bool m_enabled{
false};
77 OffPeakWindow m_offPeakWindow;
78 bool m_enabledHasBeenSet =
false;
79 bool m_offPeakWindowHasBeenSet =
false;
bool OffPeakWindowHasBeenSet() const
OffPeakWindowOptions & WithOffPeakWindow(OffPeakWindowT &&value)
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptions()=default
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnabledHasBeenSet() const
void SetOffPeakWindow(OffPeakWindowT &&value)
void SetEnabled(bool value)
OffPeakWindowOptions & WithEnabled(bool value)
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const OffPeakWindow & GetOffPeakWindow() const
AWS_OPENSEARCHSERVICE_API OffPeakWindowOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue