AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
AssociateGlossaryTermsRequest.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 AssociateGlossaryTermsRequest() = 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 "AssociateGlossaryTerms"; }
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
57 inline const Aws::Vector<Aws::String>& GetGlossaryTermIdentifiers() const { return m_glossaryTermIdentifiers; }
58 inline bool GlossaryTermIdentifiersHasBeenSet() const { return m_glossaryTermIdentifiersHasBeenSet; }
59 template <typename GlossaryTermIdentifiersT = Aws::Vector<Aws::String>>
60 void SetGlossaryTermIdentifiers(GlossaryTermIdentifiersT&& value) {
61 m_glossaryTermIdentifiersHasBeenSet = true;
62 m_glossaryTermIdentifiers = std::forward<GlossaryTermIdentifiersT>(value);
63 }
64 template <typename GlossaryTermIdentifiersT = Aws::Vector<Aws::String>>
66 SetGlossaryTermIdentifiers(std::forward<GlossaryTermIdentifiersT>(value));
67 return *this;
68 }
69 template <typename GlossaryTermIdentifiersT = Aws::String>
70 AssociateGlossaryTermsRequest& AddGlossaryTermIdentifiers(GlossaryTermIdentifiersT&& value) {
71 m_glossaryTermIdentifiersHasBeenSet = true;
72 m_glossaryTermIdentifiers.emplace_back(std::forward<GlossaryTermIdentifiersT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetClientToken() const { return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 template <typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) {
86 m_clientTokenHasBeenSet = true;
87 m_clientToken = std::forward<ClientTokenT>(value);
88 }
89 template <typename ClientTokenT = Aws::String>
91 SetClientToken(std::forward<ClientTokenT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_assetIdentifier;
97
98 Aws::Vector<Aws::String> m_glossaryTermIdentifiers;
99
101 bool m_assetIdentifierHasBeenSet = false;
102 bool m_glossaryTermIdentifiersHasBeenSet = false;
103 bool m_clientTokenHasBeenSet = true;
104};
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AssociateGlossaryTermsRequest & AddGlossaryTermIdentifiers(GlossaryTermIdentifiersT &&value)
AWS_GLUE_API AssociateGlossaryTermsRequest()=default
const Aws::Vector< Aws::String > & GetGlossaryTermIdentifiers() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateGlossaryTermsRequest & WithClientToken(ClientTokenT &&value)
AssociateGlossaryTermsRequest & WithAssetIdentifier(AssetIdentifierT &&value)
void SetGlossaryTermIdentifiers(GlossaryTermIdentifiersT &&value)
AssociateGlossaryTermsRequest & WithGlossaryTermIdentifiers(GlossaryTermIdentifiersT &&value)
virtual const char * GetServiceRequestName() 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