AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
UpdateGlossaryTermRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API UpdateGlossaryTermRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGlossaryTerm"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetShortDescription() const { return m_shortDescription; }
75 inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; }
76 template <typename ShortDescriptionT = Aws::String>
77 void SetShortDescription(ShortDescriptionT&& value) {
78 m_shortDescriptionHasBeenSet = true;
79 m_shortDescription = std::forward<ShortDescriptionT>(value);
80 }
81 template <typename ShortDescriptionT = Aws::String>
82 UpdateGlossaryTermRequest& WithShortDescription(ShortDescriptionT&& value) {
83 SetShortDescription(std::forward<ShortDescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetLongDescription() const { return m_longDescription; }
93 inline bool LongDescriptionHasBeenSet() const { return m_longDescriptionHasBeenSet; }
94 template <typename LongDescriptionT = Aws::String>
95 void SetLongDescription(LongDescriptionT&& value) {
96 m_longDescriptionHasBeenSet = true;
97 m_longDescription = std::forward<LongDescriptionT>(value);
98 }
99 template <typename LongDescriptionT = Aws::String>
101 SetLongDescription(std::forward<LongDescriptionT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetClientToken() const { return m_clientToken; }
112 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
113 template <typename ClientTokenT = Aws::String>
114 void SetClientToken(ClientTokenT&& value) {
115 m_clientTokenHasBeenSet = true;
116 m_clientToken = std::forward<ClientTokenT>(value);
117 }
118 template <typename ClientTokenT = Aws::String>
120 SetClientToken(std::forward<ClientTokenT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_identifier;
126
127 Aws::String m_name;
128
129 Aws::String m_shortDescription;
130
131 Aws::String m_longDescription;
132
134 bool m_identifierHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_shortDescriptionHasBeenSet = false;
137 bool m_longDescriptionHasBeenSet = false;
138 bool m_clientTokenHasBeenSet = true;
139};
140
141} // namespace Model
142} // namespace Glue
143} // namespace Aws
UpdateGlossaryTermRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateGlossaryTermRequest & WithIdentifier(IdentifierT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGlossaryTermRequest & WithLongDescription(LongDescriptionT &&value)
UpdateGlossaryTermRequest & WithShortDescription(ShortDescriptionT &&value)
UpdateGlossaryTermRequest & WithClientToken(ClientTokenT &&value)
AWS_GLUE_API UpdateGlossaryTermRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String