AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::String& GetSignature() const { return m_signature; }
43 template<typename SignatureT = Aws::String>
44 void SetSignature(SignatureT&& value) { m_signatureHasBeenSet = true; m_signature = std::forward<SignatureT>(value); }
45 template<typename SignatureT = Aws::String>
46 GetBuiltinIntentResult& WithSignature(SignatureT&& value) { SetSignature(std::forward<SignatureT>(value)); return *this;}
48
50
53 inline const Aws::Vector<Locale>& GetSupportedLocales() const { return m_supportedLocales; }
54 template<typename SupportedLocalesT = Aws::Vector<Locale>>
55 void SetSupportedLocales(SupportedLocalesT&& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales = std::forward<SupportedLocalesT>(value); }
56 template<typename SupportedLocalesT = Aws::Vector<Locale>>
57 GetBuiltinIntentResult& WithSupportedLocales(SupportedLocalesT&& value) { SetSupportedLocales(std::forward<SupportedLocalesT>(value)); return *this;}
58 inline GetBuiltinIntentResult& AddSupportedLocales(Locale value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales.push_back(value); return *this; }
60
62
66 inline const Aws::Vector<BuiltinIntentSlot>& GetSlots() const { return m_slots; }
67 template<typename SlotsT = Aws::Vector<BuiltinIntentSlot>>
68 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet = true; m_slots = std::forward<SlotsT>(value); }
69 template<typename SlotsT = Aws::Vector<BuiltinIntentSlot>>
70 GetBuiltinIntentResult& WithSlots(SlotsT&& value) { SetSlots(std::forward<SlotsT>(value)); return *this;}
71 template<typename SlotsT = BuiltinIntentSlot>
72 GetBuiltinIntentResult& AddSlots(SlotsT&& value) { m_slotsHasBeenSet = true; m_slots.emplace_back(std::forward<SlotsT>(value)); return *this; }
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 GetBuiltinIntentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_signature;
86 bool m_signatureHasBeenSet = false;
87
88 Aws::Vector<Locale> m_supportedLocales;
89 bool m_supportedLocalesHasBeenSet = false;
90
92 bool m_slotsHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace LexModelBuildingService
100} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBuiltinIntentResult & WithSignature(SignatureT &&value)
GetBuiltinIntentResult & WithRequestId(RequestIdT &&value)
GetBuiltinIntentResult & WithSupportedLocales(SupportedLocalesT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentResult()=default
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