7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10#include <aws/greengrass/model/ErrorDetail.h>
42 template <
typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
44 m_errorDetailsHasBeenSet =
true;
45 m_errorDetails = std::forward<ErrorDetailsT>(value);
47 template <
typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
52 template <
typename ErrorDetailsT = ErrorDetail>
54 m_errorDetailsHasBeenSet =
true;
55 m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value));
66 template <
typename MessageT = Aws::String>
68 m_messageHasBeenSet =
true;
69 m_message = std::forward<MessageT>(value);
71 template <
typename MessageT = Aws::String>
81 bool m_errorDetailsHasBeenSet =
false;
82 bool m_messageHasBeenSet =
false;
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
bool MessageHasBeenSet() const
AWS_GREENGRASS_API InternalServerErrorException(Aws::Utils::Json::JsonView jsonValue)
InternalServerErrorException & AddErrorDetails(ErrorDetailsT &&value)
void SetMessage(MessageT &&value)
bool ErrorDetailsHasBeenSet() const
InternalServerErrorException & WithErrorDetails(ErrorDetailsT &&value)
void SetErrorDetails(ErrorDetailsT &&value)
AWS_GREENGRASS_API InternalServerErrorException()=default
InternalServerErrorException & WithMessage(MessageT &&value)
AWS_GREENGRASS_API InternalServerErrorException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue