AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeleteBotVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/BotStatus.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 LexModelsV2 {
23namespace Model {
25 public:
26 AWS_LEXMODELSV2_API DeleteBotVersionResult() = default;
29
31
34 inline const Aws::String& GetBotId() const { return m_botId; }
35 template <typename BotIdT = Aws::String>
36 void SetBotId(BotIdT&& value) {
37 m_botIdHasBeenSet = true;
38 m_botId = std::forward<BotIdT>(value);
39 }
40 template <typename BotIdT = Aws::String>
42 SetBotId(std::forward<BotIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
52 template <typename BotVersionT = Aws::String>
53 void SetBotVersion(BotVersionT&& value) {
54 m_botVersionHasBeenSet = true;
55 m_botVersion = std::forward<BotVersionT>(value);
56 }
57 template <typename BotVersionT = Aws::String>
58 DeleteBotVersionResult& WithBotVersion(BotVersionT&& value) {
59 SetBotVersion(std::forward<BotVersionT>(value));
60 return *this;
61 }
63
65
68 inline BotStatus GetBotStatus() const { return m_botStatus; }
69 inline void SetBotStatus(BotStatus value) {
70 m_botStatusHasBeenSet = true;
71 m_botStatus = value;
72 }
74 SetBotStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_botId;
95
96 Aws::String m_botVersion;
97
98 BotStatus m_botStatus{BotStatus::NOT_SET};
99
100 Aws::String m_requestId;
101 bool m_botIdHasBeenSet = false;
102 bool m_botVersionHasBeenSet = false;
103 bool m_botStatusHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LexModelsV2
109} // 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)
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