AWS SDK for C++  1.9.110
AWS SDK for C++
PayloadTooLargeException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppConfig
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetMessage() const{ return m_message; }
43 
44 
45  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 
47 
48  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 
50 
51  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 
53 
54  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 
56 
57  inline PayloadTooLargeException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline PayloadTooLargeException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline PayloadTooLargeException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
66 
67  inline const BytesMeasure& GetMeasure() const{ return m_measure; }
68 
69 
70  inline bool MeasureHasBeenSet() const { return m_measureHasBeenSet; }
71 
72 
73  inline void SetMeasure(const BytesMeasure& value) { m_measureHasBeenSet = true; m_measure = value; }
74 
75 
76  inline void SetMeasure(BytesMeasure&& value) { m_measureHasBeenSet = true; m_measure = std::move(value); }
77 
78 
79  inline PayloadTooLargeException& WithMeasure(const BytesMeasure& value) { SetMeasure(value); return *this;}
80 
81 
82  inline PayloadTooLargeException& WithMeasure(BytesMeasure&& value) { SetMeasure(std::move(value)); return *this;}
83 
84 
85 
86  inline double GetLimit() const{ return m_limit; }
87 
88 
89  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
90 
91 
92  inline void SetLimit(double value) { m_limitHasBeenSet = true; m_limit = value; }
93 
94 
95  inline PayloadTooLargeException& WithLimit(double value) { SetLimit(value); return *this;}
96 
97 
98 
99  inline double GetSize() const{ return m_size; }
100 
101 
102  inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
103 
104 
105  inline void SetSize(double value) { m_sizeHasBeenSet = true; m_size = value; }
106 
107 
108  inline PayloadTooLargeException& WithSize(double value) { SetSize(value); return *this;}
109 
110  private:
111 
112  Aws::String m_message;
113  bool m_messageHasBeenSet;
114 
115  BytesMeasure m_measure;
116  bool m_measureHasBeenSet;
117 
118  double m_limit;
119  bool m_limitHasBeenSet;
120 
121  double m_size;
122  bool m_sizeHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace AppConfig
127 } // namespace Aws
Aws::AppConfig::Model::PayloadTooLargeException::WithMeasure
PayloadTooLargeException & WithMeasure(BytesMeasure &&value)
Definition: PayloadTooLargeException.h:82
Aws::AppConfig::Model::BytesMeasure
BytesMeasure
Definition: BytesMeasure.h:17
Aws::AppConfig::Model::PayloadTooLargeException::SetMessage
void SetMessage(Aws::String &&value)
Definition: PayloadTooLargeException.h:51
Aws::AppConfig::Model::PayloadTooLargeException::GetSize
double GetSize() const
Definition: PayloadTooLargeException.h:99
Aws::AppConfig::Model::PayloadTooLargeException::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: PayloadTooLargeException.h:89
Aws::AppConfig::Model::PayloadTooLargeException::SetMessage
void SetMessage(const Aws::String &value)
Definition: PayloadTooLargeException.h:48
Aws::AppConfig::Model::PayloadTooLargeException::SetSize
void SetSize(double value)
Definition: PayloadTooLargeException.h:105
Aws::AppConfig::Model::PayloadTooLargeException::SetMeasure
void SetMeasure(const BytesMeasure &value)
Definition: PayloadTooLargeException.h:73
Aws::AppConfig::Model::PayloadTooLargeException::SetMessage
void SetMessage(const char *value)
Definition: PayloadTooLargeException.h:54
AppConfig_EXPORTS.h
Aws::AppConfig::Model::PayloadTooLargeException::SizeHasBeenSet
bool SizeHasBeenSet() const
Definition: PayloadTooLargeException.h:102
Aws::AppConfig::Model::PayloadTooLargeException::MeasureHasBeenSet
bool MeasureHasBeenSet() const
Definition: PayloadTooLargeException.h:70
Aws::AppConfig::Model::PayloadTooLargeException::WithMessage
PayloadTooLargeException & WithMessage(const Aws::String &value)
Definition: PayloadTooLargeException.h:57
Aws::AppConfig::Model::PayloadTooLargeException::WithSize
PayloadTooLargeException & WithSize(double value)
Definition: PayloadTooLargeException.h:108
Aws::AppConfig::Model::PayloadTooLargeException::GetMeasure
const BytesMeasure & GetMeasure() const
Definition: PayloadTooLargeException.h:67
Aws::AppConfig::Model::PayloadTooLargeException::PayloadTooLargeException
PayloadTooLargeException(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::PayloadTooLargeException::PayloadTooLargeException
PayloadTooLargeException()
BytesMeasure.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::PayloadTooLargeException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::PayloadTooLargeException
Definition: PayloadTooLargeException.h:33
Aws::AppConfig::Model::PayloadTooLargeException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: PayloadTooLargeException.h:45
Aws::AppConfig::Model::PayloadTooLargeException::WithMessage
PayloadTooLargeException & WithMessage(const char *value)
Definition: PayloadTooLargeException.h:63
Aws::AppConfig::Model::PayloadTooLargeException::SetLimit
void SetLimit(double value)
Definition: PayloadTooLargeException.h:92
Aws::AppConfig::Model::PayloadTooLargeException::SetMeasure
void SetMeasure(BytesMeasure &&value)
Definition: PayloadTooLargeException.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::PayloadTooLargeException::GetMessage
const Aws::String & GetMessage() const
Definition: PayloadTooLargeException.h:42
Aws::AppConfig::Model::PayloadTooLargeException::WithMeasure
PayloadTooLargeException & WithMeasure(const BytesMeasure &value)
Definition: PayloadTooLargeException.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::PayloadTooLargeException::WithMessage
PayloadTooLargeException & WithMessage(Aws::String &&value)
Definition: PayloadTooLargeException.h:60
Aws::AppConfig::Model::PayloadTooLargeException::GetLimit
double GetLimit() const
Definition: PayloadTooLargeException.h:86
Aws::AppConfig::Model::PayloadTooLargeException::WithLimit
PayloadTooLargeException & WithLimit(double value)
Definition: PayloadTooLargeException.h:95
Aws::AppConfig::Model::PayloadTooLargeException::operator=
PayloadTooLargeException & operator=(Aws::Utils::Json::JsonView jsonValue)