AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
PrepareFlowResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FlowStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
25 public:
26 AWS_BEDROCKAGENT_API PrepareFlowResult() = default;
29
31
34 inline const Aws::String& GetId() const { return m_id; }
35 template <typename IdT = Aws::String>
36 void SetId(IdT&& value) {
37 m_idHasBeenSet = true;
38 m_id = std::forward<IdT>(value);
39 }
40 template <typename IdT = Aws::String>
42 SetId(std::forward<IdT>(value));
43 return *this;
44 }
46
48
53 inline FlowStatus GetStatus() const { return m_status; }
54 inline void SetStatus(FlowStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_id;
80
82
83 Aws::String m_requestId;
84 bool m_idHasBeenSet = false;
85 bool m_statusHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace BedrockAgent
91} // namespace Aws
AWS_BEDROCKAGENT_API PrepareFlowResult()=default
PrepareFlowResult & WithStatus(FlowStatus value)
PrepareFlowResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API PrepareFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API PrepareFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PrepareFlowResult & WithId(IdT &&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