AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline void SetName(const Aws::String& value) { m_name = value; }
43 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
44 inline void SetName(const char* value) { m_name.assign(value); }
45 inline UpdateParallelDataResult& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline UpdateParallelDataResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline UpdateParallelDataResult& WithName(const char* value) { SetName(value); return *this;}
49
51
56 inline const ParallelDataStatus& GetStatus() const{ return m_status; }
57 inline void SetStatus(const ParallelDataStatus& value) { m_status = value; }
58 inline void SetStatus(ParallelDataStatus&& value) { m_status = std::move(value); }
59 inline UpdateParallelDataResult& WithStatus(const ParallelDataStatus& value) { SetStatus(value); return *this;}
60 inline UpdateParallelDataResult& WithStatus(ParallelDataStatus&& value) { SetStatus(std::move(value)); return *this;}
62
64
68 inline const ParallelDataStatus& GetLatestUpdateAttemptStatus() const{ return m_latestUpdateAttemptStatus; }
69 inline void SetLatestUpdateAttemptStatus(const ParallelDataStatus& value) { m_latestUpdateAttemptStatus = value; }
70 inline void SetLatestUpdateAttemptStatus(ParallelDataStatus&& value) { m_latestUpdateAttemptStatus = std::move(value); }
74
76
79 inline const Aws::Utils::DateTime& GetLatestUpdateAttemptAt() const{ return m_latestUpdateAttemptAt; }
80 inline void SetLatestUpdateAttemptAt(const Aws::Utils::DateTime& value) { m_latestUpdateAttemptAt = value; }
81 inline void SetLatestUpdateAttemptAt(Aws::Utils::DateTime&& value) { m_latestUpdateAttemptAt = std::move(value); }
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline UpdateParallelDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline UpdateParallelDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline UpdateParallelDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_name;
99
100 ParallelDataStatus m_status;
101
102 ParallelDataStatus m_latestUpdateAttemptStatus;
103
104 Aws::Utils::DateTime m_latestUpdateAttemptAt;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace Translate
111} // namespace Aws
const Aws::Utils::DateTime & GetLatestUpdateAttemptAt() const
UpdateParallelDataResult & WithRequestId(Aws::String &&value)
void SetStatus(const ParallelDataStatus &value)
AWS_TRANSLATE_API UpdateParallelDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateParallelDataResult & WithLatestUpdateAttemptAt(Aws::Utils::DateTime &&value)
UpdateParallelDataResult & WithName(const Aws::String &value)
UpdateParallelDataResult & WithLatestUpdateAttemptStatus(ParallelDataStatus &&value)
UpdateParallelDataResult & WithRequestId(const char *value)
UpdateParallelDataResult & WithStatus(ParallelDataStatus &&value)
UpdateParallelDataResult & WithRequestId(const Aws::String &value)
const ParallelDataStatus & GetLatestUpdateAttemptStatus() const
void SetLatestUpdateAttemptAt(Aws::Utils::DateTime &&value)
void SetLatestUpdateAttemptStatus(const ParallelDataStatus &value)
UpdateParallelDataResult & WithLatestUpdateAttemptStatus(const ParallelDataStatus &value)
UpdateParallelDataResult & WithStatus(const ParallelDataStatus &value)
AWS_TRANSLATE_API UpdateParallelDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateParallelDataResult & WithName(Aws::String &&value)
void SetLatestUpdateAttemptStatus(ParallelDataStatus &&value)
void SetLatestUpdateAttemptAt(const Aws::Utils::DateTime &value)
UpdateParallelDataResult & WithName(const char *value)
UpdateParallelDataResult & WithLatestUpdateAttemptAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue