AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDataQualityModelResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/DataQualityModelStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 Glue
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const DataQualityModelStatus& GetStatus() const{ return m_status; }
42 inline void SetStatus(const DataQualityModelStatus& value) { m_status = value; }
43 inline void SetStatus(DataQualityModelStatus&& value) { m_status = std::move(value); }
44 inline GetDataQualityModelResult& WithStatus(const DataQualityModelStatus& value) { SetStatus(value); return *this;}
45 inline GetDataQualityModelResult& WithStatus(DataQualityModelStatus&& value) { SetStatus(std::move(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
53 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; }
54 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); }
55 inline GetDataQualityModelResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
56 inline GetDataQualityModelResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
64 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; }
65 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); }
67 inline GetDataQualityModelResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
75 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
76 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
77 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
78 inline GetDataQualityModelResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
79 inline GetDataQualityModelResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
80 inline GetDataQualityModelResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetDataQualityModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetDataQualityModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetDataQualityModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
96
97 Aws::Utils::DateTime m_startedOn;
98
99 Aws::Utils::DateTime m_completedOn;
100
101 Aws::String m_failureReason;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
GetDataQualityModelResult & WithCompletedOn(const Aws::Utils::DateTime &value)
void SetStartedOn(Aws::Utils::DateTime &&value)
AWS_GLUE_API GetDataQualityModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataQualityModelResult & WithStartedOn(const Aws::Utils::DateTime &value)
GetDataQualityModelResult & WithStatus(DataQualityModelStatus &&value)
const Aws::Utils::DateTime & GetStartedOn() const
GetDataQualityModelResult & WithFailureReason(Aws::String &&value)
const Aws::Utils::DateTime & GetCompletedOn() const
AWS_GLUE_API GetDataQualityModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const DataQualityModelStatus &value)
GetDataQualityModelResult & WithStatus(const DataQualityModelStatus &value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
GetDataQualityModelResult & WithCompletedOn(Aws::Utils::DateTime &&value)
GetDataQualityModelResult & WithStartedOn(Aws::Utils::DateTime &&value)
const DataQualityModelStatus & GetStatus() const
GetDataQualityModelResult & WithFailureReason(const char *value)
GetDataQualityModelResult & WithRequestId(Aws::String &&value)
GetDataQualityModelResult & WithRequestId(const Aws::String &value)
void SetStatus(DataQualityModelStatus &&value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
GetDataQualityModelResult & WithRequestId(const char *value)
void SetStartedOn(const Aws::Utils::DateTime &value)
GetDataQualityModelResult & WithFailureReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue