AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateGlossaryTermRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryTermStatus.h>
11#include <aws/datazone/model/TermRelations.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateGlossaryTermRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlossaryTerm"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
43 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
44 template<typename DomainIdentifierT = Aws::String>
45 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
46 template<typename DomainIdentifierT = Aws::String>
47 UpdateGlossaryTermRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
49
51
54 inline const Aws::String& GetGlossaryIdentifier() const { return m_glossaryIdentifier; }
55 inline bool GlossaryIdentifierHasBeenSet() const { return m_glossaryIdentifierHasBeenSet; }
56 template<typename GlossaryIdentifierT = Aws::String>
57 void SetGlossaryIdentifier(GlossaryIdentifierT&& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = std::forward<GlossaryIdentifierT>(value); }
58 template<typename GlossaryIdentifierT = Aws::String>
59 UpdateGlossaryTermRequest& WithGlossaryIdentifier(GlossaryIdentifierT&& value) { SetGlossaryIdentifier(std::forward<GlossaryIdentifierT>(value)); return *this;}
61
63
66 inline const Aws::String& GetIdentifier() const { return m_identifier; }
67 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
68 template<typename IdentifierT = Aws::String>
69 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
70 template<typename IdentifierT = Aws::String>
71 UpdateGlossaryTermRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
73
75
79 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
80 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
81 template<typename LongDescriptionT = Aws::String>
82 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
83 template<typename LongDescriptionT = Aws::String>
84 UpdateGlossaryTermRequest& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
86
88
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 UpdateGlossaryTermRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
105 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
106 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
107 template<typename ShortDescriptionT = Aws::String>
108 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
109 template<typename ShortDescriptionT = Aws::String>
110 UpdateGlossaryTermRequest& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
112
114
118 inline GlossaryTermStatus GetStatus() const { return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
121 inline UpdateGlossaryTermRequest& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
123
125
129 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
130 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
131 template<typename TermRelationsT = TermRelations>
132 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
133 template<typename TermRelationsT = TermRelations>
134 UpdateGlossaryTermRequest& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
136 private:
137
138 Aws::String m_domainIdentifier;
139 bool m_domainIdentifierHasBeenSet = false;
140
141 Aws::String m_glossaryIdentifier;
142 bool m_glossaryIdentifierHasBeenSet = false;
143
144 Aws::String m_identifier;
145 bool m_identifierHasBeenSet = false;
146
147 Aws::String m_longDescription;
148 bool m_longDescriptionHasBeenSet = false;
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
153 Aws::String m_shortDescription;
154 bool m_shortDescriptionHasBeenSet = false;
155
157 bool m_statusHasBeenSet = false;
158
159 TermRelations m_termRelations;
160 bool m_termRelationsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace DataZone
165} // 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