AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
DeleteBotAliasResult.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/BotAliasStatus.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 DeleteBotAliasResult() = default;
30
32
35 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
36 template <typename BotAliasIdT = Aws::String>
37 void SetBotAliasId(BotAliasIdT&& value) {
38 m_botAliasIdHasBeenSet = true;
39 m_botAliasId = std::forward<BotAliasIdT>(value);
40 }
41 template <typename BotAliasIdT = Aws::String>
42 DeleteBotAliasResult& WithBotAliasId(BotAliasIdT&& value) {
43 SetBotAliasId(std::forward<BotAliasIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetBotId() const { return m_botId; }
53 template <typename BotIdT = Aws::String>
54 void SetBotId(BotIdT&& value) {
55 m_botIdHasBeenSet = true;
56 m_botId = std::forward<BotIdT>(value);
57 }
58 template <typename BotIdT = Aws::String>
60 SetBotId(std::forward<BotIdT>(value));
61 return *this;
62 }
64
66
72 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
73 inline void SetBotAliasStatus(BotAliasStatus value) {
74 m_botAliasStatusHasBeenSet = true;
75 m_botAliasStatus = value;
76 }
78 SetBotAliasStatus(value);
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
92 DeleteBotAliasResult& WithRequestId(RequestIdT&& value) {
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_botAliasId;
101
102 Aws::String m_botId;
103
104 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_botAliasIdHasBeenSet = false;
109 bool m_botIdHasBeenSet = false;
110 bool m_botAliasStatusHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace LexModelsV2
116} // namespace Aws
AWS_LEXMODELSV2_API DeleteBotAliasResult()=default
DeleteBotAliasResult & WithBotId(BotIdT &&value)
DeleteBotAliasResult & WithBotAliasStatus(BotAliasStatus value)
DeleteBotAliasResult & WithBotAliasId(BotAliasIdT &&value)
AWS_LEXMODELSV2_API DeleteBotAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteBotAliasResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_LEXMODELSV2_API DeleteBotAliasResult(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