AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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 CleanRooms
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLEANROOMS_API ServiceQuotaExceededException() = default;
38 AWS_CLEANROOMS_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 template<typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
47 template<typename MessageT = Aws::String>
48 ServiceQuotaExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
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) { m_quotaNameHasBeenSet = true; m_quotaName = std::forward<QuotaNameT>(value); }
59 template<typename QuotaNameT = Aws::String>
60 ServiceQuotaExceededException& WithQuotaName(QuotaNameT&& value) { SetQuotaName(std::forward<QuotaNameT>(value)); return *this;}
62
64
67 inline double GetQuotaValue() const { return m_quotaValue; }
68 inline bool QuotaValueHasBeenSet() const { return m_quotaValueHasBeenSet; }
69 inline void SetQuotaValue(double value) { m_quotaValueHasBeenSet = true; m_quotaValue = value; }
70 inline ServiceQuotaExceededException& WithQuotaValue(double value) { SetQuotaValue(value); return *this;}
72 private:
73
74 Aws::String m_message;
75 bool m_messageHasBeenSet = false;
76
77 Aws::String m_quotaName;
78 bool m_quotaNameHasBeenSet = false;
79
80 double m_quotaValue{0.0};
81 bool m_quotaValueHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CleanRooms
86} // 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