AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StartBotRecommendationRequest.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#include <aws/lexv2-models/model/EncryptionSetting.h>
11#include <aws/lexv2-models/model/TranscriptSourceSetting.h>
12
13#include <utility>
14
15namespace Aws {
16namespace LexModelsV2 {
17namespace Model {
18
22 public:
23 AWS_LEXMODELSV2_API StartBotRecommendationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartBotRecommendation"; }
30
31 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetBotId() const { return m_botId; }
38 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
39 template <typename BotIdT = Aws::String>
40 void SetBotId(BotIdT&& value) {
41 m_botIdHasBeenSet = true;
42 m_botId = std::forward<BotIdT>(value);
43 }
44 template <typename BotIdT = Aws::String>
46 SetBotId(std::forward<BotIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
56 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
57 template <typename BotVersionT = Aws::String>
58 void SetBotVersion(BotVersionT&& value) {
59 m_botVersionHasBeenSet = true;
60 m_botVersion = std::forward<BotVersionT>(value);
61 }
62 template <typename BotVersionT = Aws::String>
64 SetBotVersion(std::forward<BotVersionT>(value));
65 return *this;
66 }
68
70
76 inline const Aws::String& GetLocaleId() const { return m_localeId; }
77 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
78 template <typename LocaleIdT = Aws::String>
79 void SetLocaleId(LocaleIdT&& value) {
80 m_localeIdHasBeenSet = true;
81 m_localeId = std::forward<LocaleIdT>(value);
82 }
83 template <typename LocaleIdT = Aws::String>
85 SetLocaleId(std::forward<LocaleIdT>(value));
86 return *this;
87 }
89
91
95 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
96 inline bool TranscriptSourceSettingHasBeenSet() const { return m_transcriptSourceSettingHasBeenSet; }
97 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
98 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) {
99 m_transcriptSourceSettingHasBeenSet = true;
100 m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value);
101 }
102 template <typename TranscriptSourceSettingT = TranscriptSourceSetting>
104 SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value));
105 return *this;
106 }
108
110
115 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
116 inline bool EncryptionSettingHasBeenSet() const { return m_encryptionSettingHasBeenSet; }
117 template <typename EncryptionSettingT = EncryptionSetting>
118 void SetEncryptionSetting(EncryptionSettingT&& value) {
119 m_encryptionSettingHasBeenSet = true;
120 m_encryptionSetting = std::forward<EncryptionSettingT>(value);
121 }
122 template <typename EncryptionSettingT = EncryptionSetting>
124 SetEncryptionSetting(std::forward<EncryptionSettingT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_botId;
130
131 Aws::String m_botVersion;
132
133 Aws::String m_localeId;
134
135 TranscriptSourceSetting m_transcriptSourceSetting;
136
137 EncryptionSetting m_encryptionSetting;
138 bool m_botIdHasBeenSet = false;
139 bool m_botVersionHasBeenSet = false;
140 bool m_localeIdHasBeenSet = false;
141 bool m_transcriptSourceSettingHasBeenSet = false;
142 bool m_encryptionSettingHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace LexModelsV2
147} // namespace Aws
StartBotRecommendationRequest & WithTranscriptSourceSetting(TranscriptSourceSettingT &&value)
StartBotRecommendationRequest & WithLocaleId(LocaleIdT &&value)
StartBotRecommendationRequest & WithEncryptionSetting(EncryptionSettingT &&value)
StartBotRecommendationRequest & WithBotVersion(BotVersionT &&value)
StartBotRecommendationRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API StartBotRecommendationRequest()=default
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String