AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ContentT = Aws::String>
51 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
52 template<typename ContentT = Aws::String>
53 Lexicon& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template<typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 Lexicon& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67 private:
68
69 Aws::String m_content;
70 bool m_contentHasBeenSet = false;
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Polly
78} // namespace Aws
Lexicon & WithName(NameT &&value)
Definition Lexicon.h:65
void SetContent(ContentT &&value)
Definition Lexicon.h:51
Lexicon & WithContent(ContentT &&value)
Definition Lexicon.h:53
AWS_POLLY_API Lexicon(Aws::Utils::Json::JsonView jsonValue)
bool ContentHasBeenSet() const
Definition Lexicon.h:49
const Aws::String & GetName() const
Definition Lexicon.h:60
AWS_POLLY_API Lexicon()=default
const Aws::String & GetContent() const
Definition Lexicon.h:48
bool NameHasBeenSet() const
Definition Lexicon.h:61
void SetName(NameT &&value)
Definition Lexicon.h:63
AWS_POLLY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_POLLY_API Lexicon & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue