AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
BuildBotLocaleRequest.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
11#include <utility>
12
13namespace Aws {
14namespace LexModelsV2 {
15namespace Model {
16
20 public:
21 AWS_LEXMODELSV2_API BuildBotLocaleRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "BuildBotLocale"; }
28
29 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetBotId() const { return m_botId; }
39 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
40 template <typename BotIdT = Aws::String>
41 void SetBotId(BotIdT&& value) {
42 m_botIdHasBeenSet = true;
43 m_botId = std::forward<BotIdT>(value);
44 }
45 template <typename BotIdT = Aws::String>
47 SetBotId(std::forward<BotIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
58 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
59 template <typename BotVersionT = Aws::String>
60 void SetBotVersion(BotVersionT&& value) {
61 m_botVersionHasBeenSet = true;
62 m_botVersion = std::forward<BotVersionT>(value);
63 }
64 template <typename BotVersionT = Aws::String>
65 BuildBotLocaleRequest& WithBotVersion(BotVersionT&& value) {
66 SetBotVersion(std::forward<BotVersionT>(value));
67 return *this;
68 }
70
72
80 inline const Aws::String& GetLocaleId() const { return m_localeId; }
81 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
82 template <typename LocaleIdT = Aws::String>
83 void SetLocaleId(LocaleIdT&& value) {
84 m_localeIdHasBeenSet = true;
85 m_localeId = std::forward<LocaleIdT>(value);
86 }
87 template <typename LocaleIdT = Aws::String>
88 BuildBotLocaleRequest& WithLocaleId(LocaleIdT&& value) {
89 SetLocaleId(std::forward<LocaleIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_botId;
95
96 Aws::String m_botVersion;
97
98 Aws::String m_localeId;
99 bool m_botIdHasBeenSet = false;
100 bool m_botVersionHasBeenSet = false;
101 bool m_localeIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace LexModelsV2
106} // namespace Aws
BuildBotLocaleRequest & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_LEXMODELSV2_API BuildBotLocaleRequest()=default
BuildBotLocaleRequest & WithLocaleId(LocaleIdT &&value)
BuildBotLocaleRequest & WithBotVersion(BotVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String