AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateGlossaryTermResult.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 CreateGlossaryTermResult() = 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 CreateGlossaryTermResult& 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 CreateGlossaryTermResult& 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 CreateGlossaryTermResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
76 template<typename LongDescriptionT = Aws::String>
77 void SetLongDescription(LongDescriptionT&& value) { m_longDescriptionHasBeenSet = true; m_longDescription = std::forward<LongDescriptionT>(value); }
78 template<typename LongDescriptionT = Aws::String>
79 CreateGlossaryTermResult& WithLongDescription(LongDescriptionT&& value) { SetLongDescription(std::forward<LongDescriptionT>(value)); return *this;}
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 CreateGlossaryTermResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
97 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
98 template<typename ShortDescriptionT = Aws::String>
99 void SetShortDescription(ShortDescriptionT&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::forward<ShortDescriptionT>(value); }
100 template<typename ShortDescriptionT = Aws::String>
101 CreateGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) { SetShortDescription(std::forward<ShortDescriptionT>(value)); return *this;}
103
105
108 inline GlossaryTermStatus GetStatus() const { return m_status; }
109 inline void SetStatus(GlossaryTermStatus value) { m_statusHasBeenSet = true; m_status = value; }
110 inline CreateGlossaryTermResult& WithStatus(GlossaryTermStatus value) { SetStatus(value); return *this;}
112
114
117 inline const TermRelations& GetTermRelations() const { return m_termRelations; }
118 template<typename TermRelationsT = TermRelations>
119 void SetTermRelations(TermRelationsT&& value) { m_termRelationsHasBeenSet = true; m_termRelations = std::forward<TermRelationsT>(value); }
120 template<typename TermRelationsT = TermRelations>
121 CreateGlossaryTermResult& WithTermRelations(TermRelationsT&& value) { SetTermRelations(std::forward<TermRelationsT>(value)); return *this;}
123
125
126 inline const Aws::String& GetRequestId() const { return m_requestId; }
127 template<typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
129 template<typename RequestIdT = Aws::String>
130 CreateGlossaryTermResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
132 private:
133
134 Aws::String m_domainId;
135 bool m_domainIdHasBeenSet = false;
136
137 Aws::String m_glossaryId;
138 bool m_glossaryIdHasBeenSet = false;
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_longDescription;
144 bool m_longDescriptionHasBeenSet = false;
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 Aws::String m_shortDescription;
150 bool m_shortDescriptionHasBeenSet = false;
151
153 bool m_statusHasBeenSet = false;
154
155 TermRelations m_termRelations;
156 bool m_termRelationsHasBeenSet = false;
157
158 Aws::String m_requestId;
159 bool m_requestIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace DataZone
164} // namespace Aws
AWS_DATAZONE_API CreateGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
CreateGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
CreateGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
CreateGlossaryTermResult & WithDomainId(DomainIdT &&value)
CreateGlossaryTermResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API CreateGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryTermResult & WithName(NameT &&value)
CreateGlossaryTermResult & WithTermRelations(TermRelationsT &&value)
CreateGlossaryTermResult & WithId(IdT &&value)
CreateGlossaryTermResult & WithStatus(GlossaryTermStatus value)
AWS_DATAZONE_API CreateGlossaryTermResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue