AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
GetFlowVersionRequest.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 GetFlowVersionRequest() = 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 "GetFlowVersion"; }
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
59 inline const Aws::String& GetFlowVersion() const { return m_flowVersion; }
60 inline bool FlowVersionHasBeenSet() const { return m_flowVersionHasBeenSet; }
61 template <typename FlowVersionT = Aws::String>
63 m_flowVersionHasBeenSet = true;
64 m_flowVersion = std::forward<FlowVersionT>(value);
65 }
66 template <typename FlowVersionT = Aws::String>
68 SetFlowVersion(std::forward<FlowVersionT>(value));
69 return *this;
70 }
72
74
79 inline IncludedData GetIncludedData() const { return m_includedData; }
80 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
81 inline void SetIncludedData(IncludedData value) {
82 m_includedDataHasBeenSet = true;
83 m_includedData = value;
84 }
86 SetIncludedData(value);
87 return *this;
88 }
90 private:
91 Aws::String m_flowIdentifier;
92
93 Aws::String m_flowVersion;
94
95 IncludedData m_includedData{IncludedData::NOT_SET};
96 bool m_flowIdentifierHasBeenSet = false;
97 bool m_flowVersionHasBeenSet = false;
98 bool m_includedDataHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgent
103} // namespace Aws
AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetFlowVersionRequest & WithFlowVersion(FlowVersionT &&value)
AWS_BEDROCKAGENT_API GetFlowVersionRequest()=default
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
GetFlowVersionRequest & WithIncludedData(IncludedData value)
GetFlowVersionRequest & WithFlowIdentifier(FlowIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String