AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
LexiconDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/polly/Polly_EXPORTS.h>
9#include <aws/polly/model/LexiconAttributes.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Polly {
21namespace Model {
22
29 public:
30 AWS_POLLY_API LexiconDescription() = default;
33 AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
47 LexiconDescription& WithName(NameT&& value) {
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const LexiconAttributes& GetAttributes() const { return m_attributes; }
58 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
59 template <typename AttributesT = LexiconAttributes>
60 void SetAttributes(AttributesT&& value) {
61 m_attributesHasBeenSet = true;
62 m_attributes = std::forward<AttributesT>(value);
63 }
64 template <typename AttributesT = LexiconAttributes>
65 LexiconDescription& WithAttributes(AttributesT&& value) {
66 SetAttributes(std::forward<AttributesT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_name;
72
73 LexiconAttributes m_attributes;
74 bool m_nameHasBeenSet = false;
75 bool m_attributesHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Polly
80} // namespace Aws
LexiconDescription & WithName(NameT &&value)
AWS_POLLY_API LexiconDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
const LexiconAttributes & GetAttributes() const
void SetAttributes(AttributesT &&value)
AWS_POLLY_API LexiconDescription(Aws::Utils::Json::JsonView jsonValue)
LexiconDescription & WithAttributes(AttributesT &&value)
AWS_POLLY_API LexiconDescription()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue