/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Validation constraints imposed on parameters of a request (path, query
* string, headers).See Also:
AWS
* API Reference
Whether or not the parameter is required.
*/ inline bool GetRequired() const{ return m_required; } /** *Whether or not the parameter is required.
*/ inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } /** *Whether or not the parameter is required.
*/ inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } /** *Whether or not the parameter is required.
*/ inline ParameterConstraints& WithRequired(bool value) { SetRequired(value); return *this;} private: bool m_required; bool m_requiredHasBeenSet = false; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws