AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
HumanLoopConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/HumanLoopDataAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
31 public:
32 AWS_REKOGNITION_API HumanLoopConfig() = default;
33 AWS_REKOGNITION_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REKOGNITION_API HumanLoopConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
43 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
44 template <typename HumanLoopNameT = Aws::String>
45 void SetHumanLoopName(HumanLoopNameT&& value) {
46 m_humanLoopNameHasBeenSet = true;
47 m_humanLoopName = std::forward<HumanLoopNameT>(value);
48 }
49 template <typename HumanLoopNameT = Aws::String>
50 HumanLoopConfig& WithHumanLoopName(HumanLoopNameT&& value) {
51 SetHumanLoopName(std::forward<HumanLoopNameT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
64 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
65 template <typename FlowDefinitionArnT = Aws::String>
66 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) {
67 m_flowDefinitionArnHasBeenSet = true;
68 m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value);
69 }
70 template <typename FlowDefinitionArnT = Aws::String>
71 HumanLoopConfig& WithFlowDefinitionArn(FlowDefinitionArnT&& value) {
72 SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value));
73 return *this;
74 }
76
78
81 inline const HumanLoopDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
82 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
83 template <typename DataAttributesT = HumanLoopDataAttributes>
84 void SetDataAttributes(DataAttributesT&& value) {
85 m_dataAttributesHasBeenSet = true;
86 m_dataAttributes = std::forward<DataAttributesT>(value);
87 }
88 template <typename DataAttributesT = HumanLoopDataAttributes>
89 HumanLoopConfig& WithDataAttributes(DataAttributesT&& value) {
90 SetDataAttributes(std::forward<DataAttributesT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_humanLoopName;
96
97 Aws::String m_flowDefinitionArn;
98
99 HumanLoopDataAttributes m_dataAttributes;
100 bool m_humanLoopNameHasBeenSet = false;
101 bool m_flowDefinitionArnHasBeenSet = false;
102 bool m_dataAttributesHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Rekognition
107} // namespace Aws
void SetDataAttributes(DataAttributesT &&value)
void SetHumanLoopName(HumanLoopNameT &&value)
HumanLoopConfig & WithDataAttributes(DataAttributesT &&value)
AWS_REKOGNITION_API HumanLoopConfig()=default
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHumanLoopName() const
HumanLoopConfig & WithHumanLoopName(HumanLoopNameT &&value)
void SetFlowDefinitionArn(FlowDefinitionArnT &&value)
AWS_REKOGNITION_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
const HumanLoopDataAttributes & GetDataAttributes() const
const Aws::String & GetFlowDefinitionArn() const
AWS_REKOGNITION_API HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue