AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PayloadTooLargeException.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/BytesMeasure.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppConfig
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPCONFIG_API PayloadTooLargeException();
38 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetMessage() const{ return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
46 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
47 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
48 inline PayloadTooLargeException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
49 inline PayloadTooLargeException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
50 inline PayloadTooLargeException& WithMessage(const char* value) { SetMessage(value); return *this;}
52
54
55 inline const BytesMeasure& GetMeasure() const{ return m_measure; }
56 inline bool MeasureHasBeenSet() const { return m_measureHasBeenSet; }
57 inline void SetMeasure(const BytesMeasure& value) { m_measureHasBeenSet = true; m_measure = value; }
58 inline void SetMeasure(BytesMeasure&& value) { m_measureHasBeenSet = true; m_measure = std::move(value); }
59 inline PayloadTooLargeException& WithMeasure(const BytesMeasure& value) { SetMeasure(value); return *this;}
60 inline PayloadTooLargeException& WithMeasure(BytesMeasure&& value) { SetMeasure(std::move(value)); return *this;}
62
64
65 inline double GetLimit() const{ return m_limit; }
66 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
67 inline void SetLimit(double value) { m_limitHasBeenSet = true; m_limit = value; }
68 inline PayloadTooLargeException& WithLimit(double value) { SetLimit(value); return *this;}
70
72
73 inline double GetSize() const{ return m_size; }
74 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
75 inline void SetSize(double value) { m_sizeHasBeenSet = true; m_size = value; }
76 inline PayloadTooLargeException& WithSize(double value) { SetSize(value); return *this;}
78 private:
79
80 Aws::String m_message;
81 bool m_messageHasBeenSet = false;
82
83 BytesMeasure m_measure;
84 bool m_measureHasBeenSet = false;
85
86 double m_limit;
87 bool m_limitHasBeenSet = false;
88
89 double m_size;
90 bool m_sizeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AppConfig
95} // namespace Aws
PayloadTooLargeException & WithMessage(const char *value)
AWS_APPCONFIG_API PayloadTooLargeException(Aws::Utils::Json::JsonView jsonValue)
PayloadTooLargeException & WithLimit(double value)
PayloadTooLargeException & WithMeasure(const BytesMeasure &value)
PayloadTooLargeException & WithSize(double value)
PayloadTooLargeException & WithMeasure(BytesMeasure &&value)
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPCONFIG_API PayloadTooLargeException & operator=(Aws::Utils::Json::JsonView jsonValue)
PayloadTooLargeException & WithMessage(Aws::String &&value)
PayloadTooLargeException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue