AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
StopFlowExecutionResult.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/model/FlowExecutionStatus.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgentRuntime {
24namespace Model {
26 public:
27 AWS_BEDROCKAGENTRUNTIME_API StopFlowExecutionResult() = default;
30
32
36 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
37 template <typename ExecutionArnT = Aws::String>
39 m_executionArnHasBeenSet = true;
40 m_executionArn = std::forward<ExecutionArnT>(value);
41 }
42 template <typename ExecutionArnT = Aws::String>
44 SetExecutionArn(std::forward<ExecutionArnT>(value));
45 return *this;
46 }
48
50
54 inline FlowExecutionStatus GetStatus() const { return m_status; }
55 inline void SetStatus(FlowExecutionStatus value) {
56 m_statusHasBeenSet = true;
57 m_status = value;
58 }
60 SetStatus(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_executionArn;
83
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_executionArnHasBeenSet = false;
89 bool m_statusHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace BedrockAgentRuntime
95} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue