AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGlossaryRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/GlossaryStatus.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateGlossaryRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlossary"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline UpdateGlossaryRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline UpdateGlossaryRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline UpdateGlossaryRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateGlossaryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateGlossaryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateGlossaryRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
73 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
74 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
75 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
76 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
77 inline UpdateGlossaryRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
78 inline UpdateGlossaryRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
79 inline UpdateGlossaryRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
81
83
86 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
87 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
88 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
89 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
90 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
91 inline UpdateGlossaryRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
92 inline UpdateGlossaryRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
93 inline UpdateGlossaryRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
102 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
103 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 inline UpdateGlossaryRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 inline UpdateGlossaryRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
107 inline UpdateGlossaryRequest& WithName(const char* value) { SetName(value); return *this;}
109
111
115 inline const GlossaryStatus& GetStatus() const{ return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(const GlossaryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
118 inline void SetStatus(GlossaryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 inline UpdateGlossaryRequest& WithStatus(const GlossaryStatus& value) { SetStatus(value); return *this;}
120 inline UpdateGlossaryRequest& WithStatus(GlossaryStatus&& value) { SetStatus(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_clientToken;
125 bool m_clientTokenHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 Aws::String m_domainIdentifier;
131 bool m_domainIdentifierHasBeenSet = false;
132
133 Aws::String m_identifier;
134 bool m_identifierHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 GlossaryStatus m_status;
140 bool m_statusHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace DataZone
145} // namespace Aws
UpdateGlossaryRequest & WithClientToken(const char *value)
UpdateGlossaryRequest & WithStatus(const GlossaryStatus &value)
UpdateGlossaryRequest & WithClientToken(const Aws::String &value)
UpdateGlossaryRequest & WithClientToken(Aws::String &&value)
UpdateGlossaryRequest & WithDomainIdentifier(Aws::String &&value)
UpdateGlossaryRequest & WithIdentifier(const char *value)
UpdateGlossaryRequest & WithDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetDomainIdentifier(const Aws::String &value)
UpdateGlossaryRequest & WithName(Aws::String &&value)
UpdateGlossaryRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateGlossaryRequest & WithDomainIdentifier(const char *value)
UpdateGlossaryRequest & WithIdentifier(const Aws::String &value)
UpdateGlossaryRequest & WithDescription(const char *value)
UpdateGlossaryRequest & WithDescription(Aws::String &&value)
UpdateGlossaryRequest & WithIdentifier(Aws::String &&value)
UpdateGlossaryRequest & WithName(const Aws::String &value)
UpdateGlossaryRequest & WithName(const char *value)
UpdateGlossaryRequest & WithStatus(GlossaryStatus &&value)
void SetStatus(const GlossaryStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String