AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
UpdateGlossaryTermResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API UpdateGlossaryTermResult() = default;
29
31
34 inline const Aws::String& GetId() const { return m_id; }
35 template <typename IdT = Aws::String>
36 void SetId(IdT&& value) {
37 m_idHasBeenSet = true;
38 m_id = std::forward<IdT>(value);
39 }
40 template <typename IdT = Aws::String>
42 SetId(std::forward<IdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetGlossaryId() const { return m_glossaryId; }
52 template <typename GlossaryIdT = Aws::String>
53 void SetGlossaryId(GlossaryIdT&& value) {
54 m_glossaryIdHasBeenSet = true;
55 m_glossaryId = std::forward<GlossaryIdT>(value);
56 }
57 template <typename GlossaryIdT = Aws::String>
59 SetGlossaryId(std::forward<GlossaryIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 template <typename NameT = Aws::String>
70 void SetName(NameT&& value) {
71 m_nameHasBeenSet = true;
72 m_name = std::forward<NameT>(value);
73 }
74 template <typename NameT = Aws::String>
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
86 template <typename ShortDescriptionT = Aws::String>
87 void SetShortDescription(ShortDescriptionT&& value) {
88 m_shortDescriptionHasBeenSet = true;
89 m_shortDescription = std::forward<ShortDescriptionT>(value);
90 }
91 template <typename ShortDescriptionT = Aws::String>
92 UpdateGlossaryTermResult& WithShortDescription(ShortDescriptionT&& value) {
93 SetShortDescription(std::forward<ShortDescriptionT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
103 template <typename LongDescriptionT = Aws::String>
104 void SetLongDescription(LongDescriptionT&& value) {
105 m_longDescriptionHasBeenSet = true;
106 m_longDescription = std::forward<LongDescriptionT>(value);
107 }
108 template <typename LongDescriptionT = Aws::String>
110 SetLongDescription(std::forward<LongDescriptionT>(value));
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_id;
133
134 Aws::String m_glossaryId;
135
136 Aws::String m_name;
137
138 Aws::String m_shortDescription;
139
140 Aws::String m_longDescription;
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_idHasBeenSet = false;
145 bool m_glossaryIdHasBeenSet = false;
146 bool m_nameHasBeenSet = false;
147 bool m_shortDescriptionHasBeenSet = false;
148 bool m_longDescriptionHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
UpdateGlossaryTermResult & WithId(IdT &&value)
UpdateGlossaryTermResult & WithRequestId(RequestIdT &&value)
UpdateGlossaryTermResult & WithShortDescription(ShortDescriptionT &&value)
UpdateGlossaryTermResult & WithGlossaryId(GlossaryIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GLUE_API UpdateGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetShortDescription(ShortDescriptionT &&value)
AWS_GLUE_API UpdateGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGlossaryTermResult & WithLongDescription(LongDescriptionT &&value)
AWS_GLUE_API UpdateGlossaryTermResult()=default
UpdateGlossaryTermResult & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue