AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const Aws::String& GetDomainId() const{ return m_domainId; }
43 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
44 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
45 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
46 inline CreateGlossaryTermResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
47 inline CreateGlossaryTermResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
48 inline CreateGlossaryTermResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
50
52
55 inline const Aws::String& GetGlossaryId() const{ return m_glossaryId; }
56 inline void SetGlossaryId(const Aws::String& value) { m_glossaryId = value; }
57 inline void SetGlossaryId(Aws::String&& value) { m_glossaryId = std::move(value); }
58 inline void SetGlossaryId(const char* value) { m_glossaryId.assign(value); }
59 inline CreateGlossaryTermResult& WithGlossaryId(const Aws::String& value) { SetGlossaryId(value); return *this;}
60 inline CreateGlossaryTermResult& WithGlossaryId(Aws::String&& value) { SetGlossaryId(std::move(value)); return *this;}
61 inline CreateGlossaryTermResult& WithGlossaryId(const char* value) { SetGlossaryId(value); return *this;}
63
65
68 inline const Aws::String& GetId() const{ return m_id; }
69 inline void SetId(const Aws::String& value) { m_id = value; }
70 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
71 inline void SetId(const char* value) { m_id.assign(value); }
72 inline CreateGlossaryTermResult& WithId(const Aws::String& value) { SetId(value); return *this;}
73 inline CreateGlossaryTermResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 inline CreateGlossaryTermResult& WithId(const char* value) { SetId(value); return *this;}
76
78
81 inline const Aws::String& GetLongDescription() const{ return m_longDescription; }
82 inline void SetLongDescription(const Aws::String& value) { m_longDescription = value; }
83 inline void SetLongDescription(Aws::String&& value) { m_longDescription = std::move(value); }
84 inline void SetLongDescription(const char* value) { m_longDescription.assign(value); }
85 inline CreateGlossaryTermResult& WithLongDescription(const Aws::String& value) { SetLongDescription(value); return *this;}
86 inline CreateGlossaryTermResult& WithLongDescription(Aws::String&& value) { SetLongDescription(std::move(value)); return *this;}
87 inline CreateGlossaryTermResult& WithLongDescription(const char* value) { SetLongDescription(value); return *this;}
89
91
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline void SetName(const Aws::String& value) { m_name = value; }
96 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
97 inline void SetName(const char* value) { m_name.assign(value); }
98 inline CreateGlossaryTermResult& WithName(const Aws::String& value) { SetName(value); return *this;}
99 inline CreateGlossaryTermResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
100 inline CreateGlossaryTermResult& WithName(const char* value) { SetName(value); return *this;}
102
104
107 inline const Aws::String& GetShortDescription() const{ return m_shortDescription; }
108 inline void SetShortDescription(const Aws::String& value) { m_shortDescription = value; }
109 inline void SetShortDescription(Aws::String&& value) { m_shortDescription = std::move(value); }
110 inline void SetShortDescription(const char* value) { m_shortDescription.assign(value); }
112 inline CreateGlossaryTermResult& WithShortDescription(Aws::String&& value) { SetShortDescription(std::move(value)); return *this;}
113 inline CreateGlossaryTermResult& WithShortDescription(const char* value) { SetShortDescription(value); return *this;}
115
117
120 inline const GlossaryTermStatus& GetStatus() const{ return m_status; }
121 inline void SetStatus(const GlossaryTermStatus& value) { m_status = value; }
122 inline void SetStatus(GlossaryTermStatus&& value) { m_status = std::move(value); }
123 inline CreateGlossaryTermResult& WithStatus(const GlossaryTermStatus& value) { SetStatus(value); return *this;}
124 inline CreateGlossaryTermResult& WithStatus(GlossaryTermStatus&& value) { SetStatus(std::move(value)); return *this;}
126
128
131 inline const TermRelations& GetTermRelations() const{ return m_termRelations; }
132 inline void SetTermRelations(const TermRelations& value) { m_termRelations = value; }
133 inline void SetTermRelations(TermRelations&& value) { m_termRelations = std::move(value); }
134 inline CreateGlossaryTermResult& WithTermRelations(const TermRelations& value) { SetTermRelations(value); return *this;}
135 inline CreateGlossaryTermResult& WithTermRelations(TermRelations&& value) { SetTermRelations(std::move(value)); return *this;}
137
139
140 inline const Aws::String& GetRequestId() const{ return m_requestId; }
141 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
142 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
143 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 inline CreateGlossaryTermResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
145 inline CreateGlossaryTermResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
146 inline CreateGlossaryTermResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
148 private:
149
150 Aws::String m_domainId;
151
152 Aws::String m_glossaryId;
153
154 Aws::String m_id;
155
156 Aws::String m_longDescription;
157
158 Aws::String m_name;
159
160 Aws::String m_shortDescription;
161
162 GlossaryTermStatus m_status;
163
164 TermRelations m_termRelations;
165
166 Aws::String m_requestId;
167 };
168
169} // namespace Model
170} // namespace DataZone
171} // namespace Aws
CreateGlossaryTermResult & WithRequestId(const Aws::String &value)
void SetStatus(const GlossaryTermStatus &value)
CreateGlossaryTermResult & WithGlossaryId(const Aws::String &value)
CreateGlossaryTermResult & WithTermRelations(const TermRelations &value)
CreateGlossaryTermResult & WithGlossaryId(const char *value)
CreateGlossaryTermResult & WithRequestId(Aws::String &&value)
CreateGlossaryTermResult & WithRequestId(const char *value)
CreateGlossaryTermResult & WithTermRelations(TermRelations &&value)
CreateGlossaryTermResult & WithShortDescription(Aws::String &&value)
CreateGlossaryTermResult & WithDomainId(const char *value)
CreateGlossaryTermResult & WithStatus(GlossaryTermStatus &&value)
AWS_DATAZONE_API CreateGlossaryTermResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryTermResult & WithId(Aws::String &&value)
CreateGlossaryTermResult & WithLongDescription(const char *value)
CreateGlossaryTermResult & WithShortDescription(const char *value)
CreateGlossaryTermResult & WithName(const Aws::String &value)
CreateGlossaryTermResult & WithStatus(const GlossaryTermStatus &value)
CreateGlossaryTermResult & WithDomainId(Aws::String &&value)
CreateGlossaryTermResult & WithId(const Aws::String &value)
AWS_DATAZONE_API CreateGlossaryTermResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryTermResult & WithName(const char *value)
CreateGlossaryTermResult & WithName(Aws::String &&value)
CreateGlossaryTermResult & WithLongDescription(Aws::String &&value)
CreateGlossaryTermResult & WithId(const char *value)
CreateGlossaryTermResult & WithDomainId(const Aws::String &value)
CreateGlossaryTermResult & WithGlossaryId(Aws::String &&value)
CreateGlossaryTermResult & WithLongDescription(const Aws::String &value)
CreateGlossaryTermResult & WithShortDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue