AWS SDK for C++

AWS SDK for C++ Version 1.11.915

Loading...
Searching...
No Matches
ServiceQuotaExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LambdaWeb {
20namespace Model {
21
31 public:
32 AWS_LAMBDAWEB_API ServiceQuotaExceededException() = default;
35 AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetMessage() const { return m_message; }
42 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
43 template <typename MessageT = Aws::String>
44 void SetMessage(MessageT&& value) {
45 m_messageHasBeenSet = true;
46 m_message = std::forward<MessageT>(value);
47 }
48 template <typename MessageT = Aws::String>
50 SetMessage(std::forward<MessageT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetResourceId() const { return m_resourceId; }
60 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
61 template <typename ResourceIdT = Aws::String>
62 void SetResourceId(ResourceIdT&& value) {
63 m_resourceIdHasBeenSet = true;
64 m_resourceId = std::forward<ResourceIdT>(value);
65 }
66 template <typename ResourceIdT = Aws::String>
68 SetResourceId(std::forward<ResourceIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetResourceType() const { return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
79 template <typename ResourceTypeT = Aws::String>
80 void SetResourceType(ResourceTypeT&& value) {
81 m_resourceTypeHasBeenSet = true;
82 m_resourceType = std::forward<ResourceTypeT>(value);
83 }
84 template <typename ResourceTypeT = Aws::String>
86 SetResourceType(std::forward<ResourceTypeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
96 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
97 template <typename ServiceCodeT = Aws::String>
98 void SetServiceCode(ServiceCodeT&& value) {
99 m_serviceCodeHasBeenSet = true;
100 m_serviceCode = std::forward<ServiceCodeT>(value);
101 }
102 template <typename ServiceCodeT = Aws::String>
104 SetServiceCode(std::forward<ServiceCodeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
114 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
115 template <typename QuotaCodeT = Aws::String>
116 void SetQuotaCode(QuotaCodeT&& value) {
117 m_quotaCodeHasBeenSet = true;
118 m_quotaCode = std::forward<QuotaCodeT>(value);
119 }
120 template <typename QuotaCodeT = Aws::String>
122 SetQuotaCode(std::forward<QuotaCodeT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_message;
128
129 Aws::String m_resourceId;
130
131 Aws::String m_resourceType;
132
133 Aws::String m_serviceCode;
134
135 Aws::String m_quotaCode;
136 bool m_messageHasBeenSet = false;
137 bool m_resourceIdHasBeenSet = false;
138 bool m_resourceTypeHasBeenSet = false;
139 bool m_serviceCodeHasBeenSet = false;
140 bool m_quotaCodeHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace LambdaWeb
145} // namespace Aws
AWS_LAMBDAWEB_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_LAMBDAWEB_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
AWS_LAMBDAWEB_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue