AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
GlossaryTermItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
28 public:
29 AWS_GLUE_API GlossaryTermItem() = default;
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
46 GlossaryTermItem& WithId(IdT&& value) {
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 GlossaryTermItem& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
75 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
76 template <typename ShortDescriptionT = Aws::String>
77 void SetShortDescription(ShortDescriptionT&& value) {
78 m_shortDescriptionHasBeenSet = true;
79 m_shortDescription = std::forward<ShortDescriptionT>(value);
80 }
81 template <typename ShortDescriptionT = Aws::String>
82 GlossaryTermItem& WithShortDescription(ShortDescriptionT&& value) {
83 SetShortDescription(std::forward<ShortDescriptionT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_id;
89
90 Aws::String m_name;
91
92 Aws::String m_shortDescription;
93 bool m_idHasBeenSet = false;
94 bool m_nameHasBeenSet = false;
95 bool m_shortDescriptionHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
AWS_GLUE_API GlossaryTermItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API GlossaryTermItem()=default
GlossaryTermItem & WithShortDescription(ShortDescriptionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetShortDescription() const
GlossaryTermItem & WithId(IdT &&value)
const Aws::String & GetId() const
const Aws::String & GetName() const
void SetShortDescription(ShortDescriptionT &&value)
GlossaryTermItem & WithName(NameT &&value)
AWS_GLUE_API GlossaryTermItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue