AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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