AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateGlossaryResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GlossaryStatus.h>
11#include <aws/datazone/model/GlossaryUsageRestriction.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API CreateGlossaryResult() = default;
31
33
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
44 CreateGlossaryResult& WithDomainId(DomainIdT&& value) {
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 template <typename IdT = Aws::String>
56 void SetId(IdT&& value) {
57 m_idHasBeenSet = true;
58 m_id = std::forward<IdT>(value);
59 }
60 template <typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
89 template <typename OwningProjectIdT = Aws::String>
90 void SetOwningProjectId(OwningProjectIdT&& value) {
91 m_owningProjectIdHasBeenSet = true;
92 m_owningProjectId = std::forward<OwningProjectIdT>(value);
93 }
94 template <typename OwningProjectIdT = Aws::String>
95 CreateGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) {
96 SetOwningProjectId(std::forward<OwningProjectIdT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
112 CreateGlossaryResult& WithDescription(DescriptionT&& value) {
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
122 inline GlossaryStatus GetStatus() const { return m_status; }
123 inline void SetStatus(GlossaryStatus value) {
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
137 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
138 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
139 void SetUsageRestrictions(UsageRestrictionsT&& value) {
140 m_usageRestrictionsHasBeenSet = true;
141 m_usageRestrictions = std::forward<UsageRestrictionsT>(value);
142 }
143 template <typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
144 CreateGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) {
145 SetUsageRestrictions(std::forward<UsageRestrictionsT>(value));
146 return *this;
147 }
149 m_usageRestrictionsHasBeenSet = true;
150 m_usageRestrictions.push_back(value);
151 return *this;
152 }
154
156
157 inline const Aws::String& GetRequestId() const { return m_requestId; }
158 template <typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) {
160 m_requestIdHasBeenSet = true;
161 m_requestId = std::forward<RequestIdT>(value);
162 }
163 template <typename RequestIdT = Aws::String>
164 CreateGlossaryResult& WithRequestId(RequestIdT&& value) {
165 SetRequestId(std::forward<RequestIdT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_domainId;
171
172 Aws::String m_id;
173
174 Aws::String m_name;
175
176 Aws::String m_owningProjectId;
177
178 Aws::String m_description;
179
181
182 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
183
184 Aws::String m_requestId;
185 bool m_domainIdHasBeenSet = false;
186 bool m_idHasBeenSet = false;
187 bool m_nameHasBeenSet = false;
188 bool m_owningProjectIdHasBeenSet = false;
189 bool m_descriptionHasBeenSet = false;
190 bool m_statusHasBeenSet = false;
191 bool m_usageRestrictionsHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace DataZone
197} // namespace Aws
void SetUsageRestrictions(UsageRestrictionsT &&value)
AWS_DATAZONE_API CreateGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGlossaryResult & WithDomainId(DomainIdT &&value)
CreateGlossaryResult & WithStatus(GlossaryStatus value)
CreateGlossaryResult & WithName(NameT &&value)
CreateGlossaryResult & WithDescription(DescriptionT &&value)
CreateGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
AWS_DATAZONE_API CreateGlossaryResult()=default
void SetOwningProjectId(OwningProjectIdT &&value)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
CreateGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&value)
CreateGlossaryResult & WithRequestId(RequestIdT &&value)
CreateGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
CreateGlossaryResult & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue