AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateParallelDataResult.h
1
6#pragma once
7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/translate/model/ParallelDataStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Translate
25{
26namespace Model
27{
29 {
30 public:
31 AWS_TRANSLATE_API CreateParallelDataResult() = default;
34
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 template<typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
43 template<typename NameT = Aws::String>
44 CreateParallelDataResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
46
48
52 inline ParallelDataStatus GetStatus() const { return m_status; }
53 inline void SetStatus(ParallelDataStatus value) { m_statusHasBeenSet = true; m_status = value; }
54 inline CreateParallelDataResult& WithStatus(ParallelDataStatus value) { SetStatus(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template<typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
62 template<typename RequestIdT = Aws::String>
63 CreateParallelDataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
71 bool m_statusHasBeenSet = false;
72
73 Aws::String m_requestId;
74 bool m_requestIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Translate
79} // namespace Aws
AWS_TRANSLATE_API CreateParallelDataResult()=default
CreateParallelDataResult & WithName(NameT &&value)
CreateParallelDataResult & WithRequestId(RequestIdT &&value)
CreateParallelDataResult & WithStatus(ParallelDataStatus value)
AWS_TRANSLATE_API CreateParallelDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_TRANSLATE_API CreateParallelDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue