AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DeleteBotVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2 {
24namespace Model {
26 public:
27 AWS_LEXMODELSV2_API DeleteBotVersionResult() = default;
30
32
35 inline const Aws::String& GetBotId() const { return m_botId; }
36 template <typename BotIdT = Aws::String>
37 void SetBotId(BotIdT&& value) {
38 m_botIdHasBeenSet = true;
39 m_botId = std::forward<BotIdT>(value);
40 }
41 template <typename BotIdT = Aws::String>
43 SetBotId(std::forward<BotIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
53 template <typename BotVersionT = Aws::String>
54 void SetBotVersion(BotVersionT&& value) {
55 m_botVersionHasBeenSet = true;
56 m_botVersion = std::forward<BotVersionT>(value);
57 }
58 template <typename BotVersionT = Aws::String>
59 DeleteBotVersionResult& WithBotVersion(BotVersionT&& value) {
60 SetBotVersion(std::forward<BotVersionT>(value));
61 return *this;
62 }
64
66
69 inline BotStatus GetBotStatus() const { return m_botStatus; }
70 inline void SetBotStatus(BotStatus value) {
71 m_botStatusHasBeenSet = true;
72 m_botStatus = value;
73 }
75 SetBotStatus(value);
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_botId;
98
99 Aws::String m_botVersion;
100
101 BotStatus m_botStatus{BotStatus::NOT_SET};
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_botIdHasBeenSet = false;
106 bool m_botVersionHasBeenSet = false;
107 bool m_botStatusHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace LexModelsV2
113} // namespace Aws
AWS_LEXMODELSV2_API DeleteBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBotVersionResult & WithBotStatus(BotStatus value)
AWS_LEXMODELSV2_API DeleteBotVersionResult()=default
DeleteBotVersionResult & WithRequestId(RequestIdT &&value)
DeleteBotVersionResult & WithBotVersion(BotVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DeleteBotVersionResult & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API DeleteBotVersionResult(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