7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AutoTuneState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace OpenSearchService
58 template<
typename ErrorMessageT = Aws::String>
59 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
60 template<
typename ErrorMessageT = Aws::String>
71 inline void SetUseOffPeakWindow(
bool value) { m_useOffPeakWindowHasBeenSet =
true; m_useOffPeakWindow = value; }
77 bool m_stateHasBeenSet =
false;
80 bool m_errorMessageHasBeenSet =
false;
82 bool m_useOffPeakWindow{
false};
83 bool m_useOffPeakWindowHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
AutoTuneState GetState() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StateHasBeenSet() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput()=default
AutoTuneOptionsOutput & WithState(AutoTuneState value)
AutoTuneOptionsOutput & WithUseOffPeakWindow(bool value)
void SetUseOffPeakWindow(bool value)
void SetState(AutoTuneState value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
AutoTuneOptionsOutput & WithErrorMessage(ErrorMessageT &&value)
bool UseOffPeakWindowHasBeenSet() const
bool GetUseOffPeakWindow() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue