AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HumanLoopQuotaExceededException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/textract/Textract_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Textract {
20namespace Model {
21
29 public:
30 AWS_TEXTRACT_API HumanLoopQuotaExceededException() = default;
33 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetResourceType() const { return m_resourceType; }
40 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
41 template <typename ResourceTypeT = Aws::String>
42 void SetResourceType(ResourceTypeT&& value) {
43 m_resourceTypeHasBeenSet = true;
44 m_resourceType = std::forward<ResourceTypeT>(value);
45 }
46 template <typename ResourceTypeT = Aws::String>
48 SetResourceType(std::forward<ResourceTypeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
58 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
59 template <typename QuotaCodeT = Aws::String>
60 void SetQuotaCode(QuotaCodeT&& value) {
61 m_quotaCodeHasBeenSet = true;
62 m_quotaCode = std::forward<QuotaCodeT>(value);
63 }
64 template <typename QuotaCodeT = Aws::String>
66 SetQuotaCode(std::forward<QuotaCodeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
76 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
77 template <typename ServiceCodeT = Aws::String>
78 void SetServiceCode(ServiceCodeT&& value) {
79 m_serviceCodeHasBeenSet = true;
80 m_serviceCode = std::forward<ServiceCodeT>(value);
81 }
82 template <typename ServiceCodeT = Aws::String>
84 SetServiceCode(std::forward<ServiceCodeT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_resourceType;
90
91 Aws::String m_quotaCode;
92
93 Aws::String m_serviceCode;
94 bool m_resourceTypeHasBeenSet = false;
95 bool m_quotaCodeHasBeenSet = false;
96 bool m_serviceCodeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Textract
101} // namespace Aws
AWS_TEXTRACT_API HumanLoopQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API HumanLoopQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API HumanLoopQuotaExceededException()=default
HumanLoopQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
HumanLoopQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
HumanLoopQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue