AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateInvocationRequest.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace BedrockAgentRuntime
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_BEDROCKAGENTRUNTIME_API CreateInvocationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateInvocation"; }
31
32 AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 CreateInvocationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetInvocationId() const { return m_invocationId; }
53 inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; }
54 template<typename InvocationIdT = Aws::String>
55 void SetInvocationId(InvocationIdT&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::forward<InvocationIdT>(value); }
56 template<typename InvocationIdT = Aws::String>
57 CreateInvocationRequest& WithInvocationId(InvocationIdT&& value) { SetInvocationId(std::forward<InvocationIdT>(value)); return *this;}
59
61
66 inline const Aws::String& GetSessionIdentifier() const { return m_sessionIdentifier; }
67 inline bool SessionIdentifierHasBeenSet() const { return m_sessionIdentifierHasBeenSet; }
68 template<typename SessionIdentifierT = Aws::String>
69 void SetSessionIdentifier(SessionIdentifierT&& value) { m_sessionIdentifierHasBeenSet = true; m_sessionIdentifier = std::forward<SessionIdentifierT>(value); }
70 template<typename SessionIdentifierT = Aws::String>
71 CreateInvocationRequest& WithSessionIdentifier(SessionIdentifierT&& value) { SetSessionIdentifier(std::forward<SessionIdentifierT>(value)); return *this;}
73 private:
74
75 Aws::String m_description;
76 bool m_descriptionHasBeenSet = false;
77
78 Aws::String m_invocationId;
79 bool m_invocationIdHasBeenSet = false;
80
81 Aws::String m_sessionIdentifier;
82 bool m_sessionIdentifierHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace BedrockAgentRuntime
87} // namespace Aws
CreateInvocationRequest & WithSessionIdentifier(SessionIdentifierT &&value)
AWS_BEDROCKAGENTRUNTIME_API CreateInvocationRequest()=default
AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override
CreateInvocationRequest & WithDescription(DescriptionT &&value)
CreateInvocationRequest & WithInvocationId(InvocationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String