AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateParallelDataResult.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Translate
26{
27namespace Model
28{
30 {
31 public:
32 AWS_TRANSLATE_API UpdateParallelDataResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 UpdateParallelDataResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
54 inline ParallelDataStatus GetStatus() const { return m_status; }
55 inline void SetStatus(ParallelDataStatus value) { m_statusHasBeenSet = true; m_status = value; }
56 inline UpdateParallelDataResult& WithStatus(ParallelDataStatus value) { SetStatus(value); return *this;}
58
60
64 inline ParallelDataStatus GetLatestUpdateAttemptStatus() const { return m_latestUpdateAttemptStatus; }
65 inline void SetLatestUpdateAttemptStatus(ParallelDataStatus value) { m_latestUpdateAttemptStatusHasBeenSet = true; m_latestUpdateAttemptStatus = value; }
68
70
73 inline const Aws::Utils::DateTime& GetLatestUpdateAttemptAt() const { return m_latestUpdateAttemptAt; }
74 template<typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
75 void SetLatestUpdateAttemptAt(LatestUpdateAttemptAtT&& value) { m_latestUpdateAttemptAtHasBeenSet = true; m_latestUpdateAttemptAt = std::forward<LatestUpdateAttemptAtT>(value); }
76 template<typename LatestUpdateAttemptAtT = Aws::Utils::DateTime>
77 UpdateParallelDataResult& WithLatestUpdateAttemptAt(LatestUpdateAttemptAtT&& value) { SetLatestUpdateAttemptAt(std::forward<LatestUpdateAttemptAtT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 UpdateParallelDataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
94 bool m_statusHasBeenSet = false;
95
96 ParallelDataStatus m_latestUpdateAttemptStatus{ParallelDataStatus::NOT_SET};
97 bool m_latestUpdateAttemptStatusHasBeenSet = false;
98
99 Aws::Utils::DateTime m_latestUpdateAttemptAt{};
100 bool m_latestUpdateAttemptAtHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Translate
108} // namespace Aws
const Aws::Utils::DateTime & GetLatestUpdateAttemptAt() const
UpdateParallelDataResult & WithName(NameT &&value)
AWS_TRANSLATE_API UpdateParallelDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateParallelDataResult & WithStatus(ParallelDataStatus value)
UpdateParallelDataResult & WithLatestUpdateAttemptStatus(ParallelDataStatus value)
AWS_TRANSLATE_API UpdateParallelDataResult()=default
AWS_TRANSLATE_API UpdateParallelDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateParallelDataResult & WithLatestUpdateAttemptAt(LatestUpdateAttemptAtT &&value)
void SetLatestUpdateAttemptAt(LatestUpdateAttemptAtT &&value)
UpdateParallelDataResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue