AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
32 AWS_GLUE_API GetDataQualityModelResult() = default;
35
36
38
41 inline DataQualityModelStatus GetStatus() const { return m_status; }
42 inline void SetStatus(DataQualityModelStatus value) { m_statusHasBeenSet = true; m_status = value; }
45
47
50 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
51 template<typename StartedOnT = Aws::Utils::DateTime>
52 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::forward<StartedOnT>(value); }
53 template<typename StartedOnT = Aws::Utils::DateTime>
54 GetDataQualityModelResult& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
62 template<typename CompletedOnT = Aws::Utils::DateTime>
63 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::forward<CompletedOnT>(value); }
64 template<typename CompletedOnT = Aws::Utils::DateTime>
65 GetDataQualityModelResult& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
73 template<typename FailureReasonT = Aws::String>
74 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
75 template<typename FailureReasonT = Aws::String>
76 GetDataQualityModelResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetDataQualityModelResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
90 bool m_statusHasBeenSet = false;
91
92 Aws::Utils::DateTime m_startedOn{};
93 bool m_startedOnHasBeenSet = false;
94
95 Aws::Utils::DateTime m_completedOn{};
96 bool m_completedOnHasBeenSet = false;
97
98 Aws::String m_failureReason;
99 bool m_failureReasonHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Glue
107} // namespace Aws
AWS_GLUE_API GetDataQualityModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataQualityModelResult & WithStartedOn(StartedOnT &&value)
GetDataQualityModelResult & WithCompletedOn(CompletedOnT &&value)
AWS_GLUE_API GetDataQualityModelResult()=default
const Aws::Utils::DateTime & GetStartedOn() const
const Aws::Utils::DateTime & GetCompletedOn() const
AWS_GLUE_API GetDataQualityModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataQualityModelResult & WithRequestId(RequestIdT &&value)
GetDataQualityModelResult & WithStatus(DataQualityModelStatus value)
GetDataQualityModelResult & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue