AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TestExecutionTarget.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/BotAliasTestExecutionTarget.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 TestExecutionTarget() = default;
31 AWS_LEXMODELSV2_API TestExecutionTarget(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const BotAliasTestExecutionTarget& GetBotAliasTarget() const { return m_botAliasTarget; }
40 inline bool BotAliasTargetHasBeenSet() const { return m_botAliasTargetHasBeenSet; }
41 template <typename BotAliasTargetT = BotAliasTestExecutionTarget>
42 void SetBotAliasTarget(BotAliasTargetT&& value) {
43 m_botAliasTargetHasBeenSet = true;
44 m_botAliasTarget = std::forward<BotAliasTargetT>(value);
45 }
46 template <typename BotAliasTargetT = BotAliasTestExecutionTarget>
47 TestExecutionTarget& WithBotAliasTarget(BotAliasTargetT&& value) {
48 SetBotAliasTarget(std::forward<BotAliasTargetT>(value));
49 return *this;
50 }
52 private:
53 BotAliasTestExecutionTarget m_botAliasTarget;
54 bool m_botAliasTargetHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace LexModelsV2
59} // namespace Aws
AWS_LEXMODELSV2_API TestExecutionTarget()=default
void SetBotAliasTarget(BotAliasTargetT &&value)
AWS_LEXMODELSV2_API TestExecutionTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const BotAliasTestExecutionTarget & GetBotAliasTarget() const
AWS_LEXMODELSV2_API TestExecutionTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TestExecutionTarget & WithBotAliasTarget(BotAliasTargetT &&value)
Aws::Utils::Json::JsonValue JsonValue