AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
DisassociateGlossaryTermsRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/GlueRequest.h>
11#include <aws/glue/Glue_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Glue {
17namespace Model {
18
22 public:
23 AWS_GLUE_API DisassociateGlossaryTermsRequest() = 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 "DisassociateGlossaryTerms"; }
30
31 AWS_GLUE_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetAssetIdentifier() const { return m_assetIdentifier; }
40 inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; }
41 template <typename AssetIdentifierT = Aws::String>
42 void SetAssetIdentifier(AssetIdentifierT&& value) {
43 m_assetIdentifierHasBeenSet = true;
44 m_assetIdentifier = std::forward<AssetIdentifierT>(value);
45 }
46 template <typename AssetIdentifierT = Aws::String>
48 SetAssetIdentifier(std::forward<AssetIdentifierT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetIterableFormName() const { return m_iterableFormName; }
60 inline bool IterableFormNameHasBeenSet() const { return m_iterableFormNameHasBeenSet; }
61 template <typename IterableFormNameT = Aws::String>
62 void SetIterableFormName(IterableFormNameT&& value) {
63 m_iterableFormNameHasBeenSet = true;
64 m_iterableFormName = std::forward<IterableFormNameT>(value);
65 }
66 template <typename IterableFormNameT = Aws::String>
68 SetIterableFormName(std::forward<IterableFormNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetItemIdentifier() const { return m_itemIdentifier; }
79 inline bool ItemIdentifierHasBeenSet() const { return m_itemIdentifierHasBeenSet; }
80 template <typename ItemIdentifierT = Aws::String>
81 void SetItemIdentifier(ItemIdentifierT&& value) {
82 m_itemIdentifierHasBeenSet = true;
83 m_itemIdentifier = std::forward<ItemIdentifierT>(value);
84 }
85 template <typename ItemIdentifierT = Aws::String>
87 SetItemIdentifier(std::forward<ItemIdentifierT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Vector<Aws::String>& GetGlossaryTermIdentifiers() const { return m_glossaryTermIdentifiers; }
97 inline bool GlossaryTermIdentifiersHasBeenSet() const { return m_glossaryTermIdentifiersHasBeenSet; }
98 template <typename GlossaryTermIdentifiersT = Aws::Vector<Aws::String>>
99 void SetGlossaryTermIdentifiers(GlossaryTermIdentifiersT&& value) {
100 m_glossaryTermIdentifiersHasBeenSet = true;
101 m_glossaryTermIdentifiers = std::forward<GlossaryTermIdentifiersT>(value);
102 }
103 template <typename GlossaryTermIdentifiersT = Aws::Vector<Aws::String>>
105 SetGlossaryTermIdentifiers(std::forward<GlossaryTermIdentifiersT>(value));
106 return *this;
107 }
108 template <typename GlossaryTermIdentifiersT = Aws::String>
110 m_glossaryTermIdentifiersHasBeenSet = true;
111 m_glossaryTermIdentifiers.emplace_back(std::forward<GlossaryTermIdentifiersT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::String& GetClientToken() const { return m_clientToken; }
122 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
123 template <typename ClientTokenT = Aws::String>
124 void SetClientToken(ClientTokenT&& value) {
125 m_clientTokenHasBeenSet = true;
126 m_clientToken = std::forward<ClientTokenT>(value);
127 }
128 template <typename ClientTokenT = Aws::String>
130 SetClientToken(std::forward<ClientTokenT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_assetIdentifier;
136
137 Aws::String m_iterableFormName;
138
139 Aws::String m_itemIdentifier;
140
141 Aws::Vector<Aws::String> m_glossaryTermIdentifiers;
142
144 bool m_assetIdentifierHasBeenSet = false;
145 bool m_iterableFormNameHasBeenSet = false;
146 bool m_itemIdentifierHasBeenSet = false;
147 bool m_glossaryTermIdentifiersHasBeenSet = false;
148 bool m_clientTokenHasBeenSet = true;
149};
150
151} // namespace Model
152} // namespace Glue
153} // namespace Aws
DisassociateGlossaryTermsRequest & WithClientToken(ClientTokenT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateGlossaryTermsRequest & WithGlossaryTermIdentifiers(GlossaryTermIdentifiersT &&value)
DisassociateGlossaryTermsRequest & WithItemIdentifier(ItemIdentifierT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTermIdentifiers() const
DisassociateGlossaryTermsRequest & AddGlossaryTermIdentifiers(GlossaryTermIdentifiersT &&value)
DisassociateGlossaryTermsRequest & WithAssetIdentifier(AssetIdentifierT &&value)
DisassociateGlossaryTermsRequest & WithIterableFormName(IterableFormNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector