AWS SDK for C++  1.9.109
AWS SDK for C++
StartHumanLoopRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace AugmentedAIRuntime
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "StartHumanLoop"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetHumanLoopName() const{ return m_humanLoopName; }
41 
45  inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
46 
50  inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; }
51 
55  inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); }
56 
60  inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); }
61 
65  inline StartHumanLoopRequest& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;}
66 
70  inline StartHumanLoopRequest& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;}
71 
75  inline StartHumanLoopRequest& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;}
76 
77 
82  inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
83 
88  inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
89 
94  inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
95 
100  inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
101 
106  inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
107 
112  inline StartHumanLoopRequest& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
113 
118  inline StartHumanLoopRequest& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
119 
124  inline StartHumanLoopRequest& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
125 
126 
130  inline const HumanLoopInput& GetHumanLoopInput() const{ return m_humanLoopInput; }
131 
135  inline bool HumanLoopInputHasBeenSet() const { return m_humanLoopInputHasBeenSet; }
136 
140  inline void SetHumanLoopInput(const HumanLoopInput& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = value; }
141 
145  inline void SetHumanLoopInput(HumanLoopInput&& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = std::move(value); }
146 
150  inline StartHumanLoopRequest& WithHumanLoopInput(const HumanLoopInput& value) { SetHumanLoopInput(value); return *this;}
151 
155  inline StartHumanLoopRequest& WithHumanLoopInput(HumanLoopInput&& value) { SetHumanLoopInput(std::move(value)); return *this;}
156 
157 
163  inline const HumanLoopDataAttributes& GetDataAttributes() const{ return m_dataAttributes; }
164 
170  inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
171 
177  inline void SetDataAttributes(const HumanLoopDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; }
178 
184  inline void SetDataAttributes(HumanLoopDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); }
185 
191  inline StartHumanLoopRequest& WithDataAttributes(const HumanLoopDataAttributes& value) { SetDataAttributes(value); return *this;}
192 
198  inline StartHumanLoopRequest& WithDataAttributes(HumanLoopDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;}
199 
200  private:
201 
202  Aws::String m_humanLoopName;
203  bool m_humanLoopNameHasBeenSet;
204 
205  Aws::String m_flowDefinitionArn;
206  bool m_flowDefinitionArnHasBeenSet;
207 
208  HumanLoopInput m_humanLoopInput;
209  bool m_humanLoopInputHasBeenSet;
210 
211  HumanLoopDataAttributes m_dataAttributes;
212  bool m_dataAttributesHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace AugmentedAIRuntime
217 } // namespace Aws
Aws::AugmentedAIRuntime::AugmentedAIRuntimeRequest
Definition: AugmentedAIRuntimeRequest.h:17
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithDataAttributes
StartHumanLoopRequest & WithDataAttributes(HumanLoopDataAttributes &&value)
Definition: StartHumanLoopRequest.h:198
AugmentedAIRuntime_EXPORTS.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::DataAttributesHasBeenSet
bool DataAttributesHasBeenSet() const
Definition: StartHumanLoopRequest.h:170
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetHumanLoopName
void SetHumanLoopName(const char *value)
Definition: StartHumanLoopRequest.h:60
HumanLoopInput.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest
Definition: StartHumanLoopRequest.h:24
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetHumanLoopInput
void SetHumanLoopInput(HumanLoopInput &&value)
Definition: StartHumanLoopRequest.h:145
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetHumanLoopName
void SetHumanLoopName(const Aws::String &value)
Definition: StartHumanLoopRequest.h:50
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetFlowDefinitionArn
void SetFlowDefinitionArn(Aws::String &&value)
Definition: StartHumanLoopRequest.h:100
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::FlowDefinitionArnHasBeenSet
bool FlowDefinitionArnHasBeenSet() const
Definition: StartHumanLoopRequest.h:88
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithFlowDefinitionArn
StartHumanLoopRequest & WithFlowDefinitionArn(const char *value)
Definition: StartHumanLoopRequest.h:124
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartHumanLoopRequest.h:32
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetHumanLoopInput
void SetHumanLoopInput(const HumanLoopInput &value)
Definition: StartHumanLoopRequest.h:140
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithFlowDefinitionArn
StartHumanLoopRequest & WithFlowDefinitionArn(Aws::String &&value)
Definition: StartHumanLoopRequest.h:118
Aws::AugmentedAIRuntime::Model::HumanLoopDataAttributes
Definition: HumanLoopDataAttributes.h:34
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithFlowDefinitionArn
StartHumanLoopRequest & WithFlowDefinitionArn(const Aws::String &value)
Definition: StartHumanLoopRequest.h:112
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::GetFlowDefinitionArn
const Aws::String & GetFlowDefinitionArn() const
Definition: StartHumanLoopRequest.h:82
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::HumanLoopInputHasBeenSet
bool HumanLoopInputHasBeenSet() const
Definition: StartHumanLoopRequest.h:135
AWSString.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::GetHumanLoopName
const Aws::String & GetHumanLoopName() const
Definition: StartHumanLoopRequest.h:40
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithHumanLoopInput
StartHumanLoopRequest & WithHumanLoopInput(HumanLoopInput &&value)
Definition: StartHumanLoopRequest.h:155
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetFlowDefinitionArn
void SetFlowDefinitionArn(const char *value)
Definition: StartHumanLoopRequest.h:106
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithDataAttributes
StartHumanLoopRequest & WithDataAttributes(const HumanLoopDataAttributes &value)
Definition: StartHumanLoopRequest.h:191
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::StartHumanLoopRequest
StartHumanLoopRequest()
HumanLoopDataAttributes.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::GetHumanLoopInput
const HumanLoopInput & GetHumanLoopInput() const
Definition: StartHumanLoopRequest.h:130
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetDataAttributes
void SetDataAttributes(HumanLoopDataAttributes &&value)
Definition: StartHumanLoopRequest.h:184
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetHumanLoopName
void SetHumanLoopName(Aws::String &&value)
Definition: StartHumanLoopRequest.h:55
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetDataAttributes
void SetDataAttributes(const HumanLoopDataAttributes &value)
Definition: StartHumanLoopRequest.h:177
Aws
Definition: AccessManagementClient.h:15
AWS_AUGMENTEDAIRUNTIME_API
#define AWS_AUGMENTEDAIRUNTIME_API
Definition: AugmentedAIRuntime_EXPORTS.h:28
Aws::AugmentedAIRuntime::Model::HumanLoopInput
Definition: HumanLoopInput.h:33
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::SetFlowDefinitionArn
void SetFlowDefinitionArn(const Aws::String &value)
Definition: StartHumanLoopRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AugmentedAIRuntimeRequest.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithHumanLoopInput
StartHumanLoopRequest & WithHumanLoopInput(const HumanLoopInput &value)
Definition: StartHumanLoopRequest.h:150
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithHumanLoopName
StartHumanLoopRequest & WithHumanLoopName(Aws::String &&value)
Definition: StartHumanLoopRequest.h:70
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithHumanLoopName
StartHumanLoopRequest & WithHumanLoopName(const Aws::String &value)
Definition: StartHumanLoopRequest.h:65
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::GetDataAttributes
const HumanLoopDataAttributes & GetDataAttributes() const
Definition: StartHumanLoopRequest.h:163
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::WithHumanLoopName
StartHumanLoopRequest & WithHumanLoopName(const char *value)
Definition: StartHumanLoopRequest.h:75
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest::HumanLoopNameHasBeenSet
bool HumanLoopNameHasBeenSet() const
Definition: StartHumanLoopRequest.h:45