AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanLoopConfig.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/model/HumanLoopDataAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TEXTRACT_API HumanLoopConfig();
38 AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetHumanLoopName() const{ return m_humanLoopName; }
49 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
50 inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; }
51 inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); }
52 inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); }
53 inline HumanLoopConfig& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;}
54 inline HumanLoopConfig& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;}
55 inline HumanLoopConfig& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;}
57
59
62 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
63 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
64 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
65 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
66 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
67 inline HumanLoopConfig& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
68 inline HumanLoopConfig& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
69 inline HumanLoopConfig& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
71
73
76 inline const HumanLoopDataAttributes& GetDataAttributes() const{ return m_dataAttributes; }
77 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
78 inline void SetDataAttributes(const HumanLoopDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; }
79 inline void SetDataAttributes(HumanLoopDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); }
80 inline HumanLoopConfig& WithDataAttributes(const HumanLoopDataAttributes& value) { SetDataAttributes(value); return *this;}
81 inline HumanLoopConfig& WithDataAttributes(HumanLoopDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_humanLoopName;
86 bool m_humanLoopNameHasBeenSet = false;
87
88 Aws::String m_flowDefinitionArn;
89 bool m_flowDefinitionArnHasBeenSet = false;
90
91 HumanLoopDataAttributes m_dataAttributes;
92 bool m_dataAttributesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Textract
97} // namespace Aws
void SetFlowDefinitionArn(const char *value)
void SetHumanLoopName(const Aws::String &value)
HumanLoopConfig & WithHumanLoopName(const char *value)
void SetFlowDefinitionArn(Aws::String &&value)
AWS_TEXTRACT_API HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithFlowDefinitionArn(const char *value)
HumanLoopConfig & WithHumanLoopName(Aws::String &&value)
const Aws::String & GetHumanLoopName() const
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
const HumanLoopDataAttributes & GetDataAttributes() const
const Aws::String & GetFlowDefinitionArn() const
HumanLoopConfig & WithFlowDefinitionArn(const Aws::String &value)
void SetDataAttributes(const HumanLoopDataAttributes &value)
AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
void SetHumanLoopName(const char *value)
HumanLoopConfig & WithDataAttributes(HumanLoopDataAttributes &&value)
HumanLoopConfig & WithFlowDefinitionArn(Aws::String &&value)
void SetFlowDefinitionArn(const Aws::String &value)
HumanLoopConfig & WithDataAttributes(const HumanLoopDataAttributes &value)
void SetDataAttributes(HumanLoopDataAttributes &&value)
void SetHumanLoopName(Aws::String &&value)
HumanLoopConfig & WithHumanLoopName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue