AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteBotAliasResult.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/BotAliasStatus.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 DeleteBotAliasResult() = default;
29
31
34 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
35 template <typename BotAliasIdT = Aws::String>
36 void SetBotAliasId(BotAliasIdT&& value) {
37 m_botAliasIdHasBeenSet = true;
38 m_botAliasId = std::forward<BotAliasIdT>(value);
39 }
40 template <typename BotAliasIdT = Aws::String>
41 DeleteBotAliasResult& WithBotAliasId(BotAliasIdT&& value) {
42 SetBotAliasId(std::forward<BotAliasIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetBotId() const { return m_botId; }
52 template <typename BotIdT = Aws::String>
53 void SetBotId(BotIdT&& value) {
54 m_botIdHasBeenSet = true;
55 m_botId = std::forward<BotIdT>(value);
56 }
57 template <typename BotIdT = Aws::String>
59 SetBotId(std::forward<BotIdT>(value));
60 return *this;
61 }
63
65
71 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
72 inline void SetBotAliasStatus(BotAliasStatus value) {
73 m_botAliasStatusHasBeenSet = true;
74 m_botAliasStatus = value;
75 }
77 SetBotAliasStatus(value);
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
91 DeleteBotAliasResult& WithRequestId(RequestIdT&& value) {
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_botAliasId;
98
99 Aws::String m_botId;
100
101 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
102
103 Aws::String m_requestId;
104 bool m_botAliasIdHasBeenSet = false;
105 bool m_botIdHasBeenSet = false;
106 bool m_botAliasStatusHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace LexModelsV2
112} // 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_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