/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that specifies the authorization service for a
* domain.See Also:
AWS
* API Reference
The name of the authorization service for a domain configuration.
*/ inline const Aws::String& GetDefaultAuthorizerName() const{ return m_defaultAuthorizerName; } /** *The name of the authorization service for a domain configuration.
*/ inline bool DefaultAuthorizerNameHasBeenSet() const { return m_defaultAuthorizerNameHasBeenSet; } /** *The name of the authorization service for a domain configuration.
*/ inline void SetDefaultAuthorizerName(const Aws::String& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = value; } /** *The name of the authorization service for a domain configuration.
*/ inline void SetDefaultAuthorizerName(Aws::String&& value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName = std::move(value); } /** *The name of the authorization service for a domain configuration.
*/ inline void SetDefaultAuthorizerName(const char* value) { m_defaultAuthorizerNameHasBeenSet = true; m_defaultAuthorizerName.assign(value); } /** *The name of the authorization service for a domain configuration.
*/ inline AuthorizerConfig& WithDefaultAuthorizerName(const Aws::String& value) { SetDefaultAuthorizerName(value); return *this;} /** *The name of the authorization service for a domain configuration.
*/ inline AuthorizerConfig& WithDefaultAuthorizerName(Aws::String&& value) { SetDefaultAuthorizerName(std::move(value)); return *this;} /** *The name of the authorization service for a domain configuration.
*/ inline AuthorizerConfig& WithDefaultAuthorizerName(const char* value) { SetDefaultAuthorizerName(value); return *this;} /** *A Boolean that specifies whether the domain configuration's authorization * service can be overridden.
*/ inline bool GetAllowAuthorizerOverride() const{ return m_allowAuthorizerOverride; } /** *A Boolean that specifies whether the domain configuration's authorization * service can be overridden.
*/ inline bool AllowAuthorizerOverrideHasBeenSet() const { return m_allowAuthorizerOverrideHasBeenSet; } /** *A Boolean that specifies whether the domain configuration's authorization * service can be overridden.
*/ inline void SetAllowAuthorizerOverride(bool value) { m_allowAuthorizerOverrideHasBeenSet = true; m_allowAuthorizerOverride = value; } /** *A Boolean that specifies whether the domain configuration's authorization * service can be overridden.
*/ inline AuthorizerConfig& WithAllowAuthorizerOverride(bool value) { SetAllowAuthorizerOverride(value); return *this;} private: Aws::String m_defaultAuthorizerName; bool m_defaultAuthorizerNameHasBeenSet = false; bool m_allowAuthorizerOverride; bool m_allowAuthorizerOverrideHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws