AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteBotLocaleResult.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/BotLocaleStatus.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 DeleteBotLocaleResult() = 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 DeleteBotLocaleResult& WithBotVersion(BotVersionT&& value) {
60 SetBotVersion(std::forward<BotVersionT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetLocaleId() const { return m_localeId; }
70 template <typename LocaleIdT = Aws::String>
71 void SetLocaleId(LocaleIdT&& value) {
72 m_localeIdHasBeenSet = true;
73 m_localeId = std::forward<LocaleIdT>(value);
74 }
75 template <typename LocaleIdT = Aws::String>
76 DeleteBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
77 SetLocaleId(std::forward<LocaleIdT>(value));
78 return *this;
79 }
81
83
88 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
90 m_botLocaleStatusHasBeenSet = true;
91 m_botLocaleStatus = value;
92 }
94 SetBotLocaleStatus(value);
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
114
115 private:
116 Aws::String m_botId;
117
118 Aws::String m_botVersion;
119
120 Aws::String m_localeId;
121
122 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
123
124 Aws::String m_requestId;
125 Aws::Http::HttpResponseCode m_HttpResponseCode;
126 bool m_botIdHasBeenSet = false;
127 bool m_botVersionHasBeenSet = false;
128 bool m_localeIdHasBeenSet = false;
129 bool m_botLocaleStatusHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace LexModelsV2
135} // namespace Aws
AWS_LEXMODELSV2_API DeleteBotLocaleResult()=default
DeleteBotLocaleResult & WithBotId(BotIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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