AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
UpdateGlossaryTermResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/GlossaryTermStatus.h>
10#include <aws/datazone/model/TermRelations.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/GlossaryUsageRestriction.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
32 {
33 public:
34 AWS_DATAZONE_API UpdateGlossaryTermResult() = default;
37
38
40
44 inline const Aws::String& GetDomainId() const { return m_domainId; }
45 template<typename DomainIdT = Aws::String>
46 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
47 template<typename DomainIdT = Aws::String>
48 UpdateGlossaryTermResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
56 template<typename GlossaryIdT = Aws::String>
57 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::forward<GlossaryIdT>(value); }
58 template<typename GlossaryIdT = Aws::String>
59 UpdateGlossaryTermResult& WithGlossaryId(GlossaryIdT&& value) { SetGlossaryId(std::forward<GlossaryIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetId() const { return m_id; }
67 template<typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
69 template<typename IdT = Aws::String>
70 UpdateGlossaryTermResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
72
74
78 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
79 template<typename LongDescriptionT = Aws::String>
80 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
81 template<typename LongDescriptionT = Aws::String>
82 UpdateGlossaryTermResult& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
84
86
90 inline const Aws::String& GetName() const { return m_name; }
91 template<typename NameT = Aws::String>
92 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
93 template<typename NameT = Aws::String>
94 UpdateGlossaryTermResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
96
98
102 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
103 template<typename ShortDescriptionT = Aws::String>
104 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
105 template<typename ShortDescriptionT = Aws::String>
106 UpdateGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
108
110
114 inline GlossaryTermStatus GetStatus() const { return m_status; }
115 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
116 inline UpdateGlossaryTermResult& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
118
120
124 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
125 template<typename TermRelationsT = TermRelations>
126 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
127 template<typename TermRelationsT = TermRelations>
128 UpdateGlossaryTermResult& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
130
132
135 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
136 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
137 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
138 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
139 UpdateGlossaryTermResult& WithUsageRestrictions(UsageRestrictionsT&& value) { SetUsageRestrictions(std::forward<UsageRestrictionsT>(value)); return *this;}
140 inline UpdateGlossaryTermResult& AddUsageRestrictions(GlossaryUsageRestriction value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions.push_back(value); return *this; }
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template<typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
148 template<typename RequestIdT = Aws::String>
149 UpdateGlossaryTermResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
151 private:
152
153 Aws::String m_domainId;
154 bool m_domainIdHasBeenSet = false;
155
156 Aws::String m_glossaryId;
157 bool m_glossaryIdHasBeenSet = false;
158
159 Aws::String m_id;
160 bool m_idHasBeenSet = false;
161
162 Aws::String m_longDescription;
163 bool m_longDescriptionHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
168 Aws::String m_shortDescription;
169 bool m_shortDescriptionHasBeenSet = false;
170
172 bool m_statusHasBeenSet = false;
173
174 TermRelations m_termRelations;
175 bool m_termRelationsHasBeenSet = false;
176
177 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
178 bool m_usageRestrictionsHasBeenSet = false;
179
180 Aws::String m_requestId;
181 bool m_requestIdHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace DataZone
186} // namespace Aws
UpdateGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
UpdateGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
UpdateGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
UpdateGlossaryTermResult & WithStatus(GlossaryTermStatus value)
UpdateGlossaryTermResult & AddUsageRestrictions(GlossaryUsageRestriction value)
UpdateGlossaryTermResult & WithUsageRestrictions(UsageRestrictionsT &&value)
UpdateGlossaryTermResult & WithName(NameT &&value)
UpdateGlossaryTermResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API UpdateGlossaryTermResult()=default
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
UpdateGlossaryTermResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
UpdateGlossaryTermResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API UpdateGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue