AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
44 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
45 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
46 inline StartBotRecommendationRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline StartBotRecommendationRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline StartBotRecommendationRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
50
52
55 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
56 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
57 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
58 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
59 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
60 inline StartBotRecommendationRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
61 inline StartBotRecommendationRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
62 inline StartBotRecommendationRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
64
66
72 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
73 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
74 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
75 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
76 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
77 inline StartBotRecommendationRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
78 inline StartBotRecommendationRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
79 inline StartBotRecommendationRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
81
83
87 inline const TranscriptSourceSetting& GetTranscriptSourceSetting() const{ return m_transcriptSourceSetting; }
88 inline bool TranscriptSourceSettingHasBeenSet() const { return m_transcriptSourceSettingHasBeenSet; }
89 inline void SetTranscriptSourceSetting(const TranscriptSourceSetting& value) { m_transcriptSourceSettingHasBeenSet = true; m_transcriptSourceSetting = value; }
90 inline void SetTranscriptSourceSetting(TranscriptSourceSetting&& value) { m_transcriptSourceSettingHasBeenSet = true; m_transcriptSourceSetting = std::move(value); }
91 inline StartBotRecommendationRequest& WithTranscriptSourceSetting(const TranscriptSourceSetting& value) { SetTranscriptSourceSetting(value); return *this;}
92 inline StartBotRecommendationRequest& WithTranscriptSourceSetting(TranscriptSourceSetting&& value) { SetTranscriptSourceSetting(std::move(value)); return *this;}
94
96
101 inline const EncryptionSetting& GetEncryptionSetting() const{ return m_encryptionSetting; }
102 inline bool EncryptionSettingHasBeenSet() const { return m_encryptionSettingHasBeenSet; }
103 inline void SetEncryptionSetting(const EncryptionSetting& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = value; }
104 inline void SetEncryptionSetting(EncryptionSetting&& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = std::move(value); }
108 private:
109
110 Aws::String m_botId;
111 bool m_botIdHasBeenSet = false;
112
113 Aws::String m_botVersion;
114 bool m_botVersionHasBeenSet = false;
115
116 Aws::String m_localeId;
117 bool m_localeIdHasBeenSet = false;
118
119 TranscriptSourceSetting m_transcriptSourceSetting;
120 bool m_transcriptSourceSettingHasBeenSet = false;
121
122 EncryptionSetting m_encryptionSetting;
123 bool m_encryptionSettingHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace LexModelsV2
128} // namespace Aws
StartBotRecommendationRequest & WithEncryptionSetting(const EncryptionSetting &value)
StartBotRecommendationRequest & WithLocaleId(const Aws::String &value)
void SetTranscriptSourceSetting(const TranscriptSourceSetting &value)
StartBotRecommendationRequest & WithBotVersion(const Aws::String &value)
StartBotRecommendationRequest & WithBotVersion(const char *value)
StartBotRecommendationRequest & WithLocaleId(const char *value)
StartBotRecommendationRequest & WithLocaleId(Aws::String &&value)
StartBotRecommendationRequest & WithTranscriptSourceSetting(TranscriptSourceSetting &&value)
StartBotRecommendationRequest & WithBotVersion(Aws::String &&value)
StartBotRecommendationRequest & WithBotId(const char *value)
StartBotRecommendationRequest & WithTranscriptSourceSetting(const TranscriptSourceSetting &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
StartBotRecommendationRequest & WithEncryptionSetting(EncryptionSetting &&value)
StartBotRecommendationRequest & WithBotId(Aws::String &&value)
StartBotRecommendationRequest & WithBotId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String