AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 UpdateGlossaryRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 UpdateGlossaryRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
68 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
69 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
70 template<typename DomainIdentifierT = Aws::String>
71 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
72 template<typename DomainIdentifierT = Aws::String>
73 UpdateGlossaryRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
75
77
80 inline const Aws::String& GetIdentifier() const { return m_identifier; }
81 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
82 template<typename IdentifierT = Aws::String>
83 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
84 template<typename IdentifierT = Aws::String>
85 UpdateGlossaryRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 UpdateGlossaryRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
105 inline GlossaryStatus GetStatus() const { return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(GlossaryStatus value) { m_statusHasBeenSet = true; m_status = value; }
108 inline UpdateGlossaryRequest& WithStatus(GlossaryStatus value) { SetStatus(value); return *this;}
110 private:
111
113 bool m_clientTokenHasBeenSet = true;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_domainIdentifier;
119 bool m_domainIdentifierHasBeenSet = false;
120
121 Aws::String m_identifier;
122 bool m_identifierHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
128 bool m_statusHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace DataZone
133} // 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