AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartBotRecommendationRequest.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 <aws/lexv2-models/model/TranscriptSourceSetting.h>
11#include <aws/lexv2-models/model/EncryptionSetting.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LexModelsV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LEXMODELSV2_API StartBotRecommendationRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartBotRecommendation"; }
33
34 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
43 template<typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
45 template<typename BotIdT = Aws::String>
46 StartBotRecommendationRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
54 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
55 template<typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
57 template<typename BotVersionT = Aws::String>
58 StartBotRecommendationRequest& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
60
62
68 inline const Aws::String& GetLocaleId() const { return m_localeId; }
69 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
70 template<typename LocaleIdT = Aws::String>
71 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
72 template<typename LocaleIdT = Aws::String>
73 StartBotRecommendationRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
75
77
81 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const { return m_transcriptSourceSetting; }
82 inline bool TranscriptSourceSettingHasBeenSet() const { return m_transcriptSourceSettingHasBeenSet; }
83 template<typename TranscriptSourceSettingT = TranscriptSourceSetting>
84 void SetTranscriptSourceSetting(TranscriptSourceSettingT&& value) { m_transcriptSourceSettingHasBeenSet = true; m_transcriptSourceSetting = std::forward<TranscriptSourceSettingT>(value); }
85 template<typename TranscriptSourceSettingT = TranscriptSourceSetting>
86 StartBotRecommendationRequest& WithTranscriptSourceSetting(TranscriptSourceSettingT&& value) { SetTranscriptSourceSetting(std::forward<TranscriptSourceSettingT>(value)); return *this;}
88
90
95 inline const EncryptionSetting& GetEncryptionSetting() const { return m_encryptionSetting; }
96 inline bool EncryptionSettingHasBeenSet() const { return m_encryptionSettingHasBeenSet; }
97 template<typename EncryptionSettingT = EncryptionSetting>
98 void SetEncryptionSetting(EncryptionSettingT&& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = std::forward<EncryptionSettingT>(value); }
99 template<typename EncryptionSettingT = EncryptionSetting>
100 StartBotRecommendationRequest& WithEncryptionSetting(EncryptionSettingT&& value) { SetEncryptionSetting(std::forward<EncryptionSettingT>(value)); return *this;}
102 private:
103
104 Aws::String m_botId;
105 bool m_botIdHasBeenSet = false;
106
107 Aws::String m_botVersion;
108 bool m_botVersionHasBeenSet = false;
109
110 Aws::String m_localeId;
111 bool m_localeIdHasBeenSet = false;
112
113 TranscriptSourceSetting m_transcriptSourceSetting;
114 bool m_transcriptSourceSettingHasBeenSet = false;
115
116 EncryptionSetting m_encryptionSetting;
117 bool m_encryptionSettingHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace LexModelsV2
122} // 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