/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Status of the Cognito options for the specified Elasticsearch
* domain.See Also:
AWS
* API Reference
Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline const CognitoOptions& GetOptions() const{ return m_options; } /** *Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline void SetOptions(const CognitoOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline void SetOptions(CognitoOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline CognitoOptionsStatus& WithOptions(const CognitoOptions& value) { SetOptions(value); return *this;} /** *Specifies the Cognito options for the specified Elasticsearch domain.
*/ inline CognitoOptionsStatus& WithOptions(CognitoOptions&& value) { SetOptions(std::move(value)); return *this;} /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline const OptionStatus& GetStatus() const{ return m_status; } /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline CognitoOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *Specifies the status of the Cognito options for the specified Elasticsearch * domain.
*/ inline CognitoOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: CognitoOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws