AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IntentSummary.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lexv2-models/model/InputContext.h>
12#include <aws/lexv2-models/model/OutputContext.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELSV2_API IntentSummary() = default;
40 AWS_LEXMODELSV2_API IntentSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API IntentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetIntentId() const { return m_intentId; }
51 inline bool IntentIdHasBeenSet() const { return m_intentIdHasBeenSet; }
52 template<typename IntentIdT = Aws::String>
53 void SetIntentId(IntentIdT&& value) { m_intentIdHasBeenSet = true; m_intentId = std::forward<IntentIdT>(value); }
54 template<typename IntentIdT = Aws::String>
55 IntentSummary& WithIntentId(IntentIdT&& value) { SetIntentId(std::forward<IntentIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetIntentName() const { return m_intentName; }
63 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
64 template<typename IntentNameT = Aws::String>
65 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet = true; m_intentName = std::forward<IntentNameT>(value); }
66 template<typename IntentNameT = Aws::String>
67 IntentSummary& WithIntentName(IntentNameT&& value) { SetIntentName(std::forward<IntentNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 IntentSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
87 inline const Aws::String& GetParentIntentSignature() const { return m_parentIntentSignature; }
88 inline bool ParentIntentSignatureHasBeenSet() const { return m_parentIntentSignatureHasBeenSet; }
89 template<typename ParentIntentSignatureT = Aws::String>
90 void SetParentIntentSignature(ParentIntentSignatureT&& value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature = std::forward<ParentIntentSignatureT>(value); }
91 template<typename ParentIntentSignatureT = Aws::String>
92 IntentSummary& WithParentIntentSignature(ParentIntentSignatureT&& value) { SetParentIntentSignature(std::forward<ParentIntentSignatureT>(value)); return *this;}
94
96
100 inline const Aws::Vector<InputContext>& GetInputContexts() const { return m_inputContexts; }
101 inline bool InputContextsHasBeenSet() const { return m_inputContextsHasBeenSet; }
102 template<typename InputContextsT = Aws::Vector<InputContext>>
103 void SetInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet = true; m_inputContexts = std::forward<InputContextsT>(value); }
104 template<typename InputContextsT = Aws::Vector<InputContext>>
105 IntentSummary& WithInputContexts(InputContextsT&& value) { SetInputContexts(std::forward<InputContextsT>(value)); return *this;}
106 template<typename InputContextsT = InputContext>
107 IntentSummary& AddInputContexts(InputContextsT&& value) { m_inputContextsHasBeenSet = true; m_inputContexts.emplace_back(std::forward<InputContextsT>(value)); return *this; }
109
111
114 inline const Aws::Vector<OutputContext>& GetOutputContexts() const { return m_outputContexts; }
115 inline bool OutputContextsHasBeenSet() const { return m_outputContextsHasBeenSet; }
116 template<typename OutputContextsT = Aws::Vector<OutputContext>>
117 void SetOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts = std::forward<OutputContextsT>(value); }
118 template<typename OutputContextsT = Aws::Vector<OutputContext>>
119 IntentSummary& WithOutputContexts(OutputContextsT&& value) { SetOutputContexts(std::forward<OutputContextsT>(value)); return *this;}
120 template<typename OutputContextsT = OutputContext>
121 IntentSummary& AddOutputContexts(OutputContextsT&& value) { m_outputContextsHasBeenSet = true; m_outputContexts.emplace_back(std::forward<OutputContextsT>(value)); return *this; }
123
125
128 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
129 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
130 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
131 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
132 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
133 IntentSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
135 private:
136
137 Aws::String m_intentId;
138 bool m_intentIdHasBeenSet = false;
139
140 Aws::String m_intentName;
141 bool m_intentNameHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
146 Aws::String m_parentIntentSignature;
147 bool m_parentIntentSignatureHasBeenSet = false;
148
149 Aws::Vector<InputContext> m_inputContexts;
150 bool m_inputContextsHasBeenSet = false;
151
152 Aws::Vector<OutputContext> m_outputContexts;
153 bool m_outputContextsHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastUpdatedDateTime{};
156 bool m_lastUpdatedDateTimeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace LexModelsV2
161} // namespace Aws
IntentSummary & WithParentIntentSignature(ParentIntentSignatureT &&value)
AWS_LEXMODELSV2_API IntentSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetIntentName() const
const Aws::String & GetIntentId() const
void SetDescription(DescriptionT &&value)
void SetIntentId(IntentIdT &&value)
void SetInputContexts(InputContextsT &&value)
IntentSummary & AddInputContexts(InputContextsT &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
IntentSummary & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API IntentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetDescription() const
void SetParentIntentSignature(ParentIntentSignatureT &&value)
void SetOutputContexts(OutputContextsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API IntentSummary()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentSummary & AddOutputContexts(OutputContextsT &&value)
const Aws::String & GetParentIntentSignature() const
const Aws::Vector< InputContext > & GetInputContexts() const
IntentSummary & WithIntentId(IntentIdT &&value)
IntentSummary & WithOutputContexts(OutputContextsT &&value)
IntentSummary & WithIntentName(IntentNameT &&value)
IntentSummary & WithInputContexts(InputContextsT &&value)
void SetIntentName(IntentNameT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue