AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateGlossaryRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/GlossaryStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateGlossaryRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlossary"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
46 UpdateGlossaryRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetIdentifier() const { return m_identifier; }
57 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
58 template <typename IdentifierT = Aws::String>
59 void SetIdentifier(IdentifierT&& value) {
60 m_identifierHasBeenSet = true;
61 m_identifier = std::forward<IdentifierT>(value);
62 }
63 template <typename IdentifierT = Aws::String>
64 UpdateGlossaryRequest& WithIdentifier(IdentifierT&& value) {
65 SetIdentifier(std::forward<IdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 UpdateGlossaryRequest& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
112 inline GlossaryStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(GlossaryStatus value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123
125
129 inline const Aws::String& GetClientToken() const { return m_clientToken; }
130 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
131 template <typename ClientTokenT = Aws::String>
132 void SetClientToken(ClientTokenT&& value) {
133 m_clientTokenHasBeenSet = true;
134 m_clientToken = std::forward<ClientTokenT>(value);
135 }
136 template <typename ClientTokenT = Aws::String>
137 UpdateGlossaryRequest& WithClientToken(ClientTokenT&& value) {
138 SetClientToken(std::forward<ClientTokenT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_domainIdentifier;
144
145 Aws::String m_identifier;
146
147 Aws::String m_name;
148
149 Aws::String m_description;
150
152
154 bool m_domainIdentifierHasBeenSet = false;
155 bool m_identifierHasBeenSet = false;
156 bool m_nameHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_statusHasBeenSet = false;
159 bool m_clientTokenHasBeenSet = true;
160};
161
162} // namespace Model
163} // namespace DataZone
164} // namespace Aws
UpdateGlossaryRequest & WithDescription(DescriptionT &&value)
AWS_DATAZONE_API UpdateGlossaryRequest()=default
UpdateGlossaryRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
UpdateGlossaryRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateGlossaryRequest & WithIdentifier(IdentifierT &&value)
UpdateGlossaryRequest & WithStatus(GlossaryStatus value)
void SetDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateGlossaryRequest & WithName(NameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String