AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteUtterancesRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace LexModelsV2
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LEXMODELSV2_API DeleteUtterancesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteUtterances"; }
35
36 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
37
38 AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 template<typename BotIdT = Aws::String>
48 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
49 template<typename BotIdT = Aws::String>
50 DeleteUtterancesRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
52
54
61 inline const Aws::String& GetLocaleId() const { return m_localeId; }
62 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
63 template<typename LocaleIdT = Aws::String>
64 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
65 template<typename LocaleIdT = Aws::String>
66 DeleteUtterancesRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
68
70
78 inline const Aws::String& GetSessionId() const { return m_sessionId; }
79 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
80 template<typename SessionIdT = Aws::String>
81 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
82 template<typename SessionIdT = Aws::String>
83 DeleteUtterancesRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_botId;
88 bool m_botIdHasBeenSet = false;
89
90 Aws::String m_localeId;
91 bool m_localeIdHasBeenSet = false;
92
93 Aws::String m_sessionId;
94 bool m_sessionIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LexModelsV2
99} // 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