AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
UpdateGlossaryResult.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/GlossaryStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/GlossaryUsageRestriction.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API UpdateGlossaryResult() = default;
36
37
39
43 inline const Aws::String& GetDescription() const { return m_description; }
44 template<typename DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
46 template<typename DescriptionT = Aws::String>
47 UpdateGlossaryResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDomainId() const { return m_domainId; }
56 template<typename DomainIdT = Aws::String>
57 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
58 template<typename DomainIdT = Aws::String>
59 UpdateGlossaryResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetId() const { return m_id; }
67 template<typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
69 template<typename IdT = Aws::String>
70 UpdateGlossaryResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 template<typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
80 template<typename NameT = Aws::String>
81 UpdateGlossaryResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
83
85
88 inline const Aws::String& GetOwningProjectId() const { return m_owningProjectId; }
89 template<typename OwningProjectIdT = Aws::String>
90 void SetOwningProjectId(OwningProjectIdT&& value) { m_owningProjectIdHasBeenSet = true; m_owningProjectId = std::forward<OwningProjectIdT>(value); }
91 template<typename OwningProjectIdT = Aws::String>
92 UpdateGlossaryResult& WithOwningProjectId(OwningProjectIdT&& value) { SetOwningProjectId(std::forward<OwningProjectIdT>(value)); return *this;}
94
96
100 inline GlossaryStatus GetStatus() const { return m_status; }
101 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
102 inline UpdateGlossaryResult& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
104
106
109 inline const Aws::Vector<GlossaryUsageRestriction>& GetUsageRestrictions() const { return m_usageRestrictions; }
110 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
111 void SetUsageRestrictions(UsageRestrictionsT&& value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions = std::forward<UsageRestrictionsT>(value); }
112 template<typename UsageRestrictionsT = Aws::Vector<GlossaryUsageRestriction>>
113 UpdateGlossaryResult& WithUsageRestrictions(UsageRestrictionsT&& value) { SetUsageRestrictions(std::forward<UsageRestrictionsT>(value)); return *this;}
114 inline UpdateGlossaryResult& AddUsageRestrictions(GlossaryUsageRestriction value) { m_usageRestrictionsHasBeenSet = true; m_usageRestrictions.push_back(value); return *this; }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 UpdateGlossaryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 Aws::String m_domainId;
131 bool m_domainIdHasBeenSet = false;
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::String m_owningProjectId;
140 bool m_owningProjectIdHasBeenSet = false;
141
143 bool m_statusHasBeenSet = false;
144
145 Aws::Vector<GlossaryUsageRestriction> m_usageRestrictions;
146 bool m_usageRestrictionsHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DataZone
154} // namespace Aws
UpdateGlossaryResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< GlossaryUsageRestriction > & GetUsageRestrictions() const
UpdateGlossaryResult & WithDescription(DescriptionT &&value)
void SetOwningProjectId(OwningProjectIdT &&value)
void SetUsageRestrictions(UsageRestrictionsT &&value)
AWS_DATAZONE_API UpdateGlossaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGlossaryResult & WithStatus(GlossaryStatus value)
UpdateGlossaryResult & WithId(IdT &&value)
AWS_DATAZONE_API UpdateGlossaryResult()=default
UpdateGlossaryResult & AddUsageRestrictions(GlossaryUsageRestriction value)
AWS_DATAZONE_API UpdateGlossaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGlossaryResult & WithDomainId(DomainIdT &&value)
UpdateGlossaryResult & WithName(NameT &&value)
UpdateGlossaryResult & WithOwningProjectId(OwningProjectIdT &&value)
UpdateGlossaryResult & WithUsageRestrictions(UsageRestrictionsT &&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