AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateGlossaryTermRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/TermRelations.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateGlossaryTermRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlossaryTerm"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
46 UpdateGlossaryTermRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGlossaryIdentifier() const { return m_glossaryIdentifier; }
57 inline bool GlossaryIdentifierHasBeenSet() const { return m_glossaryIdentifierHasBeenSet; }
58 template <typename GlossaryIdentifierT = Aws::String>
59 void SetGlossaryIdentifier(GlossaryIdentifierT&& value) {
60 m_glossaryIdentifierHasBeenSet = true;
61 m_glossaryIdentifier = std::forward<GlossaryIdentifierT>(value);
62 }
63 template <typename GlossaryIdentifierT = Aws::String>
64 UpdateGlossaryTermRequest& WithGlossaryIdentifier(GlossaryIdentifierT&& value) {
65 SetGlossaryIdentifier(std::forward<GlossaryIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetIdentifier() const { return m_identifier; }
75 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
76 template <typename IdentifierT = Aws::String>
77 void SetIdentifier(IdentifierT&& value) {
78 m_identifierHasBeenSet = true;
79 m_identifier = std::forward<IdentifierT>(value);
80 }
81 template <typename IdentifierT = Aws::String>
83 SetIdentifier(std::forward<IdentifierT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template <typename NameT = Aws::String>
96 void SetName(NameT&& value) {
97 m_nameHasBeenSet = true;
98 m_name = std::forward<NameT>(value);
99 }
100 template <typename NameT = Aws::String>
102 SetName(std::forward<NameT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
113 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
114 template <typename ShortDescriptionT = Aws::String>
115 void SetShortDescription(ShortDescriptionT&& value) {
116 m_shortDescriptionHasBeenSet = true;
117 m_shortDescription = std::forward<ShortDescriptionT>(value);
118 }
119 template <typename ShortDescriptionT = Aws::String>
121 SetShortDescription(std::forward<ShortDescriptionT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
132 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
133 template <typename LongDescriptionT = Aws::String>
134 void SetLongDescription(LongDescriptionT&& value) {
135 m_longDescriptionHasBeenSet = true;
136 m_longDescription = std::forward<LongDescriptionT>(value);
137 }
138 template <typename LongDescriptionT = Aws::String>
140 SetLongDescription(std::forward<LongDescriptionT>(value));
141 return *this;
142 }
144
146
150 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
151 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
152 template <typename TermRelationsT = TermRelations>
153 void SetTermRelations(TermRelationsT&& value) {
154 m_termRelationsHasBeenSet = true;
155 m_termRelations = std::forward<TermRelationsT>(value);
156 }
157 template <typename TermRelationsT = TermRelations>
159 SetTermRelations(std::forward<TermRelationsT>(value));
160 return *this;
161 }
163
165
169 inline GlossaryTermStatus GetStatus() const { return m_status; }
170 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
171 inline void SetStatus(GlossaryTermStatus value) {
172 m_statusHasBeenSet = true;
173 m_status = value;
174 }
176 SetStatus(value);
177 return *this;
178 }
180 private:
181 Aws::String m_domainIdentifier;
182
183 Aws::String m_glossaryIdentifier;
184
185 Aws::String m_identifier;
186
187 Aws::String m_name;
188
189 Aws::String m_shortDescription;
190
191 Aws::String m_longDescription;
192
193 TermRelations m_termRelations;
194
196 bool m_domainIdentifierHasBeenSet = false;
197 bool m_glossaryIdentifierHasBeenSet = false;
198 bool m_identifierHasBeenSet = false;
199 bool m_nameHasBeenSet = false;
200 bool m_shortDescriptionHasBeenSet = false;
201 bool m_longDescriptionHasBeenSet = false;
202 bool m_termRelationsHasBeenSet = false;
203 bool m_statusHasBeenSet = false;
204};
205
206} // namespace Model
207} // namespace DataZone
208} // namespace Aws
UpdateGlossaryTermRequest & WithTermRelations(TermRelationsT &&value)
UpdateGlossaryTermRequest & WithShortDescription(ShortDescriptionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateGlossaryTermRequest & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateGlossaryTermRequest & WithStatus(GlossaryTermStatus value)
UpdateGlossaryTermRequest & WithName(NameT &&value)
UpdateGlossaryTermRequest & WithGlossaryIdentifier(GlossaryIdentifierT &&value)
UpdateGlossaryTermRequest & WithLongDescription(LongDescriptionT &&value)
UpdateGlossaryTermRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API UpdateGlossaryTermRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String