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
62 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
75 inline void SetUseOffPeakWindow(
bool value) { m_useOffPeakWindowHasBeenSet =
true; m_useOffPeakWindow = value; }
81 bool m_stateHasBeenSet =
false;
84 bool m_errorMessageHasBeenSet =
false;
86 bool m_useOffPeakWindow;
87 bool m_useOffPeakWindowHasBeenSet =
false;
bool ErrorMessageHasBeenSet() const
AutoTuneOptionsOutput & WithErrorMessage(const Aws::String &value)
const AutoTuneState & GetState() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoTuneOptionsOutput & WithState(AutoTuneState &&value)
void SetState(const AutoTuneState &value)
void SetState(AutoTuneState &&value)
bool StateHasBeenSet() const
AutoTuneOptionsOutput & WithState(const AutoTuneState &value)
void SetErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput()
AutoTuneOptionsOutput & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
AutoTuneOptionsOutput & WithErrorMessage(const char *value)
AutoTuneOptionsOutput & WithUseOffPeakWindow(bool value)
void SetUseOffPeakWindow(bool value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API AutoTuneOptionsOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
bool UseOffPeakWindowHasBeenSet() const
bool GetUseOffPeakWindow() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue