AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetInvocationStepRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace BedrockAgentRuntime {
15namespace Model {
16
20 public:
21 AWS_BEDROCKAGENTRUNTIME_API GetInvocationStepRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetInvocationStep"; }
28
29 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetInvocationIdentifier() const { return m_invocationIdentifier; }
36 inline bool InvocationIdentifierHasBeenSet() const { return m_invocationIdentifierHasBeenSet; }
37 template <typename InvocationIdentifierT = Aws::String>
39 m_invocationIdentifierHasBeenSet = true;
40 m_invocationIdentifier = std::forward<InvocationIdentifierT>(value);
41 }
42 template <typename InvocationIdentifierT = Aws::String>
44 SetInvocationIdentifier(std::forward<InvocationIdentifierT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetInvocationStepId() const { return m_invocationStepId; }
55 inline bool InvocationStepIdHasBeenSet() const { return m_invocationStepIdHasBeenSet; }
56 template <typename InvocationStepIdT = Aws::String>
58 m_invocationStepIdHasBeenSet = true;
59 m_invocationStepId = std::forward<InvocationStepIdT>(value);
60 }
61 template <typename InvocationStepIdT = Aws::String>
63 SetInvocationStepId(std::forward<InvocationStepIdT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetSessionIdentifier() const { return m_sessionIdentifier; }
75 inline bool SessionIdentifierHasBeenSet() const { return m_sessionIdentifierHasBeenSet; }
76 template <typename SessionIdentifierT = Aws::String>
78 m_sessionIdentifierHasBeenSet = true;
79 m_sessionIdentifier = std::forward<SessionIdentifierT>(value);
80 }
81 template <typename SessionIdentifierT = Aws::String>
83 SetSessionIdentifier(std::forward<SessionIdentifierT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_invocationIdentifier;
89
90 Aws::String m_invocationStepId;
91
92 Aws::String m_sessionIdentifier;
93 bool m_invocationIdentifierHasBeenSet = false;
94 bool m_invocationStepIdHasBeenSet = false;
95 bool m_sessionIdentifierHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace BedrockAgentRuntime
100} // namespace Aws
AWS_BEDROCKAGENTRUNTIME_API GetInvocationStepRequest()=default
GetInvocationStepRequest & WithInvocationIdentifier(InvocationIdentifierT &&value)
GetInvocationStepRequest & WithInvocationStepId(InvocationStepIdT &&value)
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
GetInvocationStepRequest & WithSessionIdentifier(SessionIdentifierT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String