AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRooms {
20namespace Model {
21
29 public:
30 AWS_CLEANROOMS_API ServiceQuotaExceededException() = default;
33 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetMessage() const { return m_message; }
38 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
39 template <typename MessageT = Aws::String>
40 void SetMessage(MessageT&& value) {
41 m_messageHasBeenSet = true;
42 m_message = std::forward<MessageT>(value);
43 }
44 template <typename MessageT = Aws::String>
46 SetMessage(std::forward<MessageT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetQuotaName() const { return m_quotaName; }
56 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
57 template <typename QuotaNameT = Aws::String>
58 void SetQuotaName(QuotaNameT&& value) {
59 m_quotaNameHasBeenSet = true;
60 m_quotaName = std::forward<QuotaNameT>(value);
61 }
62 template <typename QuotaNameT = Aws::String>
64 SetQuotaName(std::forward<QuotaNameT>(value));
65 return *this;
66 }
68
70
73 inline double GetQuotaValue() const { return m_quotaValue; }
74 inline bool QuotaValueHasBeenSet() const { return m_quotaValueHasBeenSet; }
75 inline void SetQuotaValue(double value) {
76 m_quotaValueHasBeenSet = true;
77 m_quotaValue = value;
78 }
80 SetQuotaValue(value);
81 return *this;
82 }
84 private:
85 Aws::String m_message;
86
87 Aws::String m_quotaName;
88
89 double m_quotaValue{0.0};
90 bool m_messageHasBeenSet = false;
91 bool m_quotaNameHasBeenSet = false;
92 bool m_quotaValueHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CleanRooms
97} // namespace Aws
AWS_CLEANROOMS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithQuotaValue(double value)
ServiceQuotaExceededException & WithQuotaName(QuotaNameT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
AWS_CLEANROOMS_API ServiceQuotaExceededException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue