AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 UpdateBotRecommendationRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline UpdateBotRecommendationRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline UpdateBotRecommendationRequest& 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 UpdateBotRecommendationRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
61 inline UpdateBotRecommendationRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
62 inline UpdateBotRecommendationRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
64
66
73 inline const Aws::String& GetLocaleId() const{ return m_localeId; }
74 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
75 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
76 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
77 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
78 inline UpdateBotRecommendationRequest& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
79 inline UpdateBotRecommendationRequest& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
80 inline UpdateBotRecommendationRequest& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
82
84
87 inline const Aws::String& GetBotRecommendationId() const{ return m_botRecommendationId; }
88 inline bool BotRecommendationIdHasBeenSet() const { return m_botRecommendationIdHasBeenSet; }
89 inline void SetBotRecommendationId(const Aws::String& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = value; }
90 inline void SetBotRecommendationId(Aws::String&& value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::move(value); }
91 inline void SetBotRecommendationId(const char* value) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId.assign(value); }
94 inline UpdateBotRecommendationRequest& WithBotRecommendationId(const char* value) { SetBotRecommendationId(value); return *this;}
96
98
103 inline const EncryptionSetting& GetEncryptionSetting() const{ return m_encryptionSetting; }
104 inline bool EncryptionSettingHasBeenSet() const { return m_encryptionSettingHasBeenSet; }
105 inline void SetEncryptionSetting(const EncryptionSetting& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = value; }
106 inline void SetEncryptionSetting(EncryptionSetting&& value) { m_encryptionSettingHasBeenSet = true; m_encryptionSetting = std::move(value); }
110 private:
111
112 Aws::String m_botId;
113 bool m_botIdHasBeenSet = false;
114
115 Aws::String m_botVersion;
116 bool m_botVersionHasBeenSet = false;
117
118 Aws::String m_localeId;
119 bool m_localeIdHasBeenSet = false;
120
121 Aws::String m_botRecommendationId;
122 bool m_botRecommendationIdHasBeenSet = false;
123
124 EncryptionSetting m_encryptionSetting;
125 bool m_encryptionSettingHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace LexModelsV2
130} // namespace Aws
UpdateBotRecommendationRequest & WithBotId(Aws::String &&value)
UpdateBotRecommendationRequest & WithBotVersion(const Aws::String &value)
UpdateBotRecommendationRequest & WithBotVersion(Aws::String &&value)
UpdateBotRecommendationRequest & WithBotId(const Aws::String &value)
UpdateBotRecommendationRequest & WithEncryptionSetting(const EncryptionSetting &value)
UpdateBotRecommendationRequest & WithBotRecommendationId(Aws::String &&value)
UpdateBotRecommendationRequest & WithBotRecommendationId(const Aws::String &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
UpdateBotRecommendationRequest & WithBotRecommendationId(const char *value)
UpdateBotRecommendationRequest & WithLocaleId(const Aws::String &value)
UpdateBotRecommendationRequest & WithEncryptionSetting(EncryptionSetting &&value)
UpdateBotRecommendationRequest & WithLocaleId(Aws::String &&value)
UpdateBotRecommendationRequest & WithLocaleId(const char *value)
UpdateBotRecommendationRequest & WithBotVersion(const char *value)
UpdateBotRecommendationRequest & WithBotId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String