AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
DeletePromptResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
24 public:
25 AWS_BEDROCKAGENT_API DeletePromptResult() = default;
28
30
33 inline const Aws::String& GetId() const { return m_id; }
34 template <typename IdT = Aws::String>
35 void SetId(IdT&& value) {
36 m_idHasBeenSet = true;
37 m_id = std::forward<IdT>(value);
38 }
39 template <typename IdT = Aws::String>
40 DeletePromptResult& WithId(IdT&& value) {
41 SetId(std::forward<IdT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetVersion() const { return m_version; }
51 template <typename VersionT = Aws::String>
52 void SetVersion(VersionT&& value) {
53 m_versionHasBeenSet = true;
54 m_version = std::forward<VersionT>(value);
55 }
56 template <typename VersionT = Aws::String>
57 DeletePromptResult& WithVersion(VersionT&& value) {
58 SetVersion(std::forward<VersionT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 DeletePromptResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_id;
79 bool m_idHasBeenSet = false;
80
81 Aws::String m_version;
82 bool m_versionHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace BedrockAgent
90} // namespace Aws
DeletePromptResult & WithVersion(VersionT &&value)
AWS_BEDROCKAGENT_API DeletePromptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKAGENT_API DeletePromptResult()=default
DeletePromptResult & WithId(IdT &&value)
DeletePromptResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API DeletePromptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue