AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExceedsLimitException.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EntityResolution
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API ExceedsLimitException() = default;
37 AWS_ENTITYRESOLUTION_API ExceedsLimitException(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API ExceedsLimitException& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::String& GetMessage() const { return m_message; }
45 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 template<typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
48 template<typename MessageT = Aws::String>
49 ExceedsLimitException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
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) { m_quotaNameHasBeenSet = true; m_quotaName = std::forward<QuotaNameT>(value); }
60 template<typename QuotaNameT = Aws::String>
61 ExceedsLimitException& WithQuotaName(QuotaNameT&& value) { SetQuotaName(std::forward<QuotaNameT>(value)); return *this;}
63
65
68 inline int GetQuotaValue() const { return m_quotaValue; }
69 inline bool QuotaValueHasBeenSet() const { return m_quotaValueHasBeenSet; }
70 inline void SetQuotaValue(int value) { m_quotaValueHasBeenSet = true; m_quotaValue = value; }
71 inline ExceedsLimitException& WithQuotaValue(int value) { SetQuotaValue(value); return *this;}
73 private:
74
75 Aws::String m_message;
76 bool m_messageHasBeenSet = false;
77
78 Aws::String m_quotaName;
79 bool m_quotaNameHasBeenSet = false;
80
81 int m_quotaValue{0};
82 bool m_quotaValueHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace EntityResolution
87} // 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