AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowRunResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/WorkflowRunStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codecatalyst/model/WorkflowRunStatusReason.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CodeCatalyst
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CODECATALYST_API GetWorkflowRunResult();
37
38
40
43 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
44 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
45 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
46 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
47 inline GetWorkflowRunResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
48 inline GetWorkflowRunResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
49 inline GetWorkflowRunResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
51
53
56 inline const Aws::String& GetProjectName() const{ return m_projectName; }
57 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
58 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
59 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
60 inline GetWorkflowRunResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
61 inline GetWorkflowRunResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
62 inline GetWorkflowRunResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
64
66
69 inline const Aws::String& GetId() const{ return m_id; }
70 inline void SetId(const Aws::String& value) { m_id = value; }
71 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
72 inline void SetId(const char* value) { m_id.assign(value); }
73 inline GetWorkflowRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
74 inline GetWorkflowRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 inline GetWorkflowRunResult& WithId(const char* value) { SetId(value); return *this;}
77
79
82 inline const Aws::String& GetWorkflowId() const{ return m_workflowId; }
83 inline void SetWorkflowId(const Aws::String& value) { m_workflowId = value; }
84 inline void SetWorkflowId(Aws::String&& value) { m_workflowId = std::move(value); }
85 inline void SetWorkflowId(const char* value) { m_workflowId.assign(value); }
86 inline GetWorkflowRunResult& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;}
87 inline GetWorkflowRunResult& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;}
88 inline GetWorkflowRunResult& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;}
90
92
95 inline const WorkflowRunStatus& GetStatus() const{ return m_status; }
96 inline void SetStatus(const WorkflowRunStatus& value) { m_status = value; }
97 inline void SetStatus(WorkflowRunStatus&& value) { m_status = std::move(value); }
98 inline GetWorkflowRunResult& WithStatus(const WorkflowRunStatus& value) { SetStatus(value); return *this;}
99 inline GetWorkflowRunResult& WithStatus(WorkflowRunStatus&& value) { SetStatus(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<WorkflowRunStatusReason>& GetStatusReasons() const{ return m_statusReasons; }
107 inline void SetStatusReasons(const Aws::Vector<WorkflowRunStatusReason>& value) { m_statusReasons = value; }
108 inline void SetStatusReasons(Aws::Vector<WorkflowRunStatusReason>&& value) { m_statusReasons = std::move(value); }
111 inline GetWorkflowRunResult& AddStatusReasons(const WorkflowRunStatusReason& value) { m_statusReasons.push_back(value); return *this; }
112 inline GetWorkflowRunResult& AddStatusReasons(WorkflowRunStatusReason&& value) { m_statusReasons.push_back(std::move(value)); return *this; }
114
116
121 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
122 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
123 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
124 inline GetWorkflowRunResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
125 inline GetWorkflowRunResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
127
129
134 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
135 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
136 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
137 inline GetWorkflowRunResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
138 inline GetWorkflowRunResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
140
142
147 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
148 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
149 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
151 inline GetWorkflowRunResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline GetWorkflowRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline GetWorkflowRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline GetWorkflowRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::String m_spaceName;
167
168 Aws::String m_projectName;
169
170 Aws::String m_id;
171
172 Aws::String m_workflowId;
173
174 WorkflowRunStatus m_status;
175
177
178 Aws::Utils::DateTime m_startTime;
179
180 Aws::Utils::DateTime m_endTime;
181
182 Aws::Utils::DateTime m_lastUpdatedTime;
183
184 Aws::String m_requestId;
185 };
186
187} // namespace Model
188} // namespace CodeCatalyst
189} // namespace Aws
GetWorkflowRunResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
GetWorkflowRunResult & WithProjectName(const Aws::String &value)
GetWorkflowRunResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
GetWorkflowRunResult & WithSpaceName(Aws::String &&value)
GetWorkflowRunResult & WithEndTime(const Aws::Utils::DateTime &value)
GetWorkflowRunResult & WithStatus(const WorkflowRunStatus &value)
GetWorkflowRunResult & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
GetWorkflowRunResult & WithSpaceName(const char *value)
GetWorkflowRunResult & WithStatusReasons(const Aws::Vector< WorkflowRunStatusReason > &value)
void SetStatus(const WorkflowRunStatus &value)
GetWorkflowRunResult & WithStartTime(const Aws::Utils::DateTime &value)
GetWorkflowRunResult & WithRequestId(Aws::String &&value)
GetWorkflowRunResult & WithStatus(WorkflowRunStatus &&value)
GetWorkflowRunResult & WithRequestId(const Aws::String &value)
GetWorkflowRunResult & WithWorkflowId(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
GetWorkflowRunResult & WithStatusReasons(Aws::Vector< WorkflowRunStatusReason > &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetStatusReasons(Aws::Vector< WorkflowRunStatusReason > &&value)
GetWorkflowRunResult & WithWorkflowId(const char *value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetWorkflowRunResult & WithEndTime(Aws::Utils::DateTime &&value)
GetWorkflowRunResult & WithSpaceName(const Aws::String &value)
GetWorkflowRunResult & WithWorkflowId(const Aws::String &value)
GetWorkflowRunResult & WithProjectName(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
GetWorkflowRunResult & WithProjectName(const char *value)
GetWorkflowRunResult & AddStatusReasons(const WorkflowRunStatusReason &value)
GetWorkflowRunResult & WithId(Aws::String &&value)
void SetStatusReasons(const Aws::Vector< WorkflowRunStatusReason > &value)
GetWorkflowRunResult & WithId(const char *value)
AWS_CODECATALYST_API GetWorkflowRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_CODECATALYST_API GetWorkflowRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowRunResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
GetWorkflowRunResult & WithId(const Aws::String &value)
GetWorkflowRunResult & AddStatusReasons(WorkflowRunStatusReason &&value)
const Aws::Vector< WorkflowRunStatusReason > & GetStatusReasons() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue