AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteIntentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace LexModelsV2 {
15namespace Model {
16
20 public:
21 AWS_LEXMODELSV2_API DeleteIntentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteIntent"; }
28
29 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetIntentId() const { return m_intentId; }
36 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
37 template <typename IntentIdT = Aws::String>
38 void SetIntentId(IntentIdT&& value) {
39 m_intentIdHasBeenSet = true;
40 m_intentId = std::forward<IntentIdT>(value);
41 }
42 template <typename IntentIdT = Aws::String>
43 DeleteIntentRequest& WithIntentId(IntentIdT&& value) {
44 SetIntentId(std::forward<IntentIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetBotId() const { return m_botId; }
54 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
55 template <typename BotIdT = Aws::String>
56 void SetBotId(BotIdT&& value) {
57 m_botIdHasBeenSet = true;
58 m_botId = std::forward<BotIdT>(value);
59 }
60 template <typename BotIdT = Aws::String>
61 DeleteIntentRequest& WithBotId(BotIdT&& value) {
62 SetBotId(std::forward<BotIdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
72 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
73 template <typename BotVersionT = Aws::String>
74 void SetBotVersion(BotVersionT&& value) {
75 m_botVersionHasBeenSet = true;
76 m_botVersion = std::forward<BotVersionT>(value);
77 }
78 template <typename BotVersionT = Aws::String>
79 DeleteIntentRequest& WithBotVersion(BotVersionT&& value) {
80 SetBotVersion(std::forward<BotVersionT>(value));
81 return *this;
82 }
84
86
92 inline const Aws::String& GetLocaleId() const { return m_localeId; }
93 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
94 template <typename LocaleIdT = Aws::String>
95 void SetLocaleId(LocaleIdT&& value) {
96 m_localeIdHasBeenSet = true;
97 m_localeId = std::forward<LocaleIdT>(value);
98 }
99 template <typename LocaleIdT = Aws::String>
100 DeleteIntentRequest& WithLocaleId(LocaleIdT&& value) {
101 SetLocaleId(std::forward<LocaleIdT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_intentId;
107
108 Aws::String m_botId;
109
110 Aws::String m_botVersion;
111
112 Aws::String m_localeId;
113 bool m_intentIdHasBeenSet = false;
114 bool m_botIdHasBeenSet = false;
115 bool m_botVersionHasBeenSet = false;
116 bool m_localeIdHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace LexModelsV2
121} // namespace Aws
DeleteIntentRequest & WithIntentId(IntentIdT &&value)
DeleteIntentRequest & WithBotId(BotIdT &&value)
DeleteIntentRequest & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API DeleteIntentRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteIntentRequest & WithBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String