AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableStatus.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/ResourceAction.h>
11#include <aws/glue/model/ResourceState.h>
12#include <aws/glue/model/ErrorDetail.h>
13#include <utility>
14#include <memory>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
30 class StatusDetails;
31
39 {
40 public:
41 AWS_GLUE_API TableStatus();
42 AWS_GLUE_API TableStatus(Aws::Utils::Json::JsonView jsonValue);
45
46
48
51 inline const Aws::String& GetRequestedBy() const{ return m_requestedBy; }
52 inline bool RequestedByHasBeenSet() const { return m_requestedByHasBeenSet; }
53 inline void SetRequestedBy(const Aws::String& value) { m_requestedByHasBeenSet = true; m_requestedBy = value; }
54 inline void SetRequestedBy(Aws::String&& value) { m_requestedByHasBeenSet = true; m_requestedBy = std::move(value); }
55 inline void SetRequestedBy(const char* value) { m_requestedByHasBeenSet = true; m_requestedBy.assign(value); }
56 inline TableStatus& WithRequestedBy(const Aws::String& value) { SetRequestedBy(value); return *this;}
57 inline TableStatus& WithRequestedBy(Aws::String&& value) { SetRequestedBy(std::move(value)); return *this;}
58 inline TableStatus& WithRequestedBy(const char* value) { SetRequestedBy(value); return *this;}
60
62
66 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
67 inline bool UpdatedByHasBeenSet() const { return m_updatedByHasBeenSet; }
68 inline void SetUpdatedBy(const Aws::String& value) { m_updatedByHasBeenSet = true; m_updatedBy = value; }
69 inline void SetUpdatedBy(Aws::String&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::move(value); }
70 inline void SetUpdatedBy(const char* value) { m_updatedByHasBeenSet = true; m_updatedBy.assign(value); }
71 inline TableStatus& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
72 inline TableStatus& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
73 inline TableStatus& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
75
77
81 inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; }
82 inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; }
83 inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; }
84 inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); }
85 inline TableStatus& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;}
86 inline TableStatus& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;}
88
90
94 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
95 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
96 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
97 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
98 inline TableStatus& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
99 inline TableStatus& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
101
103
107 inline const ResourceAction& GetAction() const{ return m_action; }
108 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
109 inline void SetAction(const ResourceAction& value) { m_actionHasBeenSet = true; m_action = value; }
110 inline void SetAction(ResourceAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
111 inline TableStatus& WithAction(const ResourceAction& value) { SetAction(value); return *this;}
112 inline TableStatus& WithAction(ResourceAction&& value) { SetAction(std::move(value)); return *this;}
114
116
120 inline const ResourceState& GetState() const{ return m_state; }
121 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
122 inline void SetState(const ResourceState& value) { m_stateHasBeenSet = true; m_state = value; }
123 inline void SetState(ResourceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
124 inline TableStatus& WithState(const ResourceState& value) { SetState(value); return *this;}
125 inline TableStatus& WithState(ResourceState&& value) { SetState(std::move(value)); return *this;}
127
129
134 inline const ErrorDetail& GetError() const{ return m_error; }
135 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
136 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
137 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
138 inline TableStatus& WithError(const ErrorDetail& value) { SetError(value); return *this;}
139 inline TableStatus& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
141
143
147 AWS_GLUE_API const StatusDetails& GetDetails() const;
148 AWS_GLUE_API bool DetailsHasBeenSet() const;
149 AWS_GLUE_API void SetDetails(const StatusDetails& value);
150 AWS_GLUE_API void SetDetails(StatusDetails&& value);
151 AWS_GLUE_API TableStatus& WithDetails(const StatusDetails& value);
152 AWS_GLUE_API TableStatus& WithDetails(StatusDetails&& value);
154 private:
155
156 Aws::String m_requestedBy;
157 bool m_requestedByHasBeenSet = false;
158
159 Aws::String m_updatedBy;
160 bool m_updatedByHasBeenSet = false;
161
162 Aws::Utils::DateTime m_requestTime;
163 bool m_requestTimeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_updateTime;
166 bool m_updateTimeHasBeenSet = false;
167
168 ResourceAction m_action;
169 bool m_actionHasBeenSet = false;
170
171 ResourceState m_state;
172 bool m_stateHasBeenSet = false;
173
174 ErrorDetail m_error;
175 bool m_errorHasBeenSet = false;
176
177 std::shared_ptr<StatusDetails> m_details;
178 bool m_detailsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Glue
183} // namespace Aws
TableStatus & WithRequestedBy(const char *value)
Definition TableStatus.h:58
void SetUpdatedBy(Aws::String &&value)
Definition TableStatus.h:69
TableStatus & WithRequestTime(Aws::Utils::DateTime &&value)
Definition TableStatus.h:86
const Aws::String & GetRequestedBy() const
Definition TableStatus.h:51
TableStatus & WithError(ErrorDetail &&value)
AWS_GLUE_API bool DetailsHasBeenSet() const
TableStatus & WithUpdatedBy(Aws::String &&value)
Definition TableStatus.h:72
const Aws::Utils::DateTime & GetUpdateTime() const
Definition TableStatus.h:94
const Aws::Utils::DateTime & GetRequestTime() const
Definition TableStatus.h:81
AWS_GLUE_API void SetDetails(StatusDetails &&value)
void SetAction(ResourceAction &&value)
TableStatus & WithAction(ResourceAction &&value)
TableStatus & WithAction(const ResourceAction &value)
AWS_GLUE_API TableStatus(Aws::Utils::Json::JsonView jsonValue)
TableStatus & WithUpdatedBy(const char *value)
Definition TableStatus.h:73
void SetUpdatedBy(const char *value)
Definition TableStatus.h:70
AWS_GLUE_API TableStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TableStatus & WithUpdatedBy(const Aws::String &value)
Definition TableStatus.h:71
AWS_GLUE_API const StatusDetails & GetDetails() const
void SetState(ResourceState &&value)
TableStatus & WithError(const ErrorDetail &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
Definition TableStatus.h:97
TableStatus & WithUpdateTime(Aws::Utils::DateTime &&value)
Definition TableStatus.h:99
AWS_GLUE_API TableStatus & WithDetails(const StatusDetails &value)
const Aws::String & GetUpdatedBy() const
Definition TableStatus.h:66
TableStatus & WithState(ResourceState &&value)
void SetError(ErrorDetail &&value)
void SetState(const ResourceState &value)
void SetRequestedBy(Aws::String &&value)
Definition TableStatus.h:54
void SetRequestedBy(const char *value)
Definition TableStatus.h:55
void SetRequestTime(const Aws::Utils::DateTime &value)
Definition TableStatus.h:83
TableStatus & WithRequestTime(const Aws::Utils::DateTime &value)
Definition TableStatus.h:85
TableStatus & WithUpdateTime(const Aws::Utils::DateTime &value)
Definition TableStatus.h:98
const ResourceAction & GetAction() const
void SetRequestedBy(const Aws::String &value)
Definition TableStatus.h:53
void SetRequestTime(Aws::Utils::DateTime &&value)
Definition TableStatus.h:84
const ResourceState & GetState() const
TableStatus & WithState(const ResourceState &value)
AWS_GLUE_API void SetDetails(const StatusDetails &value)
TableStatus & WithRequestedBy(const Aws::String &value)
Definition TableStatus.h:56
void SetError(const ErrorDetail &value)
void SetAction(const ResourceAction &value)
TableStatus & WithRequestedBy(Aws::String &&value)
Definition TableStatus.h:57
const ErrorDetail & GetError() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
Definition TableStatus.h:96
void SetUpdatedBy(const Aws::String &value)
Definition TableStatus.h:68
AWS_GLUE_API TableStatus & WithDetails(StatusDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue