AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
45 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
46 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
48 inline UpdateGlossaryTermRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
49 inline UpdateGlossaryTermRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
51
53
56 inline const Aws::String& GetGlossaryIdentifier() const{ return m_glossaryIdentifier; }
57 inline bool GlossaryIdentifierHasBeenSet() const { return m_glossaryIdentifierHasBeenSet; }
58 inline void SetGlossaryIdentifier(const Aws::String& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = value; }
59 inline void SetGlossaryIdentifier(Aws::String&& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = std::move(value); }
60 inline void SetGlossaryIdentifier(const char* value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier.assign(value); }
62 inline UpdateGlossaryTermRequest& WithGlossaryIdentifier(Aws::String&& value) { SetGlossaryIdentifier(std::move(value)); return *this;}
63 inline UpdateGlossaryTermRequest& WithGlossaryIdentifier(const char* value) { SetGlossaryIdentifier(value); return *this;}
65
67
70 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
71 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
72 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
73 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
74 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
75 inline UpdateGlossaryTermRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
76 inline UpdateGlossaryTermRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
77 inline UpdateGlossaryTermRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
79
81
85 inline const Aws::String& GetLongDescription() const{ return m_longDescription; }
86 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
87 inline void SetLongDescription(const Aws::String& value) { m_longDescriptionHasBeenSet = true; m_longDescription = value; }
88 inline void SetLongDescription(Aws::String&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::move(value); }
89 inline void SetLongDescription(const char* value) { m_longDescriptionHasBeenSet = true; m_longDescription.assign(value); }
90 inline UpdateGlossaryTermRequest& WithLongDescription(const Aws::String& value) { SetLongDescription(value); return *this;}
91 inline UpdateGlossaryTermRequest& WithLongDescription(Aws::String&& value) { SetLongDescription(std::move(value)); return *this;}
92 inline UpdateGlossaryTermRequest& WithLongDescription(const char* value) { SetLongDescription(value); return *this;}
94
96
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline UpdateGlossaryTermRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline UpdateGlossaryTermRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline UpdateGlossaryTermRequest& WithName(const char* value) { SetName(value); return *this;}
109
111
115 inline const Aws::String& GetShortDescription() const{ return m_shortDescription; }
116 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
117 inline void SetShortDescription(const Aws::String& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; }
118 inline void SetShortDescription(Aws::String&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::move(value); }
119 inline void SetShortDescription(const char* value) { m_shortDescriptionHasBeenSet = true; m_shortDescription.assign(value); }
121 inline UpdateGlossaryTermRequest& WithShortDescription(Aws::String&& value) { SetShortDescription(std::move(value)); return *this;}
122 inline UpdateGlossaryTermRequest& WithShortDescription(const char* value) { SetShortDescription(value); return *this;}
124
126
130 inline const GlossaryTermStatus& GetStatus() const{ return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(const GlossaryTermStatus& value) { m_statusHasBeenSet = true; m_status = value; }
133 inline void SetStatus(GlossaryTermStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
134 inline UpdateGlossaryTermRequest& WithStatus(const GlossaryTermStatus& value) { SetStatus(value); return *this;}
135 inline UpdateGlossaryTermRequest& WithStatus(GlossaryTermStatus&& value) { SetStatus(std::move(value)); return *this;}
137
139
143 inline const TermRelations& GetTermRelations() const{ return m_termRelations; }
144 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
145 inline void SetTermRelations(const TermRelations& value) { m_termRelationsHasBeenSet = true; m_termRelations = value; }
146 inline void SetTermRelations(TermRelations&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::move(value); }
147 inline UpdateGlossaryTermRequest& WithTermRelations(const TermRelations& value) { SetTermRelations(value); return *this;}
148 inline UpdateGlossaryTermRequest& WithTermRelations(TermRelations&& value) { SetTermRelations(std::move(value)); return *this;}
150 private:
151
152 Aws::String m_domainIdentifier;
153 bool m_domainIdentifierHasBeenSet = false;
154
155 Aws::String m_glossaryIdentifier;
156 bool m_glossaryIdentifierHasBeenSet = false;
157
158 Aws::String m_identifier;
159 bool m_identifierHasBeenSet = false;
160
161 Aws::String m_longDescription;
162 bool m_longDescriptionHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_shortDescription;
168 bool m_shortDescriptionHasBeenSet = false;
169
170 GlossaryTermStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 TermRelations m_termRelations;
174 bool m_termRelationsHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace DataZone
179} // namespace Aws
UpdateGlossaryTermRequest & WithName(const Aws::String &value)
UpdateGlossaryTermRequest & WithName(Aws::String &&value)
UpdateGlossaryTermRequest & WithShortDescription(const char *value)
UpdateGlossaryTermRequest & WithDomainIdentifier(const char *value)
UpdateGlossaryTermRequest & WithIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateGlossaryTermRequest & WithName(const char *value)
UpdateGlossaryTermRequest & WithTermRelations(const TermRelations &value)
UpdateGlossaryTermRequest & WithGlossaryIdentifier(Aws::String &&value)
UpdateGlossaryTermRequest & WithTermRelations(TermRelations &&value)
UpdateGlossaryTermRequest & WithGlossaryIdentifier(const char *value)
UpdateGlossaryTermRequest & WithLongDescription(const char *value)
UpdateGlossaryTermRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateGlossaryTermRequest & WithIdentifier(const char *value)
UpdateGlossaryTermRequest & WithStatus(GlossaryTermStatus &&value)
UpdateGlossaryTermRequest & WithLongDescription(Aws::String &&value)
UpdateGlossaryTermRequest & WithIdentifier(Aws::String &&value)
UpdateGlossaryTermRequest & WithDomainIdentifier(Aws::String &&value)
UpdateGlossaryTermRequest & WithShortDescription(const Aws::String &value)
UpdateGlossaryTermRequest & WithShortDescription(Aws::String &&value)
UpdateGlossaryTermRequest & WithLongDescription(const Aws::String &value)
UpdateGlossaryTermRequest & WithStatus(const GlossaryTermStatus &value)
UpdateGlossaryTermRequest & WithGlossaryIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String