AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StopFlowExecutionResult.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgentRuntime
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCKAGENTRUNTIME_API StopFlowExecutionResult() = default;
34
35
37
41 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
42 template<typename ExecutionArnT = Aws::String>
43 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
44 template<typename ExecutionArnT = Aws::String>
45 StopFlowExecutionResult& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
47
49
53 inline FlowExecutionStatus GetStatus() const { return m_status; }
54 inline void SetStatus(FlowExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
55 inline StopFlowExecutionResult& WithStatus(FlowExecutionStatus value) { SetStatus(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 StopFlowExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_executionArn;
69 bool m_executionArnHasBeenSet = false;
70
72 bool m_statusHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace BedrockAgentRuntime
80} // namespace Aws
StopFlowExecutionResult & WithStatus(FlowExecutionStatus value)
AWS_BEDROCKAGENTRUNTIME_API StopFlowExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopFlowExecutionResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API StopFlowExecutionResult()=default
AWS_BEDROCKAGENTRUNTIME_API StopFlowExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopFlowExecutionResult & WithExecutionArn(ExecutionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue