7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/AutoTuneState.h>
20namespace OpenSearchService {
43 m_stateHasBeenSet =
true;
58 template <
typename ErrorMessageT = Aws::String>
60 m_errorMessageHasBeenSet =
true;
61 m_errorMessage = std::forward<ErrorMessageT>(value);
63 template <
typename ErrorMessageT = Aws::String>
78 m_useOffPeakWindowHasBeenSet =
true;
79 m_useOffPeakWindow = value;
91 bool m_useOffPeakWindow{
false};
92 bool m_stateHasBeenSet =
false;
93 bool m_errorMessageHasBeenSet =
false;
94 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