AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
46 UpdateGlossaryRequest& WithClientToken(ClientTokenT&& value) {
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
65 UpdateGlossaryRequest& WithDescription(DescriptionT&& value) {
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
77 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
78 template <typename DomainIdentifierT = Aws::String>
79 void SetDomainIdentifier(DomainIdentifierT&& value) {
80 m_domainIdentifierHasBeenSet = true;
81 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
82 }
83 template <typename DomainIdentifierT = Aws::String>
84 UpdateGlossaryRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
85 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetIdentifier() const { return m_identifier; }
95 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
96 template <typename IdentifierT = Aws::String>
97 void SetIdentifier(IdentifierT&& value) {
98 m_identifierHasBeenSet = true;
99 m_identifier = std::forward<IdentifierT>(value);
100 }
101 template <typename IdentifierT = Aws::String>
102 UpdateGlossaryRequest& WithIdentifier(IdentifierT&& value) {
103 SetIdentifier(std::forward<IdentifierT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetName() const { return m_name; }
113 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
114 template <typename NameT = Aws::String>
115 void SetName(NameT&& value) {
116 m_nameHasBeenSet = true;
117 m_name = std::forward<NameT>(value);
118 }
119 template <typename NameT = Aws::String>
121 SetName(std::forward<NameT>(value));
122 return *this;
123 }
125
127
131 inline GlossaryStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(GlossaryStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142 private:
144 bool m_clientTokenHasBeenSet = true;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Aws::String m_domainIdentifier;
150 bool m_domainIdentifierHasBeenSet = false;
151
152 Aws::String m_identifier;
153 bool m_identifierHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
159 bool m_statusHasBeenSet = false;
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