AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ExceedsLimitException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EntityResolution {
20namespace Model {
21
30 public:
31 AWS_ENTITYRESOLUTION_API ExceedsLimitException() = default;
32 AWS_ENTITYRESOLUTION_API ExceedsLimitException(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API ExceedsLimitException& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::String& GetMessage() const { return m_message; }
39 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
40 template <typename MessageT = Aws::String>
41 void SetMessage(MessageT&& value) {
42 m_messageHasBeenSet = true;
43 m_message = std::forward<MessageT>(value);
44 }
45 template <typename MessageT = Aws::String>
47 SetMessage(std::forward<MessageT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetQuotaName() const { return m_quotaName; }
57 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
58 template <typename QuotaNameT = Aws::String>
59 void SetQuotaName(QuotaNameT&& value) {
60 m_quotaNameHasBeenSet = true;
61 m_quotaName = std::forward<QuotaNameT>(value);
62 }
63 template <typename QuotaNameT = Aws::String>
64 ExceedsLimitException& WithQuotaName(QuotaNameT&& value) {
65 SetQuotaName(std::forward<QuotaNameT>(value));
66 return *this;
67 }
69
71
74 inline int GetQuotaValue() const { return m_quotaValue; }
75 inline bool QuotaValueHasBeenSet() const { return m_quotaValueHasBeenSet; }
76 inline void SetQuotaValue(int value) {
77 m_quotaValueHasBeenSet = true;
78 m_quotaValue = value;
79 }
81 SetQuotaValue(value);
82 return *this;
83 }
85 private:
86 Aws::String m_message;
87
88 Aws::String m_quotaName;
89
90 int m_quotaValue{0};
91 bool m_messageHasBeenSet = false;
92 bool m_quotaNameHasBeenSet = false;
93 bool m_quotaValueHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace EntityResolution
98} // namespace Aws
AWS_ENTITYRESOLUTION_API ExceedsLimitException(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API ExceedsLimitException & operator=(Aws::Utils::Json::JsonView jsonValue)
ExceedsLimitException & WithQuotaName(QuotaNameT &&value)
ExceedsLimitException & WithMessage(MessageT &&value)
AWS_ENTITYRESOLUTION_API ExceedsLimitException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue