This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/AdvancedSecurityOptions.h

93 lines
2.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/es/ElasticsearchService_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ElasticsearchService
{
namespace Model
{
/**
* <p>Specifies the advanced security configuration: whether advanced security is
* enabled, whether the internal database option is enabled.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/AdvancedSecurityOptions">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API AdvancedSecurityOptions
{
public:
AdvancedSecurityOptions();
AdvancedSecurityOptions(Aws::Utils::Json::JsonView jsonValue);
AdvancedSecurityOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>True if advanced security is enabled.</p>
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* <p>True if advanced security is enabled.</p>
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* <p>True if advanced security is enabled.</p>
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* <p>True if advanced security is enabled.</p>
*/
inline AdvancedSecurityOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
/**
* <p>True if the internal user database is enabled.</p>
*/
inline bool GetInternalUserDatabaseEnabled() const{ return m_internalUserDatabaseEnabled; }
/**
* <p>True if the internal user database is enabled.</p>
*/
inline bool InternalUserDatabaseEnabledHasBeenSet() const { return m_internalUserDatabaseEnabledHasBeenSet; }
/**
* <p>True if the internal user database is enabled.</p>
*/
inline void SetInternalUserDatabaseEnabled(bool value) { m_internalUserDatabaseEnabledHasBeenSet = true; m_internalUserDatabaseEnabled = value; }
/**
* <p>True if the internal user database is enabled.</p>
*/
inline AdvancedSecurityOptions& WithInternalUserDatabaseEnabled(bool value) { SetInternalUserDatabaseEnabled(value); return *this;}
private:
bool m_enabled;
bool m_enabledHasBeenSet;
bool m_internalUserDatabaseEnabled;
bool m_internalUserDatabaseEnabledHasBeenSet;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws