AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGlossaryTermRequest.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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API CreateGlossaryTermRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateGlossaryTerm"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline CreateGlossaryTermRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline CreateGlossaryTermRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline CreateGlossaryTermRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
58 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
59 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
60 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
61 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
62 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
64 inline CreateGlossaryTermRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
65 inline CreateGlossaryTermRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
67
69
72 inline const Aws::String& GetGlossaryIdentifier() const{ return m_glossaryIdentifier; }
73 inline bool GlossaryIdentifierHasBeenSet() const { return m_glossaryIdentifierHasBeenSet; }
74 inline void SetGlossaryIdentifier(const Aws::String& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = value; }
75 inline void SetGlossaryIdentifier(Aws::String&& value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier = std::move(value); }
76 inline void SetGlossaryIdentifier(const char* value) { m_glossaryIdentifierHasBeenSet = true; m_glossaryIdentifier.assign(value); }
78 inline CreateGlossaryTermRequest& WithGlossaryIdentifier(Aws::String&& value) { SetGlossaryIdentifier(std::move(value)); return *this;}
79 inline CreateGlossaryTermRequest& WithGlossaryIdentifier(const char* value) { SetGlossaryIdentifier(value); return *this;}
81
83
86 inline const Aws::String& GetLongDescription() const{ return m_longDescription; }
87 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
88 inline void SetLongDescription(const Aws::String& value) { m_longDescriptionHasBeenSet = true; m_longDescription = value; }
89 inline void SetLongDescription(Aws::String&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::move(value); }
90 inline void SetLongDescription(const char* value) { m_longDescriptionHasBeenSet = true; m_longDescription.assign(value); }
91 inline CreateGlossaryTermRequest& WithLongDescription(const Aws::String& value) { SetLongDescription(value); return *this;}
92 inline CreateGlossaryTermRequest& WithLongDescription(Aws::String&& value) { SetLongDescription(std::move(value)); return *this;}
93 inline CreateGlossaryTermRequest& WithLongDescription(const char* value) { SetLongDescription(value); return *this;}
95
97
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 CreateGlossaryTermRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline CreateGlossaryTermRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline CreateGlossaryTermRequest& WithName(const char* value) { SetName(value); return *this;}
109
111
114 inline const Aws::String& GetShortDescription() const{ return m_shortDescription; }
115 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
116 inline void SetShortDescription(const Aws::String& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; }
117 inline void SetShortDescription(Aws::String&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::move(value); }
118 inline void SetShortDescription(const char* value) { m_shortDescriptionHasBeenSet = true; m_shortDescription.assign(value); }
120 inline CreateGlossaryTermRequest& WithShortDescription(Aws::String&& value) { SetShortDescription(std::move(value)); return *this;}
121 inline CreateGlossaryTermRequest& WithShortDescription(const char* value) { SetShortDescription(value); return *this;}
123
125
128 inline const GlossaryTermStatus& GetStatus() const{ return m_status; }
129 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
130 inline void SetStatus(const GlossaryTermStatus& value) { m_statusHasBeenSet = true; m_status = value; }
131 inline void SetStatus(GlossaryTermStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
132 inline CreateGlossaryTermRequest& WithStatus(const GlossaryTermStatus& value) { SetStatus(value); return *this;}
133 inline CreateGlossaryTermRequest& WithStatus(GlossaryTermStatus&& value) { SetStatus(std::move(value)); return *this;}
135
137
140 inline const TermRelations& GetTermRelations() const{ return m_termRelations; }
141 inline bool TermRelationsHasBeenSet() const { return m_termRelationsHasBeenSet; }
142 inline void SetTermRelations(const TermRelations& value) { m_termRelationsHasBeenSet = true; m_termRelations = value; }
143 inline void SetTermRelations(TermRelations&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::move(value); }
144 inline CreateGlossaryTermRequest& WithTermRelations(const TermRelations& value) { SetTermRelations(value); return *this;}
145 inline CreateGlossaryTermRequest& WithTermRelations(TermRelations&& value) { SetTermRelations(std::move(value)); return *this;}
147 private:
148
149 Aws::String m_clientToken;
150 bool m_clientTokenHasBeenSet = false;
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_longDescription;
159 bool m_longDescriptionHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 Aws::String m_shortDescription;
165 bool m_shortDescriptionHasBeenSet = false;
166
167 GlossaryTermStatus m_status;
168 bool m_statusHasBeenSet = false;
169
170 TermRelations m_termRelations;
171 bool m_termRelationsHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace DataZone
176} // namespace Aws
CreateGlossaryTermRequest & WithTermRelations(TermRelations &&value)
CreateGlossaryTermRequest & WithGlossaryIdentifier(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateGlossaryTermRequest & WithClientToken(Aws::String &&value)
CreateGlossaryTermRequest & WithGlossaryIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateGlossaryTermRequest & WithName(Aws::String &&value)
CreateGlossaryTermRequest & WithShortDescription(Aws::String &&value)
CreateGlossaryTermRequest & WithDomainIdentifier(const Aws::String &value)
CreateGlossaryTermRequest & WithClientToken(const Aws::String &value)
CreateGlossaryTermRequest & WithDomainIdentifier(Aws::String &&value)
CreateGlossaryTermRequest & WithShortDescription(const char *value)
CreateGlossaryTermRequest & WithLongDescription(const char *value)
CreateGlossaryTermRequest & WithLongDescription(Aws::String &&value)
CreateGlossaryTermRequest & WithGlossaryIdentifier(const Aws::String &value)
CreateGlossaryTermRequest & WithName(const Aws::String &value)
CreateGlossaryTermRequest & WithName(const char *value)
CreateGlossaryTermRequest & WithTermRelations(const TermRelations &value)
CreateGlossaryTermRequest & WithStatus(const GlossaryTermStatus &value)
CreateGlossaryTermRequest & WithShortDescription(const Aws::String &value)
CreateGlossaryTermRequest & WithDomainIdentifier(const char *value)
CreateGlossaryTermRequest & WithStatus(GlossaryTermStatus &&value)
CreateGlossaryTermRequest & WithLongDescription(const Aws::String &value)
CreateGlossaryTermRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String