AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBuiltinIntentResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex-models/model/Locale.h>
11#include <aws/lex-models/model/BuiltinIntentSlot.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelBuildingService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult();
36
37
39
42 inline const Aws::String& GetSignature() const{ return m_signature; }
43 inline void SetSignature(const Aws::String& value) { m_signature = value; }
44 inline void SetSignature(Aws::String&& value) { m_signature = std::move(value); }
45 inline void SetSignature(const char* value) { m_signature.assign(value); }
46 inline GetBuiltinIntentResult& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
47 inline GetBuiltinIntentResult& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
48 inline GetBuiltinIntentResult& WithSignature(const char* value) { SetSignature(value); return *this;}
50
52
55 inline const Aws::Vector<Locale>& GetSupportedLocales() const{ return m_supportedLocales; }
56 inline void SetSupportedLocales(const Aws::Vector<Locale>& value) { m_supportedLocales = value; }
57 inline void SetSupportedLocales(Aws::Vector<Locale>&& value) { m_supportedLocales = std::move(value); }
59 inline GetBuiltinIntentResult& WithSupportedLocales(Aws::Vector<Locale>&& value) { SetSupportedLocales(std::move(value)); return *this;}
60 inline GetBuiltinIntentResult& AddSupportedLocales(const Locale& value) { m_supportedLocales.push_back(value); return *this; }
61 inline GetBuiltinIntentResult& AddSupportedLocales(Locale&& value) { m_supportedLocales.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::Vector<BuiltinIntentSlot>& GetSlots() const{ return m_slots; }
70 inline void SetSlots(const Aws::Vector<BuiltinIntentSlot>& value) { m_slots = value; }
71 inline void SetSlots(Aws::Vector<BuiltinIntentSlot>&& value) { m_slots = std::move(value); }
72 inline GetBuiltinIntentResult& WithSlots(const Aws::Vector<BuiltinIntentSlot>& value) { SetSlots(value); return *this;}
73 inline GetBuiltinIntentResult& WithSlots(Aws::Vector<BuiltinIntentSlot>&& value) { SetSlots(std::move(value)); return *this;}
74 inline GetBuiltinIntentResult& AddSlots(const BuiltinIntentSlot& value) { m_slots.push_back(value); return *this; }
75 inline GetBuiltinIntentResult& AddSlots(BuiltinIntentSlot&& value) { m_slots.push_back(std::move(value)); return *this; }
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetBuiltinIntentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetBuiltinIntentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetBuiltinIntentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_signature;
91
92 Aws::Vector<Locale> m_supportedLocales;
93
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace LexModelBuildingService
101} // namespace Aws
void SetSlots(Aws::Vector< BuiltinIntentSlot > &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult()
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBuiltinIntentResult & WithSignature(Aws::String &&value)
GetBuiltinIntentResult & WithSignature(const char *value)
GetBuiltinIntentResult & WithRequestId(const Aws::String &value)
GetBuiltinIntentResult & WithSlots(const Aws::Vector< BuiltinIntentSlot > &value)
GetBuiltinIntentResult & WithSlots(Aws::Vector< BuiltinIntentSlot > &&value)
void SetSlots(const Aws::Vector< BuiltinIntentSlot > &value)
GetBuiltinIntentResult & WithSignature(const Aws::String &value)
GetBuiltinIntentResult & AddSlots(BuiltinIntentSlot &&value)
GetBuiltinIntentResult & WithRequestId(Aws::String &&value)
GetBuiltinIntentResult & WithRequestId(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBuiltinIntentResult & AddSlots(const BuiltinIntentSlot &value)
GetBuiltinIntentResult & WithSupportedLocales(Aws::Vector< Locale > &&value)
GetBuiltinIntentResult & AddSupportedLocales(const Locale &value)
GetBuiltinIntentResult & WithSupportedLocales(const Aws::Vector< Locale > &value)
const Aws::Vector< BuiltinIntentSlot > & GetSlots() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue