AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
GetRetrievalInstructionRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace BedrockAgent {
18namespace Model {
19
23 public:
24 AWS_BEDROCKAGENT_API GetRetrievalInstructionRequest() = 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 "GetRetrievalInstruction"; }
31
32 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
33
34 AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
41 inline bool RetrievalInstructionIdHasBeenSet() const { return m_retrievalInstructionIdHasBeenSet; }
42 template <typename RetrievalInstructionIdT = Aws::String>
43 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
44 m_retrievalInstructionIdHasBeenSet = true;
45 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
46 }
47 template <typename RetrievalInstructionIdT = Aws::String>
49 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetRetrievalInstructionVersion() const { return m_retrievalInstructionVersion; }
62 inline bool RetrievalInstructionVersionHasBeenSet() const { return m_retrievalInstructionVersionHasBeenSet; }
63 template <typename RetrievalInstructionVersionT = Aws::String>
64 void SetRetrievalInstructionVersion(RetrievalInstructionVersionT&& value) {
65 m_retrievalInstructionVersionHasBeenSet = true;
66 m_retrievalInstructionVersion = std::forward<RetrievalInstructionVersionT>(value);
67 }
68 template <typename RetrievalInstructionVersionT = Aws::String>
69 GetRetrievalInstructionRequest& WithRetrievalInstructionVersion(RetrievalInstructionVersionT&& value) {
70 SetRetrievalInstructionVersion(std::forward<RetrievalInstructionVersionT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_retrievalInstructionId;
76
77 Aws::String m_retrievalInstructionVersion;
78 bool m_retrievalInstructionIdHasBeenSet = false;
79 bool m_retrievalInstructionVersionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace BedrockAgent
84} // namespace Aws
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
void SetRetrievalInstructionVersion(RetrievalInstructionVersionT &&value)
GetRetrievalInstructionRequest & WithRetrievalInstructionVersion(RetrievalInstructionVersionT &&value)
GetRetrievalInstructionRequest & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
AWS_BEDROCKAGENT_API GetRetrievalInstructionRequest()=default
AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String