AWS SDK for C++  1.9.129
AWS SDK for C++
ServiceQuotaExceededException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GreengrassV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
41 
42  inline const Aws::String& GetMessage() const{ return m_message; }
43 
44 
45  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
46 
47 
48  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
49 
50 
51  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
52 
53 
54  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
55 
56 
57  inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
58 
59 
60  inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
61 
62 
63  inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
64 
65 
69  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
70 
74  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
75 
79  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
80 
84  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
85 
89  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
90 
94  inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
95 
99  inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
100 
104  inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
105 
106 
110  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
111 
115  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
116 
120  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
121 
125  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
126 
130  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
131 
135  inline ServiceQuotaExceededException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
136 
140  inline ServiceQuotaExceededException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
141 
145  inline ServiceQuotaExceededException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
146 
147 
153  inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
154 
160  inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
161 
167  inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
168 
174  inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
175 
181  inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
182 
188  inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
189 
195  inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
196 
202  inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
203 
204 
210  inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
211 
217  inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
218 
224  inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
225 
231  inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
232 
238  inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
239 
245  inline ServiceQuotaExceededException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
246 
252  inline ServiceQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
253 
259  inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
260 
261  private:
262 
263  Aws::String m_message;
264  bool m_messageHasBeenSet;
265 
266  Aws::String m_resourceId;
267  bool m_resourceIdHasBeenSet;
268 
269  Aws::String m_resourceType;
270  bool m_resourceTypeHasBeenSet;
271 
272  Aws::String m_quotaCode;
273  bool m_quotaCodeHasBeenSet;
274 
275  Aws::String m_serviceCode;
276  bool m_serviceCodeHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace GreengrassV2
281 } // namespace Aws
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:60
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceType
ServiceQuotaExceededException & WithResourceType(const char *value)
Definition: ServiceQuotaExceededException.h:145
Aws::GreengrassV2::Model::ServiceQuotaExceededException::GetResourceType
const Aws::String & GetResourceType() const
Definition: ServiceQuotaExceededException.h:110
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:51
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:224
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(const char *value)
Definition: ServiceQuotaExceededException.h:259
Aws::GreengrassV2::Model::ServiceQuotaExceededException::GetServiceCode
const Aws::String & GetServiceCode() const
Definition: ServiceQuotaExceededException.h:210
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(const char *value)
Definition: ServiceQuotaExceededException.h:63
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:195
Aws::GreengrassV2::Model::ServiceQuotaExceededException::ServiceCodeHasBeenSet
bool ServiceCodeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:217
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:167
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:252
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:99
Aws::GreengrassV2::Model::ServiceQuotaExceededException::GetQuotaCode
const Aws::String & GetQuotaCode() const
Definition: ServiceQuotaExceededException.h:153
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(const char *value)
Definition: ServiceQuotaExceededException.h:89
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(const char *value)
Definition: ServiceQuotaExceededException.h:181
Aws::GreengrassV2::Model::ServiceQuotaExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ServiceQuotaExceededException.h:45
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:188
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceType
void SetResourceType(const char *value)
Definition: ServiceQuotaExceededException.h:130
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:120
Aws::GreengrassV2::Model::ServiceQuotaExceededException::ServiceQuotaExceededException
ServiceQuotaExceededException()
Aws::GreengrassV2::Model::ServiceQuotaExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ServiceQuotaExceededException::GetResourceId
const Aws::String & GetResourceId() const
Definition: ServiceQuotaExceededException.h:69
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceType
ServiceQuotaExceededException & WithResourceType(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:140
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:245
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(const char *value)
Definition: ServiceQuotaExceededException.h:54
Aws::GreengrassV2::Model::ServiceQuotaExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: ServiceQuotaExceededException.h:42
Aws::GreengrassV2::Model::ServiceQuotaExceededException::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: ServiceQuotaExceededException.h:74
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(const char *value)
Definition: ServiceQuotaExceededException.h:238
Aws::GreengrassV2::Model::ServiceQuotaExceededException::QuotaCodeHasBeenSet
bool QuotaCodeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:160
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(const char *value)
Definition: ServiceQuotaExceededException.h:104
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:231
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:125
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:57
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:174
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:48
Aws::GreengrassV2::Model::ServiceQuotaExceededException::operator=
ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:79
Aws::GreengrassV2::Model::ServiceQuotaExceededException
Definition: ServiceQuotaExceededException.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ServiceQuotaExceededException::ServiceQuotaExceededException
ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ServiceQuotaExceededException::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:115
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(const char *value)
Definition: ServiceQuotaExceededException.h:202
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:84
Aws::GreengrassV2::Model::ServiceQuotaExceededException::WithResourceType
ServiceQuotaExceededException & WithResourceType(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:135