/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input fails to satisfy the constraints specified by the
* service.See Also:
AWS
* API Reference
Code indicating the reason the request was invalid.
*/ inline const BadRequestReason& GetReason() const{ return m_reason; } /** *Code indicating the reason the request was invalid.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *Code indicating the reason the request was invalid.
*/ inline void SetReason(const BadRequestReason& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *Code indicating the reason the request was invalid.
*/ inline void SetReason(BadRequestReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *Code indicating the reason the request was invalid.
*/ inline BadRequestException& WithReason(const BadRequestReason& value) { SetReason(value); return *this;} /** *Code indicating the reason the request was invalid.
*/ inline BadRequestException& WithReason(BadRequestReason&& value) { SetReason(std::move(value)); return *this;} /** *Details describing why the request was invalid.
*/ inline const BadRequestDetails& GetDetails() const{ return m_details; } /** *Details describing why the request was invalid.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *Details describing why the request was invalid.
*/ inline void SetDetails(const BadRequestDetails& value) { m_detailsHasBeenSet = true; m_details = value; } /** *Details describing why the request was invalid.
*/ inline void SetDetails(BadRequestDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } /** *Details describing why the request was invalid.
*/ inline BadRequestException& WithDetails(const BadRequestDetails& value) { SetDetails(value); return *this;} /** *Details describing why the request was invalid.
*/ inline BadRequestException& WithDetails(BadRequestDetails&& value) { SetDetails(std::move(value)); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; BadRequestReason m_reason; bool m_reasonHasBeenSet = false; BadRequestDetails m_details; bool m_detailsHasBeenSet = false; }; } // namespace Model } // namespace AppConfigData } // namespace Aws