AWS SDK for C++

AWS SDK for C++ Version 1.11.838

Loading...
Searching...
No Matches
DisassociateGlossaryTermsResult.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 DisassociateGlossaryTermsResult() = 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::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
53 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
54 void SetGlossaryTerms(GlossaryTermsT&& value) {
55 m_glossaryTermsHasBeenSet = true;
56 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
57 }
58 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
60 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
61 return *this;
62 }
63 template <typename GlossaryTermsT = Aws::String>
65 m_glossaryTermsHasBeenSet = true;
66 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
88 Aws::String m_assetIdentifier;
89
90 Aws::Vector<Aws::String> m_glossaryTerms;
91
92 Aws::String m_requestId;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_assetIdentifierHasBeenSet = false;
95 bool m_glossaryTermsHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
DisassociateGlossaryTermsResult & WithGlossaryTerms(GlossaryTermsT &&value)
AWS_GLUE_API DisassociateGlossaryTermsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateGlossaryTermsResult & AddGlossaryTerms(GlossaryTermsT &&value)
DisassociateGlossaryTermsResult & WithAssetIdentifier(AssetIdentifierT &&value)
AWS_GLUE_API DisassociateGlossaryTermsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateGlossaryTermsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue