AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HumanLoopActivationOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/Textract_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Textract {
21namespace Model {
22
31 public:
32 AWS_TEXTRACT_API HumanLoopActivationOutput() = default;
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetHumanLoopArn() const { return m_humanLoopArn; }
42 inline bool HumanLoopArnHasBeenSet() const { return m_humanLoopArnHasBeenSet; }
43 template <typename HumanLoopArnT = Aws::String>
44 void SetHumanLoopArn(HumanLoopArnT&& value) {
45 m_humanLoopArnHasBeenSet = true;
46 m_humanLoopArn = std::forward<HumanLoopArnT>(value);
47 }
48 template <typename HumanLoopArnT = Aws::String>
50 SetHumanLoopArn(std::forward<HumanLoopArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<Aws::String>& GetHumanLoopActivationReasons() const { return m_humanLoopActivationReasons; }
60 inline bool HumanLoopActivationReasonsHasBeenSet() const { return m_humanLoopActivationReasonsHasBeenSet; }
61 template <typename HumanLoopActivationReasonsT = Aws::Vector<Aws::String>>
62 void SetHumanLoopActivationReasons(HumanLoopActivationReasonsT&& value) {
63 m_humanLoopActivationReasonsHasBeenSet = true;
64 m_humanLoopActivationReasons = std::forward<HumanLoopActivationReasonsT>(value);
65 }
66 template <typename HumanLoopActivationReasonsT = Aws::Vector<Aws::String>>
67 HumanLoopActivationOutput& WithHumanLoopActivationReasons(HumanLoopActivationReasonsT&& value) {
68 SetHumanLoopActivationReasons(std::forward<HumanLoopActivationReasonsT>(value));
69 return *this;
70 }
71 template <typename HumanLoopActivationReasonsT = Aws::String>
72 HumanLoopActivationOutput& AddHumanLoopActivationReasons(HumanLoopActivationReasonsT&& value) {
73 m_humanLoopActivationReasonsHasBeenSet = true;
74 m_humanLoopActivationReasons.emplace_back(std::forward<HumanLoopActivationReasonsT>(value));
75 return *this;
76 }
78
80
85 return m_humanLoopActivationConditionsEvaluationResults;
86 }
88 return m_humanLoopActivationConditionsEvaluationResultsHasBeenSet;
89 }
90 template <typename HumanLoopActivationConditionsEvaluationResultsT = Aws::String>
91 void SetHumanLoopActivationConditionsEvaluationResults(HumanLoopActivationConditionsEvaluationResultsT&& value) {
92 m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = true;
93 m_humanLoopActivationConditionsEvaluationResults = std::forward<HumanLoopActivationConditionsEvaluationResultsT>(value);
94 }
95 template <typename HumanLoopActivationConditionsEvaluationResultsT = Aws::String>
96 HumanLoopActivationOutput& WithHumanLoopActivationConditionsEvaluationResults(HumanLoopActivationConditionsEvaluationResultsT&& value) {
97 SetHumanLoopActivationConditionsEvaluationResults(std::forward<HumanLoopActivationConditionsEvaluationResultsT>(value));
98 return *this;
99 }
101 private:
102 Aws::String m_humanLoopArn;
103
104 Aws::Vector<Aws::String> m_humanLoopActivationReasons;
105
106 Aws::String m_humanLoopActivationConditionsEvaluationResults;
107 bool m_humanLoopArnHasBeenSet = false;
108 bool m_humanLoopActivationReasonsHasBeenSet = false;
109 bool m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Textract
114} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API HumanLoopActivationOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API HumanLoopActivationOutput()=default
HumanLoopActivationOutput & WithHumanLoopActivationConditionsEvaluationResults(HumanLoopActivationConditionsEvaluationResultsT &&value)
void SetHumanLoopActivationReasons(HumanLoopActivationReasonsT &&value)
void SetHumanLoopActivationConditionsEvaluationResults(HumanLoopActivationConditionsEvaluationResultsT &&value)
const Aws::String & GetHumanLoopActivationConditionsEvaluationResults() const
AWS_TEXTRACT_API HumanLoopActivationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopActivationOutput & AddHumanLoopActivationReasons(HumanLoopActivationReasonsT &&value)
HumanLoopActivationOutput & WithHumanLoopArn(HumanLoopArnT &&value)
HumanLoopActivationOutput & WithHumanLoopActivationReasons(HumanLoopActivationReasonsT &&value)
const Aws::Vector< Aws::String > & GetHumanLoopActivationReasons() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue