7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/BytesMeasure.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
61 inline double GetLimit()
const {
return m_limit; }
63 inline void SetLimit(
double value) { m_limitHasBeenSet =
true; m_limit = value; }
69 inline double GetSize()
const {
return m_size; }
71 inline void SetSize(
double value) { m_sizeHasBeenSet =
true; m_size = value; }
77 bool m_messageHasBeenSet =
false;
80 bool m_measureHasBeenSet =
false;
83 bool m_limitHasBeenSet =
false;
86 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