AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BuiltinIntentMetadata.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelBuildingService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata();
37 AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetSignature() const{ return m_signature; }
50 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
51 inline void SetSignature(const Aws::String& value) { m_signatureHasBeenSet = true; m_signature = value; }
52 inline void SetSignature(Aws::String&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
53 inline void SetSignature(const char* value) { m_signatureHasBeenSet = true; m_signature.assign(value); }
54 inline BuiltinIntentMetadata& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
55 inline BuiltinIntentMetadata& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
56 inline BuiltinIntentMetadata& WithSignature(const char* value) { SetSignature(value); return *this;}
58
60
63 inline const Aws::Vector<Locale>& GetSupportedLocales() const{ return m_supportedLocales; }
64 inline bool SupportedLocalesHasBeenSet() const { return m_supportedLocalesHasBeenSet; }
65 inline void SetSupportedLocales(const Aws::Vector<Locale>& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales = value; }
66 inline void SetSupportedLocales(Aws::Vector<Locale>&& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales = std::move(value); }
68 inline BuiltinIntentMetadata& WithSupportedLocales(Aws::Vector<Locale>&& value) { SetSupportedLocales(std::move(value)); return *this;}
69 inline BuiltinIntentMetadata& AddSupportedLocales(const Locale& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales.push_back(value); return *this; }
70 inline BuiltinIntentMetadata& AddSupportedLocales(Locale&& value) { m_supportedLocalesHasBeenSet = true; m_supportedLocales.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_signature;
75 bool m_signatureHasBeenSet = false;
76
77 Aws::Vector<Locale> m_supportedLocales;
78 bool m_supportedLocalesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace LexModelBuildingService
83} // namespace Aws
void SetSupportedLocales(const Aws::Vector< Locale > &value)
AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata()
BuiltinIntentMetadata & WithSupportedLocales(const Aws::Vector< Locale > &value)
BuiltinIntentMetadata & WithSignature(const char *value)
BuiltinIntentMetadata & WithSignature(Aws::String &&value)
BuiltinIntentMetadata & AddSupportedLocales(const Locale &value)
AWS_LEXMODELBUILDINGSERVICE_API BuiltinIntentMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BuiltinIntentMetadata & WithSignature(const Aws::String &value)
BuiltinIntentMetadata & WithSupportedLocales(Aws::Vector< Locale > &&value)
BuiltinIntentMetadata & AddSupportedLocales(Locale &&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