AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
GetFlowRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/IncludedData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace BedrockAgent {
19namespace Model {
20
24 public:
25 AWS_BEDROCKAGENT_API GetFlowRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetFlow"; }
32
33 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
34
35 AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
42 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
43 template <typename FlowIdentifierT = Aws::String>
45 m_flowIdentifierHasBeenSet = true;
46 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
47 }
48 template <typename FlowIdentifierT = Aws::String>
50 SetFlowIdentifier(std::forward<FlowIdentifierT>(value));
51 return *this;
52 }
54
56
61 inline IncludedData GetIncludedData() const { return m_includedData; }
62 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
63 inline void SetIncludedData(IncludedData value) {
64 m_includedDataHasBeenSet = true;
65 m_includedData = value;
66 }
68 SetIncludedData(value);
69 return *this;
70 }
72 private:
73 Aws::String m_flowIdentifier;
74
75 IncludedData m_includedData{IncludedData::NOT_SET};
76 bool m_flowIdentifierHasBeenSet = false;
77 bool m_includedDataHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BedrockAgent
82} // namespace Aws
AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetFlowRequest & WithIncludedData(IncludedData value)
void SetFlowIdentifier(FlowIdentifierT &&value)
AWS_BEDROCKAGENT_API GetFlowRequest()=default
GetFlowRequest & WithFlowIdentifier(FlowIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
void SetIncludedData(IncludedData value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
const Aws::String & GetFlowIdentifier() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String