AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Lexicon.h
1
6#pragma once
7#include <aws/polly/Polly_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Polly
22{
23namespace Model
24{
25
34 class Lexicon
35 {
36 public:
37 AWS_POLLY_API Lexicon();
38 AWS_POLLY_API Lexicon(Aws::Utils::Json::JsonView jsonValue);
39 AWS_POLLY_API Lexicon& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetContent() const{ return m_content; }
49 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
50 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
51 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
52 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
53 inline Lexicon& WithContent(const Aws::String& value) { SetContent(value); return *this;}
54 inline Lexicon& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
55 inline Lexicon& WithContent(const char* value) { SetContent(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline Lexicon& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline Lexicon& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline Lexicon& WithName(const char* value) { SetName(value); return *this;}
71 private:
72
73 Aws::String m_content;
74 bool m_contentHasBeenSet = false;
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Polly
82} // namespace Aws
Lexicon & WithName(const char *value)
Definition Lexicon.h:69
void SetContent(const char *value)
Definition Lexicon.h:52
void SetName(Aws::String &&value)
Definition Lexicon.h:65
Lexicon & WithName(Aws::String &&value)
Definition Lexicon.h:68
Lexicon & WithName(const Aws::String &value)
Definition Lexicon.h:67
void SetName(const char *value)
Definition Lexicon.h:66
AWS_POLLY_API Lexicon(Aws::Utils::Json::JsonView jsonValue)
bool ContentHasBeenSet() const
Definition Lexicon.h:49
Lexicon & WithContent(Aws::String &&value)
Definition Lexicon.h:54
Lexicon & WithContent(const char *value)
Definition Lexicon.h:55
const Aws::String & GetName() const
Definition Lexicon.h:62
void SetName(const Aws::String &value)
Definition Lexicon.h:64
const Aws::String & GetContent() const
Definition Lexicon.h:48
bool NameHasBeenSet() const
Definition Lexicon.h:63
void SetContent(Aws::String &&value)
Definition Lexicon.h:51
void SetContent(const Aws::String &value)
Definition Lexicon.h:50
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_POLLY_API Lexicon & operator=(Aws::Utils::Json::JsonView jsonValue)
Lexicon & WithContent(const Aws::String &value)
Definition Lexicon.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue