AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetParallelDataResult.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/ParallelDataDataLocation.h>
11#include <aws/translate/model/ParallelDataProperties.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 GetParallelDataResult() = default;
31
33
36 inline const ParallelDataProperties& GetParallelDataProperties() const { return m_parallelDataProperties; }
37 template <typename ParallelDataPropertiesT = ParallelDataProperties>
38 void SetParallelDataProperties(ParallelDataPropertiesT&& value) {
39 m_parallelDataPropertiesHasBeenSet = true;
40 m_parallelDataProperties = std::forward<ParallelDataPropertiesT>(value);
41 }
42 template <typename ParallelDataPropertiesT = ParallelDataProperties>
43 GetParallelDataResult& WithParallelDataProperties(ParallelDataPropertiesT&& value) {
44 SetParallelDataProperties(std::forward<ParallelDataPropertiesT>(value));
45 return *this;
46 }
48
50
62 inline const ParallelDataDataLocation& GetDataLocation() const { return m_dataLocation; }
63 template <typename DataLocationT = ParallelDataDataLocation>
64 void SetDataLocation(DataLocationT&& value) {
65 m_dataLocationHasBeenSet = true;
66 m_dataLocation = std::forward<DataLocationT>(value);
67 }
68 template <typename DataLocationT = ParallelDataDataLocation>
69 GetParallelDataResult& WithDataLocation(DataLocationT&& value) {
70 SetDataLocation(std::forward<DataLocationT>(value));
71 return *this;
72 }
74
76
82 inline const ParallelDataDataLocation& GetAuxiliaryDataLocation() const { return m_auxiliaryDataLocation; }
83 template <typename AuxiliaryDataLocationT = ParallelDataDataLocation>
84 void SetAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
85 m_auxiliaryDataLocationHasBeenSet = true;
86 m_auxiliaryDataLocation = std::forward<AuxiliaryDataLocationT>(value);
87 }
88 template <typename AuxiliaryDataLocationT = ParallelDataDataLocation>
89 GetParallelDataResult& WithAuxiliaryDataLocation(AuxiliaryDataLocationT&& value) {
90 SetAuxiliaryDataLocation(std::forward<AuxiliaryDataLocationT>(value));
91 return *this;
92 }
94
96
103 return m_latestUpdateAttemptAuxiliaryDataLocation;
104 }
105 template <typename LatestUpdateAttemptAuxiliaryDataLocationT = ParallelDataDataLocation>
106 void SetLatestUpdateAttemptAuxiliaryDataLocation(LatestUpdateAttemptAuxiliaryDataLocationT&& value) {
107 m_latestUpdateAttemptAuxiliaryDataLocationHasBeenSet = true;
108 m_latestUpdateAttemptAuxiliaryDataLocation = std::forward<LatestUpdateAttemptAuxiliaryDataLocationT>(value);
109 }
110 template <typename LatestUpdateAttemptAuxiliaryDataLocationT = ParallelDataDataLocation>
111 GetParallelDataResult& WithLatestUpdateAttemptAuxiliaryDataLocation(LatestUpdateAttemptAuxiliaryDataLocationT&& value) {
112 SetLatestUpdateAttemptAuxiliaryDataLocation(std::forward<LatestUpdateAttemptAuxiliaryDataLocationT>(value));
113 return *this;
114 }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template <typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) {
122 m_requestIdHasBeenSet = true;
123 m_requestId = std::forward<RequestIdT>(value);
124 }
125 template <typename RequestIdT = Aws::String>
127 SetRequestId(std::forward<RequestIdT>(value));
128 return *this;
129 }
131 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
132
133 private:
134 ParallelDataProperties m_parallelDataProperties;
135
136 ParallelDataDataLocation m_dataLocation;
137
138 ParallelDataDataLocation m_auxiliaryDataLocation;
139
140 ParallelDataDataLocation m_latestUpdateAttemptAuxiliaryDataLocation;
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_parallelDataPropertiesHasBeenSet = false;
145 bool m_dataLocationHasBeenSet = false;
146 bool m_auxiliaryDataLocationHasBeenSet = false;
147 bool m_latestUpdateAttemptAuxiliaryDataLocationHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Translate
153} // namespace Aws
GetParallelDataResult & WithDataLocation(DataLocationT &&value)
GetParallelDataResult & WithAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
AWS_TRANSLATE_API GetParallelDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSLATE_API GetParallelDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ParallelDataProperties & GetParallelDataProperties() const
void SetAuxiliaryDataLocation(AuxiliaryDataLocationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetParallelDataResult & WithLatestUpdateAttemptAuxiliaryDataLocation(LatestUpdateAttemptAuxiliaryDataLocationT &&value)
void SetParallelDataProperties(ParallelDataPropertiesT &&value)
GetParallelDataResult & WithRequestId(RequestIdT &&value)
const ParallelDataDataLocation & GetLatestUpdateAttemptAuxiliaryDataLocation() const
GetParallelDataResult & WithParallelDataProperties(ParallelDataPropertiesT &&value)
AWS_TRANSLATE_API GetParallelDataResult()=default
const ParallelDataDataLocation & GetAuxiliaryDataLocation() const
const ParallelDataDataLocation & GetDataLocation() const
void SetLatestUpdateAttemptAuxiliaryDataLocation(LatestUpdateAttemptAuxiliaryDataLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue