AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
GetTerminologyResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/Translate_EXPORTS.h>
10#include <aws/translate/model/TerminologyDataLocation.h>
11#include <aws/translate/model/TerminologyProperties.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Translate {
25namespace Model {
27 public:
28 AWS_TRANSLATE_API GetTerminologyResult() = default;
31
33
36 inline const TerminologyProperties& GetTerminologyProperties() const { return m_terminologyProperties; }
37 template <typename TerminologyPropertiesT = TerminologyProperties>
38 void SetTerminologyProperties(TerminologyPropertiesT&& value) {
39 m_terminologyPropertiesHasBeenSet = true;
40 m_terminologyProperties = std::forward<TerminologyPropertiesT>(value);
41 }
42 template <typename TerminologyPropertiesT = TerminologyProperties>
43 GetTerminologyResult& WithTerminologyProperties(TerminologyPropertiesT&& value) {
44 SetTerminologyProperties(std::forward<TerminologyPropertiesT>(value));
45 return *this;
46 }
48
50
62 inline const TerminologyDataLocation& GetTerminologyDataLocation() const { return m_terminologyDataLocation; }
63 template <typename TerminologyDataLocationT = TerminologyDataLocation>
64 void SetTerminologyDataLocation(TerminologyDataLocationT&& value) {
65 m_terminologyDataLocationHasBeenSet = true;
66 m_terminologyDataLocation = std::forward<TerminologyDataLocationT>(value);
67 }
68 template <typename TerminologyDataLocationT = TerminologyDataLocation>
69 GetTerminologyResult& WithTerminologyDataLocation(TerminologyDataLocationT&& value) {
70 SetTerminologyDataLocation(std::forward<TerminologyDataLocationT>(value));
71 return *this;
72 }
74
76
82 inline const TerminologyDataLocation& GetAuxiliaryDataLocation() const { return m_auxiliaryDataLocation; }
83 template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
84 void SetAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
85 m_auxiliaryDataLocationHasBeenSet = true;
86 m_auxiliaryDataLocation = std::forward<AuxiliaryDataLocationT>(value);
87 }
88 template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
89 GetTerminologyResult& WithAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
90 SetAuxiliaryDataLocation(std::forward<AuxiliaryDataLocationT>(value));
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
104 GetTerminologyResult& WithRequestId(RequestIdT&& value) {
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
110
111 private:
112 TerminologyProperties m_terminologyProperties;
113
114 TerminologyDataLocation m_terminologyDataLocation;
115
116 TerminologyDataLocation m_auxiliaryDataLocation;
117
118 Aws::String m_requestId;
119 Aws::Http::HttpResponseCode m_HttpResponseCode;
120 bool m_terminologyPropertiesHasBeenSet = false;
121 bool m_terminologyDataLocationHasBeenSet = false;
122 bool m_auxiliaryDataLocationHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace Translate
128} // namespace Aws
const TerminologyDataLocation & GetAuxiliaryDataLocation() const
void SetTerminologyProperties(TerminologyPropertiesT &&value)
AWS_TRANSLATE_API GetTerminologyResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetTerminologyResult & WithTerminologyProperties(TerminologyPropertiesT &&value)
const TerminologyDataLocation & GetTerminologyDataLocation() const
AWS_TRANSLATE_API GetTerminologyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTerminologyResult & WithAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
GetTerminologyResult & WithTerminologyDataLocation(TerminologyDataLocationT &&value)
GetTerminologyResult & WithRequestId(RequestIdT &&value)
const TerminologyProperties & GetTerminologyProperties() const
AWS_TRANSLATE_API GetTerminologyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
void SetTerminologyDataLocation(TerminologyDataLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue