AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetDataQualityModelResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DataQualityModelStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API GetDataQualityModelResult() = default;
30
32
35 inline DataQualityModelStatus GetStatus() const { return m_status; }
36 inline void SetStatus(DataQualityModelStatus value) {
37 m_statusHasBeenSet = true;
38 m_status = value;
39 }
41 SetStatus(value);
42 return *this;
43 }
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) {
53 m_startedOnHasBeenSet = true;
54 m_startedOn = std::forward<StartedOnT>(value);
55 }
56 template <typename StartedOnT = Aws::Utils::DateTime>
58 SetStartedOn(std::forward<StartedOnT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
68 template <typename CompletedOnT = Aws::Utils::DateTime>
69 void SetCompletedOn(CompletedOnT&& value) {
70 m_completedOnHasBeenSet = true;
71 m_completedOn = std::forward<CompletedOnT>(value);
72 }
73 template <typename CompletedOnT = Aws::Utils::DateTime>
75 SetCompletedOn(std::forward<CompletedOnT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
85 template <typename FailureReasonT = Aws::String>
86 void SetFailureReason(FailureReasonT&& value) {
87 m_failureReasonHasBeenSet = true;
88 m_failureReason = std::forward<FailureReasonT>(value);
89 }
90 template <typename FailureReasonT = Aws::String>
92 SetFailureReason(std::forward<FailureReasonT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
113
114 Aws::Utils::DateTime m_startedOn{};
115
116 Aws::Utils::DateTime m_completedOn{};
117
118 Aws::String m_failureReason;
119
120 Aws::String m_requestId;
121 bool m_statusHasBeenSet = false;
122 bool m_startedOnHasBeenSet = false;
123 bool m_completedOnHasBeenSet = false;
124 bool m_failureReasonHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Glue
130} // 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