7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OffPeakWindow.h>
21namespace OpenSearchService
53 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
63 template<
typename OffPeakWindowT = OffPeakWindow>
64 void SetOffPeakWindow(OffPeakWindowT&& value) { m_offPeakWindowHasBeenSet =
true; m_offPeakWindow = std::forward<OffPeakWindowT>(value); }
65 template<
typename OffPeakWindowT = OffPeakWindow>
70 bool m_enabled{
false};
71 bool m_enabledHasBeenSet =
false;
73 OffPeakWindow m_offPeakWindow;
74 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