7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/BytesMeasure.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
56 m_measureHasBeenSet =
true;
67 inline double GetLimit()
const {
return m_limit; }
70 m_limitHasBeenSet =
true;
81 inline double GetSize()
const {
return m_size; }
84 m_sizeHasBeenSet =
true;
100 bool m_messageHasBeenSet =
false;
101 bool m_measureHasBeenSet =
false;
102 bool m_limitHasBeenSet =
false;
103 bool m_sizeHasBeenSet =
false;
void SetSize(double value)
AWS_APPCONFIG_API PayloadTooLargeException(Aws::Utils::Json::JsonView jsonValue)
PayloadTooLargeException & WithMeasure(BytesMeasure value)
PayloadTooLargeException & WithLimit(double value)
PayloadTooLargeException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
bool SizeHasBeenSet() const
AWS_APPCONFIG_API PayloadTooLargeException()=default
PayloadTooLargeException & WithSize(double value)
bool LimitHasBeenSet() const
const Aws::String & GetMessage() const
void SetMeasure(BytesMeasure value)
void SetLimit(double value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
bool MeasureHasBeenSet() const
AWS_APPCONFIG_API PayloadTooLargeException & operator=(Aws::Utils::Json::JsonView jsonValue)
BytesMeasure GetMeasure() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue