AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanLoopQuotaExceededException.h
1
6#pragma once
7#include <aws/textract/Textract_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 Textract
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
46 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
47 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
48 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
49 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
50 inline HumanLoopQuotaExceededException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
51 inline HumanLoopQuotaExceededException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
52 inline HumanLoopQuotaExceededException& WithResourceType(const char* value) { SetResourceType(value); return *this;}
54
56
59 inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
60 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
61 inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
62 inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
63 inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
64 inline HumanLoopQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
65 inline HumanLoopQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
66 inline HumanLoopQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
68
70
73 inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
74 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
75 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
76 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
77 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
78 inline HumanLoopQuotaExceededException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
79 inline HumanLoopQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
80 inline HumanLoopQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
82 private:
83
84 Aws::String m_resourceType;
85 bool m_resourceTypeHasBeenSet = false;
86
87 Aws::String m_quotaCode;
88 bool m_quotaCodeHasBeenSet = false;
89
90 Aws::String m_serviceCode;
91 bool m_serviceCodeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Textract
96} // namespace Aws
AWS_TEXTRACT_API HumanLoopQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopQuotaExceededException & WithServiceCode(const char *value)
HumanLoopQuotaExceededException & WithResourceType(const char *value)
HumanLoopQuotaExceededException & WithServiceCode(const Aws::String &value)
AWS_TEXTRACT_API HumanLoopQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
HumanLoopQuotaExceededException & WithQuotaCode(Aws::String &&value)
HumanLoopQuotaExceededException & WithQuotaCode(const Aws::String &value)
HumanLoopQuotaExceededException & WithQuotaCode(const char *value)
HumanLoopQuotaExceededException & WithServiceCode(Aws::String &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
HumanLoopQuotaExceededException & WithResourceType(const Aws::String &value)
HumanLoopQuotaExceededException & WithResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue