AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBotRecommendationRequest.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/EncryptionSetting.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LexModelsV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LEXMODELSV2_API UpdateBotRecommendationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateBotRecommendation"; }
32
33 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
34
35
37
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 UpdateBotRecommendationRequest& 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 UpdateBotRecommendationRequest& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
60
62
69 inline const Aws::String& GetLocaleId() const { return m_localeId; }
70 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
71 template<typename LocaleIdT = Aws::String>
72 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
73 template<typename LocaleIdT = Aws::String>
74 UpdateBotRecommendationRequest& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
82 inline bool BotRecommendationIdHasBeenSet() const { return m_botRecommendationIdHasBeenSet; }
83 template<typename BotRecommendationIdT = Aws::String>
84 void SetBotRecommendationId(BotRecommendationIdT&& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::forward<BotRecommendationIdT>(value); }
85 template<typename BotRecommendationIdT = Aws::String>
86 UpdateBotRecommendationRequest& WithBotRecommendationId(BotRecommendationIdT&& value) { SetBotRecommendationId(std::forward<BotRecommendationIdT>(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 UpdateBotRecommendationRequest& 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 Aws::String m_botRecommendationId;
114 bool m_botRecommendationIdHasBeenSet = false;
115
116 EncryptionSetting m_encryptionSetting;
117 bool m_encryptionSettingHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace LexModelsV2
122} // namespace Aws
UpdateBotRecommendationRequest & WithBotVersion(BotVersionT &&value)
UpdateBotRecommendationRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API UpdateBotRecommendationRequest()=default
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
UpdateBotRecommendationRequest & WithLocaleId(LocaleIdT &&value)
UpdateBotRecommendationRequest & WithEncryptionSetting(EncryptionSettingT &&value)
UpdateBotRecommendationRequest & WithBotRecommendationId(BotRecommendationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String