AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ImportTerminologyResult.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 ImportTerminologyResult() = 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 ImportTerminologyResult& WithTerminologyProperties(TerminologyPropertiesT&& value) {
44 SetTerminologyProperties(std::forward<TerminologyPropertiesT>(value));
45 return *this;
46 }
48
50
56 inline const TerminologyDataLocation& GetAuxiliaryDataLocation() const { return m_auxiliaryDataLocation; }
57 template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
58 void SetAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
59 m_auxiliaryDataLocationHasBeenSet = true;
60 m_auxiliaryDataLocation = std::forward<AuxiliaryDataLocationT>(value);
61 }
62 template <typename AuxiliaryDataLocationT = TerminologyDataLocation>
63 ImportTerminologyResult& WithAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
64 SetAuxiliaryDataLocation(std::forward<AuxiliaryDataLocationT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 TerminologyProperties m_terminologyProperties;
87
88 TerminologyDataLocation m_auxiliaryDataLocation;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_terminologyPropertiesHasBeenSet = false;
93 bool m_auxiliaryDataLocationHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Translate
99} // namespace Aws
AWS_TRANSLATE_API ImportTerminologyResult()=default
void SetTerminologyProperties(TerminologyPropertiesT &&value)
const TerminologyDataLocation & GetAuxiliaryDataLocation() const
AWS_TRANSLATE_API ImportTerminologyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSLATE_API ImportTerminologyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportTerminologyResult & WithTerminologyProperties(TerminologyPropertiesT &&value)
ImportTerminologyResult & WithRequestId(RequestIdT &&value)
ImportTerminologyResult & WithAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
void SetAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const TerminologyProperties & GetTerminologyProperties() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue