AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
IssueLocation.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 IssueLocation() = default;
31 AWS_LEXMODELSV2_API IssueLocation(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LEXMODELSV2_API IssueLocation& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBotLocale() const { return m_botLocale; }
40 inline bool BotLocaleHasBeenSet() const { return m_botLocaleHasBeenSet; }
41 template <typename BotLocaleT = Aws::String>
42 void SetBotLocale(BotLocaleT&& value) {
43 m_botLocaleHasBeenSet = true;
44 m_botLocale = std::forward<BotLocaleT>(value);
45 }
46 template <typename BotLocaleT = Aws::String>
47 IssueLocation& WithBotLocale(BotLocaleT&& value) {
48 SetBotLocale(std::forward<BotLocaleT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIntentId() const { return m_intentId; }
58 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
59 template <typename IntentIdT = Aws::String>
60 void SetIntentId(IntentIdT&& value) {
61 m_intentIdHasBeenSet = true;
62 m_intentId = std::forward<IntentIdT>(value);
63 }
64 template <typename IntentIdT = Aws::String>
65 IssueLocation& WithIntentId(IntentIdT&& value) {
66 SetIntentId(std::forward<IntentIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSlotId() const { return m_slotId; }
76 inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; }
77 template <typename SlotIdT = Aws::String>
78 void SetSlotId(SlotIdT&& value) {
79 m_slotIdHasBeenSet = true;
80 m_slotId = std::forward<SlotIdT>(value);
81 }
82 template <typename SlotIdT = Aws::String>
83 IssueLocation& WithSlotId(SlotIdT&& value) {
84 SetSlotId(std::forward<SlotIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_botLocale;
90
91 Aws::String m_intentId;
92
93 Aws::String m_slotId;
94 bool m_botLocaleHasBeenSet = false;
95 bool m_intentIdHasBeenSet = false;
96 bool m_slotIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace LexModelsV2
101} // namespace Aws
AWS_LEXMODELSV2_API IssueLocation()=default
IssueLocation & WithSlotId(SlotIdT &&value)
const Aws::String & GetBotLocale() const
AWS_LEXMODELSV2_API IssueLocation(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IssueLocation & WithBotLocale(BotLocaleT &&value)
AWS_LEXMODELSV2_API IssueLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIntentId() const
void SetIntentId(IntentIdT &&value)
const Aws::String & GetSlotId() const
IssueLocation & WithIntentId(IntentIdT &&value)
void SetBotLocale(BotLocaleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue