AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
DeleteRetrievalInstructionResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
25 public:
26 AWS_BEDROCKAGENT_API DeleteRetrievalInstructionResult() = default;
29
31
34 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
35 template <typename RetrievalInstructionIdT = Aws::String>
36 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
37 m_retrievalInstructionIdHasBeenSet = true;
38 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
39 }
40 template <typename RetrievalInstructionIdT = Aws::String>
42 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetRetrievalInstructionArn() const { return m_retrievalInstructionArn; }
52 template <typename RetrievalInstructionArnT = Aws::String>
53 void SetRetrievalInstructionArn(RetrievalInstructionArnT&& value) {
54 m_retrievalInstructionArnHasBeenSet = true;
55 m_retrievalInstructionArn = std::forward<RetrievalInstructionArnT>(value);
56 }
57 template <typename RetrievalInstructionArnT = Aws::String>
59 SetRetrievalInstructionArn(std::forward<RetrievalInstructionArnT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetVersion() const { return m_version; }
70 template <typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) {
72 m_versionHasBeenSet = true;
73 m_version = std::forward<VersionT>(value);
74 }
75 template <typename VersionT = Aws::String>
77 SetVersion(std::forward<VersionT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_retrievalInstructionId;
100
101 Aws::String m_retrievalInstructionArn;
102
103 Aws::String m_version;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_retrievalInstructionIdHasBeenSet = false;
108 bool m_retrievalInstructionArnHasBeenSet = false;
109 bool m_versionHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace BedrockAgent
115} // namespace Aws
DeleteRetrievalInstructionResult & WithVersion(VersionT &&value)
DeleteRetrievalInstructionResult & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
AWS_BEDROCKAGENT_API DeleteRetrievalInstructionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteRetrievalInstructionResult & WithRetrievalInstructionArn(RetrievalInstructionArnT &&value)
AWS_BEDROCKAGENT_API DeleteRetrievalInstructionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API DeleteRetrievalInstructionResult()=default
DeleteRetrievalInstructionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue