AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateBotRecommendationRequest.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
12#include <utility>
13
14namespace Aws {
15namespace LexModelsV2 {
16namespace Model {
17
21 public:
22 AWS_LEXMODELSV2_API UpdateBotRecommendationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateBotRecommendation"; }
29
30 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
31
33
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
77 inline const Aws::String& GetLocaleId() const { return m_localeId; }
78 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
79 template <typename LocaleIdT = Aws::String>
80 void SetLocaleId(LocaleIdT&& value) {
81 m_localeIdHasBeenSet = true;
82 m_localeId = std::forward<LocaleIdT>(value);
83 }
84 template <typename LocaleIdT = Aws::String>
86 SetLocaleId(std::forward<LocaleIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
96 inline bool BotRecommendationIdHasBeenSet() const { return m_botRecommendationIdHasBeenSet; }
97 template <typename BotRecommendationIdT = Aws::String>
98 void SetBotRecommendationId(BotRecommendationIdT&& value) {
99 m_botRecommendationIdHasBeenSet = true;
100 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
101 }
102 template <typename BotRecommendationIdT = Aws::String>
104 SetBotRecommendationId(std::forward<BotRecommendationIdT>(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 Aws::String m_botRecommendationId;
136
137 EncryptionSetting m_encryptionSetting;
138 bool m_botIdHasBeenSet = false;
139 bool m_botVersionHasBeenSet = false;
140 bool m_localeIdHasBeenSet = false;
141 bool m_botRecommendationIdHasBeenSet = false;
142 bool m_encryptionSettingHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace LexModelsV2
147} // 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