AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteUtterancesRequest.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 Http {
15class URI;
16} // namespace Http
17namespace LexModelsV2 {
18namespace Model {
19
23 public:
24 AWS_LEXMODELSV2_API DeleteUtterancesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteUtterances"; }
31
32 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
33
34 AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetBotId() const { return m_botId; }
41 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
42 template <typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) {
44 m_botIdHasBeenSet = true;
45 m_botId = std::forward<BotIdT>(value);
46 }
47 template <typename BotIdT = Aws::String>
49 SetBotId(std::forward<BotIdT>(value));
50 return *this;
51 }
53
55
62 inline const Aws::String& GetLocaleId() const { return m_localeId; }
63 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
64 template <typename LocaleIdT = Aws::String>
65 void SetLocaleId(LocaleIdT&& value) {
66 m_localeIdHasBeenSet = true;
67 m_localeId = std::forward<LocaleIdT>(value);
68 }
69 template <typename LocaleIdT = Aws::String>
71 SetLocaleId(std::forward<LocaleIdT>(value));
72 return *this;
73 }
75
77
85 inline const Aws::String& GetSessionId() const { return m_sessionId; }
86 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
87 template <typename SessionIdT = Aws::String>
88 void SetSessionId(SessionIdT&& value) {
89 m_sessionIdHasBeenSet = true;
90 m_sessionId = std::forward<SessionIdT>(value);
91 }
92 template <typename SessionIdT = Aws::String>
94 SetSessionId(std::forward<SessionIdT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_botId;
100
101 Aws::String m_localeId;
102
103 Aws::String m_sessionId;
104 bool m_botIdHasBeenSet = false;
105 bool m_localeIdHasBeenSet = false;
106 bool m_sessionIdHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace LexModelsV2
111} // namespace Aws
DeleteUtterancesRequest & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
DeleteUtterancesRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API DeleteUtterancesRequest()=default
AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteUtterancesRequest & WithSessionId(SessionIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String