AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATAZONE_API UpdateGlossaryTermResult() = default;
35
36
38
42 inline const Aws::String& GetDomainId() const { return m_domainId; }
43 template<typename DomainIdT = Aws::String>
44 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
45 template<typename DomainIdT = Aws::String>
46 UpdateGlossaryTermResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
54 template<typename GlossaryIdT = Aws::String>
55 void SetGlossaryId(GlossaryIdT&& value) { m_glossaryIdHasBeenSet = true; m_glossaryId = std::forward<GlossaryIdT>(value); }
56 template<typename GlossaryIdT = Aws::String>
57 UpdateGlossaryTermResult& WithGlossaryId(GlossaryIdT&& value) { SetGlossaryId(std::forward<GlossaryIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetId() const { return m_id; }
65 template<typename IdT = Aws::String>
66 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
67 template<typename IdT = Aws::String>
68 UpdateGlossaryTermResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
70
72
76 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
77 template<typename LongDescriptionT = Aws::String>
78 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
79 template<typename LongDescriptionT = Aws::String>
80 UpdateGlossaryTermResult& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
82
84
88 inline const Aws::String& GetName() const { return m_name; }
89 template<typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
91 template<typename NameT = Aws::String>
92 UpdateGlossaryTermResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
94
96
100 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
101 template<typename ShortDescriptionT = Aws::String>
102 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
103 template<typename ShortDescriptionT = Aws::String>
104 UpdateGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
106
108
112 inline GlossaryTermStatus GetStatus() const { return m_status; }
113 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
114 inline UpdateGlossaryTermResult& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
116
118
122 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
123 template<typename TermRelationsT = TermRelations>
124 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
125 template<typename TermRelationsT = TermRelations>
126 UpdateGlossaryTermResult& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
128
130
131 inline const Aws::String& GetRequestId() const { return m_requestId; }
132 template<typename RequestIdT = Aws::String>
133 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
134 template<typename RequestIdT = Aws::String>
135 UpdateGlossaryTermResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
137 private:
138
139 Aws::String m_domainId;
140 bool m_domainIdHasBeenSet = false;
141
142 Aws::String m_glossaryId;
143 bool m_glossaryIdHasBeenSet = false;
144
145 Aws::String m_id;
146 bool m_idHasBeenSet = false;
147
148 Aws::String m_longDescription;
149 bool m_longDescriptionHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_shortDescription;
155 bool m_shortDescriptionHasBeenSet = false;
156
158 bool m_statusHasBeenSet = false;
159
160 TermRelations m_termRelations;
161 bool m_termRelationsHasBeenSet = false;
162
163 Aws::String m_requestId;
164 bool m_requestIdHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace DataZone
169} // namespace Aws
UpdateGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
UpdateGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
UpdateGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
UpdateGlossaryTermResult & WithStatus(GlossaryTermStatus value)
UpdateGlossaryTermResult & WithName(NameT &&value)
UpdateGlossaryTermResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API UpdateGlossaryTermResult()=default
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
Aws::Utils::Json::JsonValue JsonValue