AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DeleteBotLocaleResult.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/BotLocaleStatus.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 DeleteBotLocaleResult() = 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 DeleteBotLocaleResult& WithBotVersion(BotVersionT&& value) {
59 SetBotVersion(std::forward<BotVersionT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetLocaleId() const { return m_localeId; }
69 template <typename LocaleIdT = Aws::String>
70 void SetLocaleId(LocaleIdT&& value) {
71 m_localeIdHasBeenSet = true;
72 m_localeId = std::forward<LocaleIdT>(value);
73 }
74 template <typename LocaleIdT = Aws::String>
75 DeleteBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
76 SetLocaleId(std::forward<LocaleIdT>(value));
77 return *this;
78 }
80
82
87 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
89 m_botLocaleStatusHasBeenSet = true;
90 m_botLocaleStatus = value;
91 }
93 SetBotLocaleStatus(value);
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_botId;
114
115 Aws::String m_botVersion;
116
117 Aws::String m_localeId;
118
119 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
120
121 Aws::String m_requestId;
122 bool m_botIdHasBeenSet = false;
123 bool m_botVersionHasBeenSet = false;
124 bool m_localeIdHasBeenSet = false;
125 bool m_botLocaleStatusHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace LexModelsV2
131} // namespace Aws
AWS_LEXMODELSV2_API DeleteBotLocaleResult()=default
DeleteBotLocaleResult & WithBotId(BotIdT &&value)
DeleteBotLocaleResult & WithBotVersion(BotVersionT &&value)
DeleteBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
AWS_LEXMODELSV2_API DeleteBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API DeleteBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBotLocaleResult & WithRequestId(RequestIdT &&value)
DeleteBotLocaleResult & WithLocaleId(LocaleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue