AWS SDK for C++  1.9.108
AWS SDK for C++
ServiceQuotaExceededException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace LookoutforVision
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
43 
44  inline const Aws::String& GetMessage() const{ return m_message; }
45 
46 
47  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 
49 
50  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
51 
52 
53  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
54 
55 
56  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
57 
58 
59  inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
60 
61 
62  inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
63 
64 
65  inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
66 
67 
71  inline const Aws::String& GetResourceId() const{ return m_resourceId; }
72 
76  inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
77 
81  inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
82 
86  inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
87 
91  inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
92 
96  inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
97 
101  inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
102 
106  inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;}
107 
108 
112  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
113 
117  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
118 
122  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
123 
127  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
128 
132  inline ServiceQuotaExceededException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
133 
137  inline ServiceQuotaExceededException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
138 
139 
143  inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
144 
148  inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
149 
153  inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
154 
158  inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
159 
163  inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
164 
168  inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
169 
173  inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
174 
178  inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
179 
180 
184  inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
185 
189  inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
190 
194  inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
195 
199  inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
200 
204  inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
205 
209  inline ServiceQuotaExceededException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
210 
214  inline ServiceQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
215 
219  inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
220 
221  private:
222 
223  Aws::String m_message;
224  bool m_messageHasBeenSet;
225 
226  Aws::String m_resourceId;
227  bool m_resourceIdHasBeenSet;
228 
229  ResourceType m_resourceType;
230  bool m_resourceTypeHasBeenSet;
231 
232  Aws::String m_quotaCode;
233  bool m_quotaCodeHasBeenSet;
234 
235  Aws::String m_serviceCode;
236  bool m_serviceCodeHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace LookoutforVision
241 } // namespace Aws
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:62
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(const char *value)
Definition: ServiceQuotaExceededException.h:91
Aws::LookoutforVision::Model::ServiceQuotaExceededException::GetResourceType
const ResourceType & GetResourceType() const
Definition: ServiceQuotaExceededException.h:112
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithResourceType
ServiceQuotaExceededException & WithResourceType(ResourceType &&value)
Definition: ServiceQuotaExceededException.h:137
Aws::LookoutforVision::Model::ServiceQuotaExceededException::GetQuotaCode
const Aws::String & GetQuotaCode() const
Definition: ServiceQuotaExceededException.h:143
Aws::LookoutforVision::Model::ServiceQuotaExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ServiceQuotaExceededException.h:47
Aws::LookoutforVision::Model::ServiceQuotaExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: ServiceQuotaExceededException.h:44
Aws::LookoutforVision::Model::ServiceQuotaExceededException::GetServiceCode
const Aws::String & GetServiceCode() const
Definition: ServiceQuotaExceededException.h:184
Aws::LookoutforVision::Model::ServiceQuotaExceededException
Definition: ServiceQuotaExceededException.h:35
ResourceType.h
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:50
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:168
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:158
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: ServiceQuotaExceededException.h:122
Aws::LookoutforVision::Model::ServiceQuotaExceededException::GetResourceId
const Aws::String & GetResourceId() const
Definition: ServiceQuotaExceededException.h:71
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:59
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(const char *value)
Definition: ServiceQuotaExceededException.h:178
Aws::LookoutforVision::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::LookoutforVision::Model::ServiceQuotaExceededException::QuotaCodeHasBeenSet
bool QuotaCodeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:148
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:53
Aws::LookoutforVision::Model::ServiceQuotaExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetMessage
void SetMessage(const char *value)
Definition: ServiceQuotaExceededException.h:56
Aws::LookoutforVision::Model::ServiceQuotaExceededException::ServiceQuotaExceededException
ServiceQuotaExceededException()
Aws::LookoutforVision::Model::ServiceQuotaExceededException::ServiceQuotaExceededException
ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: ServiceQuotaExceededException.h:127
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:153
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:209
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:101
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithQuotaCode
ServiceQuotaExceededException & WithQuotaCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:173
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:199
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(const char *value)
Definition: ServiceQuotaExceededException.h:106
AWSString.h
Aws::LookoutforVision::Model::ServiceQuotaExceededException::operator=
ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetQuotaCode
void SetQuotaCode(const char *value)
Definition: ServiceQuotaExceededException.h:163
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:81
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(const char *value)
Definition: ServiceQuotaExceededException.h:204
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetResourceId
void SetResourceId(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:86
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithMessage
ServiceQuotaExceededException & WithMessage(const char *value)
Definition: ServiceQuotaExceededException.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::ServiceQuotaExceededException::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:117
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithResourceType
ServiceQuotaExceededException & WithResourceType(const ResourceType &value)
Definition: ServiceQuotaExceededException.h:132
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(const char *value)
Definition: ServiceQuotaExceededException.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithServiceCode
ServiceQuotaExceededException & WithServiceCode(Aws::String &&value)
Definition: ServiceQuotaExceededException.h:214
Aws::LookoutforVision::Model::ServiceQuotaExceededException::WithResourceId
ServiceQuotaExceededException & WithResourceId(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:96
Aws::LookoutforVision::Model::ServiceQuotaExceededException::ServiceCodeHasBeenSet
bool ServiceCodeHasBeenSet() const
Definition: ServiceQuotaExceededException.h:189
Aws::LookoutforVision::Model::ServiceQuotaExceededException::ResourceIdHasBeenSet
bool ResourceIdHasBeenSet() const
Definition: ServiceQuotaExceededException.h:76
Aws::LookoutforVision::Model::ServiceQuotaExceededException::SetServiceCode
void SetServiceCode(const Aws::String &value)
Definition: ServiceQuotaExceededException.h:194