AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteBotVersionResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/BotStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LEXMODELSV2_API DeleteBotVersionResult() = default;
34
35
37
40 inline const Aws::String& GetBotId() const { return m_botId; }
41 template<typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
43 template<typename BotIdT = Aws::String>
44 DeleteBotVersionResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
52 template<typename BotVersionT = Aws::String>
53 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
54 template<typename BotVersionT = Aws::String>
55 DeleteBotVersionResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
57
59
62 inline BotStatus GetBotStatus() const { return m_botStatus; }
63 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
64 inline DeleteBotVersionResult& WithBotStatus(BotStatus value) { SetBotStatus(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 DeleteBotVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_botId;
78 bool m_botIdHasBeenSet = false;
79
80 Aws::String m_botVersion;
81 bool m_botVersionHasBeenSet = false;
82
83 BotStatus m_botStatus{BotStatus::NOT_SET};
84 bool m_botStatusHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LexModelsV2
92} // 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