AWS SDK for C++  1.9.107
AWS SDK for C++
LexiconDescription.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Polly
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline LexiconDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline LexiconDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline LexiconDescription& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const LexiconAttributes& GetAttributes() const{ return m_attributes; }
86 
90  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
91 
95  inline void SetAttributes(const LexiconAttributes& value) { m_attributesHasBeenSet = true; m_attributes = value; }
96 
100  inline void SetAttributes(LexiconAttributes&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
101 
105  inline LexiconDescription& WithAttributes(const LexiconAttributes& value) { SetAttributes(value); return *this;}
106 
110  inline LexiconDescription& WithAttributes(LexiconAttributes&& value) { SetAttributes(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_name;
115  bool m_nameHasBeenSet;
116 
117  LexiconAttributes m_attributes;
118  bool m_attributesHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace Polly
123 } // namespace Aws
Aws::Polly::Model::LexiconDescription::LexiconDescription
LexiconDescription()
Aws::Polly::Model::LexiconDescription::WithName
LexiconDescription & WithName(const Aws::String &value)
Definition: LexiconDescription.h:69
Aws::Polly::Model::LexiconAttributes
Definition: LexiconAttributes.h:37
Polly_EXPORTS.h
Aws::Polly::Model::LexiconDescription::WithAttributes
LexiconDescription & WithAttributes(LexiconAttributes &&value)
Definition: LexiconDescription.h:110
AWS_POLLY_API
#define AWS_POLLY_API
Definition: Polly_EXPORTS.h:28
Aws::Polly::Model::LexiconDescription::WithName
LexiconDescription & WithName(Aws::String &&value)
Definition: LexiconDescription.h:74
Aws::Polly::Model::LexiconDescription::SetName
void SetName(const char *value)
Definition: LexiconDescription.h:64
LexiconAttributes.h
Aws::Polly::Model::LexiconDescription::operator=
LexiconDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Polly::Model::LexiconDescription::SetName
void SetName(const Aws::String &value)
Definition: LexiconDescription.h:54
Aws::Polly::Model::LexiconDescription::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: LexiconDescription.h:90
Aws::Polly::Model::LexiconDescription::GetAttributes
const LexiconAttributes & GetAttributes() const
Definition: LexiconDescription.h:85
Aws::Polly::Model::LexiconDescription::WithName
LexiconDescription & WithName(const char *value)
Definition: LexiconDescription.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Polly::Model::LexiconDescription::SetName
void SetName(Aws::String &&value)
Definition: LexiconDescription.h:59
Aws::Polly::Model::LexiconDescription::GetName
const Aws::String & GetName() const
Definition: LexiconDescription.h:44
Aws::Polly::Model::LexiconDescription::SetAttributes
void SetAttributes(LexiconAttributes &&value)
Definition: LexiconDescription.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::Polly::Model::LexiconDescription::SetAttributes
void SetAttributes(const LexiconAttributes &value)
Definition: LexiconDescription.h:95
Aws::Polly::Model::LexiconDescription::WithAttributes
LexiconDescription & WithAttributes(const LexiconAttributes &value)
Definition: LexiconDescription.h:105
Aws::Polly::Model::LexiconDescription::LexiconDescription
LexiconDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Polly::Model::LexiconDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Polly::Model::LexiconDescription
Definition: LexiconDescription.h:33
Aws::Polly::Model::LexiconDescription::NameHasBeenSet
bool NameHasBeenSet() const
Definition: LexiconDescription.h:49