AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
BotAliasTestExecutionTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LexModelsV2 {
20namespace Model {
21
29 public:
30 AWS_LEXMODELSV2_API BotAliasTestExecutionTarget() = default;
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBotId() const { return m_botId; }
40 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
41 template <typename BotIdT = Aws::String>
42 void SetBotId(BotIdT&& value) {
43 m_botIdHasBeenSet = true;
44 m_botId = std::forward<BotIdT>(value);
45 }
46 template <typename BotIdT = Aws::String>
48 SetBotId(std::forward<BotIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
58 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
59 template <typename BotAliasIdT = Aws::String>
60 void SetBotAliasId(BotAliasIdT&& value) {
61 m_botAliasIdHasBeenSet = true;
62 m_botAliasId = std::forward<BotAliasIdT>(value);
63 }
64 template <typename BotAliasIdT = Aws::String>
66 SetBotAliasId(std::forward<BotAliasIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLocaleId() const { return m_localeId; }
76 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
77 template <typename LocaleIdT = Aws::String>
78 void SetLocaleId(LocaleIdT&& value) {
79 m_localeIdHasBeenSet = true;
80 m_localeId = std::forward<LocaleIdT>(value);
81 }
82 template <typename LocaleIdT = Aws::String>
84 SetLocaleId(std::forward<LocaleIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_botId;
90
91 Aws::String m_botAliasId;
92
93 Aws::String m_localeId;
94 bool m_botIdHasBeenSet = false;
95 bool m_botAliasIdHasBeenSet = false;
96 bool m_localeIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace LexModelsV2
101} // namespace Aws
BotAliasTestExecutionTarget & WithBotAliasId(BotAliasIdT &&value)
BotAliasTestExecutionTarget & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API BotAliasTestExecutionTarget(Aws::Utils::Json::JsonView jsonValue)
BotAliasTestExecutionTarget & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API BotAliasTestExecutionTarget()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotAliasTestExecutionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue