AWS SDK for C++

AWS SDK for C++ Version 1.11.874

Loading...
Searching...
No Matches
AssociateGlossaryTermsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API AssociateGlossaryTermsResult() = default;
30
32
35 inline const Aws::String& GetAssetIdentifier() const { return m_assetIdentifier; }
36 template <typename AssetIdentifierT = Aws::String>
37 void SetAssetIdentifier(AssetIdentifierT&& value) {
38 m_assetIdentifierHasBeenSet = true;
39 m_assetIdentifier = std::forward<AssetIdentifierT>(value);
40 }
41 template <typename AssetIdentifierT = Aws::String>
43 SetAssetIdentifier(std::forward<AssetIdentifierT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetIterableFormName() const { return m_iterableFormName; }
53 template <typename IterableFormNameT = Aws::String>
54 void SetIterableFormName(IterableFormNameT&& value) {
55 m_iterableFormNameHasBeenSet = true;
56 m_iterableFormName = std::forward<IterableFormNameT>(value);
57 }
58 template <typename IterableFormNameT = Aws::String>
60 SetIterableFormName(std::forward<IterableFormNameT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetItemIdentifier() const { return m_itemIdentifier; }
70 template <typename ItemIdentifierT = Aws::String>
71 void SetItemIdentifier(ItemIdentifierT&& value) {
72 m_itemIdentifierHasBeenSet = true;
73 m_itemIdentifier = std::forward<ItemIdentifierT>(value);
74 }
75 template <typename ItemIdentifierT = Aws::String>
77 SetItemIdentifier(std::forward<ItemIdentifierT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
87 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
88 void SetGlossaryTerms(GlossaryTermsT&& value) {
89 m_glossaryTermsHasBeenSet = true;
90 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
91 }
92 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
94 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
95 return *this;
96 }
97 template <typename GlossaryTermsT = Aws::String>
99 m_glossaryTermsHasBeenSet = true;
100 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
101 return *this;
102 }
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template <typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) {
110 m_requestIdHasBeenSet = true;
111 m_requestId = std::forward<RequestIdT>(value);
112 }
113 template <typename RequestIdT = Aws::String>
115 SetRequestId(std::forward<RequestIdT>(value));
116 return *this;
117 }
119 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
120
121 private:
122 Aws::String m_assetIdentifier;
123
124 Aws::String m_iterableFormName;
125
126 Aws::String m_itemIdentifier;
127
128 Aws::Vector<Aws::String> m_glossaryTerms;
129
130 Aws::String m_requestId;
131 Aws::Http::HttpResponseCode m_HttpResponseCode;
132 bool m_assetIdentifierHasBeenSet = false;
133 bool m_iterableFormNameHasBeenSet = false;
134 bool m_itemIdentifierHasBeenSet = false;
135 bool m_glossaryTermsHasBeenSet = false;
136 bool m_requestIdHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Glue
141} // namespace Aws
AWS_GLUE_API AssociateGlossaryTermsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateGlossaryTermsResult & WithIterableFormName(IterableFormNameT &&value)
AWS_GLUE_API AssociateGlossaryTermsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API AssociateGlossaryTermsResult()=default
AssociateGlossaryTermsResult & AddGlossaryTerms(GlossaryTermsT &&value)
AssociateGlossaryTermsResult & WithItemIdentifier(ItemIdentifierT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
AssociateGlossaryTermsResult & WithRequestId(RequestIdT &&value)
AssociateGlossaryTermsResult & WithAssetIdentifier(AssetIdentifierT &&value)
AssociateGlossaryTermsResult & WithGlossaryTerms(GlossaryTermsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue