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/cleanroomsml/CleanRoomsML_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 CleanRoomsML
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLEANROOMSML_API ServiceQuotaExceededException() = default;
37 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetMessage() const { return m_message; }
43 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
44 template<typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
46 template<typename MessageT = Aws::String>
47 ServiceQuotaExceededException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
49
51
54 inline const Aws::String& GetQuotaName() const { return m_quotaName; }
55 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
56 template<typename QuotaNameT = Aws::String>
57 void SetQuotaName(QuotaNameT&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::forward<QuotaNameT>(value); }
58 template<typename QuotaNameT = Aws::String>
59 ServiceQuotaExceededException& WithQuotaName(QuotaNameT&& value) { SetQuotaName(std::forward<QuotaNameT>(value)); return *this;}
61
63
66 inline double GetQuotaValue() const { return m_quotaValue; }
67 inline bool QuotaValueHasBeenSet() const { return m_quotaValueHasBeenSet; }
68 inline void SetQuotaValue(double value) { m_quotaValueHasBeenSet = true; m_quotaValue = value; }
69 inline ServiceQuotaExceededException& WithQuotaValue(double value) { SetQuotaValue(value); return *this;}
71 private:
72
73 Aws::String m_message;
74 bool m_messageHasBeenSet = false;
75
76 Aws::String m_quotaName;
77 bool m_quotaNameHasBeenSet = false;
78
79 double m_quotaValue{0.0};
80 bool m_quotaValueHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CleanRoomsML
85} // namespace Aws
AWS_CLEANROOMSML_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API ServiceQuotaExceededException()=default
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithQuotaValue(double value)
ServiceQuotaExceededException & WithQuotaName(QuotaNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue