AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIntentId(const Aws::String& value) { m_intentIdHasBeenSet = true; m_intentId = value; }
53 inline void SetIntentId(Aws::String&& value) { m_intentIdHasBeenSet = true; m_intentId = std::move(value); }
54 inline void SetIntentId(const char* value) { m_intentIdHasBeenSet = true; m_intentId.assign(value); }
55 inline IntentSummary& WithIntentId(const Aws::String& value) { SetIntentId(value); return *this;}
56 inline IntentSummary& WithIntentId(Aws::String&& value) { SetIntentId(std::move(value)); return *this;}
57 inline IntentSummary& WithIntentId(const char* value) { SetIntentId(value); return *this;}
59
61
64 inline const Aws::String& GetIntentName() const{ return m_intentName; }
65 inline bool IntentNameHasBeenSet() const { return m_intentNameHasBeenSet; }
66 inline void SetIntentName(const Aws::String& value) { m_intentNameHasBeenSet = true; m_intentName = value; }
67 inline void SetIntentName(Aws::String&& value) { m_intentNameHasBeenSet = true; m_intentName = std::move(value); }
68 inline void SetIntentName(const char* value) { m_intentNameHasBeenSet = true; m_intentName.assign(value); }
69 inline IntentSummary& WithIntentName(const Aws::String& value) { SetIntentName(value); return *this;}
70 inline IntentSummary& WithIntentName(Aws::String&& value) { SetIntentName(std::move(value)); return *this;}
71 inline IntentSummary& WithIntentName(const char* value) { SetIntentName(value); return *this;}
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
81 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
82 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
83 inline IntentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
84 inline IntentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
85 inline IntentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
87
89
93 inline const Aws::String& GetParentIntentSignature() const{ return m_parentIntentSignature; }
94 inline bool ParentIntentSignatureHasBeenSet() const { return m_parentIntentSignatureHasBeenSet; }
95 inline void SetParentIntentSignature(const Aws::String& value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature = value; }
96 inline void SetParentIntentSignature(Aws::String&& value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature = std::move(value); }
97 inline void SetParentIntentSignature(const char* value) { m_parentIntentSignatureHasBeenSet = true; m_parentIntentSignature.assign(value); }
98 inline IntentSummary& WithParentIntentSignature(const Aws::String& value) { SetParentIntentSignature(value); return *this;}
99 inline IntentSummary& WithParentIntentSignature(Aws::String&& value) { SetParentIntentSignature(std::move(value)); return *this;}
100 inline IntentSummary& WithParentIntentSignature(const char* value) { SetParentIntentSignature(value); return *this;}
102
104
108 inline const Aws::Vector<InputContext>& GetInputContexts() const{ return m_inputContexts; }
109 inline bool InputContextsHasBeenSet() const { return m_inputContextsHasBeenSet; }
110 inline void SetInputContexts(const Aws::Vector<InputContext>& value) { m_inputContextsHasBeenSet = true; m_inputContexts = value; }
111 inline void SetInputContexts(Aws::Vector<InputContext>&& value) { m_inputContextsHasBeenSet = true; m_inputContexts = std::move(value); }
112 inline IntentSummary& WithInputContexts(const Aws::Vector<InputContext>& value) { SetInputContexts(value); return *this;}
113 inline IntentSummary& WithInputContexts(Aws::Vector<InputContext>&& value) { SetInputContexts(std::move(value)); return *this;}
114 inline IntentSummary& AddInputContexts(const InputContext& value) { m_inputContextsHasBeenSet = true; m_inputContexts.push_back(value); return *this; }
115 inline IntentSummary& AddInputContexts(InputContext&& value) { m_inputContextsHasBeenSet = true; m_inputContexts.push_back(std::move(value)); return *this; }
117
119
122 inline const Aws::Vector<OutputContext>& GetOutputContexts() const{ return m_outputContexts; }
123 inline bool OutputContextsHasBeenSet() const { return m_outputContextsHasBeenSet; }
124 inline void SetOutputContexts(const Aws::Vector<OutputContext>& value) { m_outputContextsHasBeenSet = true; m_outputContexts = value; }
125 inline void SetOutputContexts(Aws::Vector<OutputContext>&& value) { m_outputContextsHasBeenSet = true; m_outputContexts = std::move(value); }
127 inline IntentSummary& WithOutputContexts(Aws::Vector<OutputContext>&& value) { SetOutputContexts(std::move(value)); return *this;}
128 inline IntentSummary& AddOutputContexts(const OutputContext& value) { m_outputContextsHasBeenSet = true; m_outputContexts.push_back(value); return *this; }
129 inline IntentSummary& AddOutputContexts(OutputContext&& value) { m_outputContextsHasBeenSet = true; m_outputContexts.push_back(std::move(value)); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
137 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
138 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
139 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
141 inline IntentSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
143 private:
144
145 Aws::String m_intentId;
146 bool m_intentIdHasBeenSet = false;
147
148 Aws::String m_intentName;
149 bool m_intentNameHasBeenSet = false;
150
151 Aws::String m_description;
152 bool m_descriptionHasBeenSet = false;
153
154 Aws::String m_parentIntentSignature;
155 bool m_parentIntentSignatureHasBeenSet = false;
156
157 Aws::Vector<InputContext> m_inputContexts;
158 bool m_inputContextsHasBeenSet = false;
159
160 Aws::Vector<OutputContext> m_outputContexts;
161 bool m_outputContextsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedDateTime;
164 bool m_lastUpdatedDateTimeHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace LexModelsV2
169} // namespace Aws
IntentSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
IntentSummary & WithIntentId(const Aws::String &value)
IntentSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API IntentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetOutputContexts(const Aws::Vector< OutputContext > &value)
const Aws::String & GetIntentName() const
void SetIntentId(const char *value)
IntentSummary & WithOutputContexts(const Aws::Vector< OutputContext > &value)
const Aws::String & GetIntentId() const
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetParentIntentSignature(const char *value)
void SetDescription(const Aws::String &value)
void SetIntentId(Aws::String &&value)
const Aws::Vector< OutputContext > & GetOutputContexts() const
IntentSummary & WithIntentName(const Aws::String &value)
IntentSummary & WithIntentName(const char *value)
IntentSummary & WithInputContexts(const Aws::Vector< InputContext > &value)
AWS_LEXMODELSV2_API IntentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IntentSummary & WithParentIntentSignature(const char *value)
IntentSummary & WithIntentName(Aws::String &&value)
void SetInputContexts(const Aws::Vector< InputContext > &value)
void SetIntentName(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
IntentSummary & WithIntentId(const char *value)
void SetIntentName(const char *value)
IntentSummary & AddInputContexts(InputContext &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
IntentSummary & WithIntentId(Aws::String &&value)
void SetDescription(Aws::String &&value)
IntentSummary & WithInputContexts(Aws::Vector< InputContext > &&value)
IntentSummary & WithOutputContexts(Aws::Vector< OutputContext > &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetParentIntentSignature(const Aws::String &value)
IntentSummary & AddOutputContexts(OutputContext &&value)
const Aws::String & GetParentIntentSignature() const
IntentSummary & WithDescription(const Aws::String &value)
void SetOutputContexts(Aws::Vector< OutputContext > &&value)
const Aws::Vector< InputContext > & GetInputContexts() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
IntentSummary & AddInputContexts(const InputContext &value)
IntentSummary & AddOutputContexts(const OutputContext &value)
void SetParentIntentSignature(Aws::String &&value)
IntentSummary & WithParentIntentSignature(Aws::String &&value)
void SetInputContexts(Aws::Vector< InputContext > &&value)
IntentSummary & WithParentIntentSignature(const Aws::String &value)
void SetIntentId(const Aws::String &value)
IntentSummary & WithDescription(const char *value)
IntentSummary & WithDescription(Aws::String &&value)
void SetIntentName(Aws::String &&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