AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSessionActionResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/SessionActionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/deadline/model/SessionActionDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace deadline
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DEADLINE_API GetSessionActionResult();
36
37
39
42 inline const Aws::String& GetSessionActionId() const{ return m_sessionActionId; }
43 inline void SetSessionActionId(const Aws::String& value) { m_sessionActionId = value; }
44 inline void SetSessionActionId(Aws::String&& value) { m_sessionActionId = std::move(value); }
45 inline void SetSessionActionId(const char* value) { m_sessionActionId.assign(value); }
46 inline GetSessionActionResult& WithSessionActionId(const Aws::String& value) { SetSessionActionId(value); return *this;}
47 inline GetSessionActionResult& WithSessionActionId(Aws::String&& value) { SetSessionActionId(std::move(value)); return *this;}
48 inline GetSessionActionResult& WithSessionActionId(const char* value) { SetSessionActionId(value); return *this;}
50
52
55 inline const SessionActionStatus& GetStatus() const{ return m_status; }
56 inline void SetStatus(const SessionActionStatus& value) { m_status = value; }
57 inline void SetStatus(SessionActionStatus&& value) { m_status = std::move(value); }
58 inline GetSessionActionResult& WithStatus(const SessionActionStatus& value) { SetStatus(value); return *this;}
59 inline GetSessionActionResult& WithStatus(SessionActionStatus&& value) { SetStatus(std::move(value)); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
67 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
68 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
69 inline GetSessionActionResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
70 inline GetSessionActionResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetEndedAt() const{ return m_endedAt; }
78 inline void SetEndedAt(const Aws::Utils::DateTime& value) { m_endedAt = value; }
79 inline void SetEndedAt(Aws::Utils::DateTime&& value) { m_endedAt = std::move(value); }
80 inline GetSessionActionResult& WithEndedAt(const Aws::Utils::DateTime& value) { SetEndedAt(value); return *this;}
81 inline GetSessionActionResult& WithEndedAt(Aws::Utils::DateTime&& value) { SetEndedAt(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetWorkerUpdatedAt() const{ return m_workerUpdatedAt; }
90 inline void SetWorkerUpdatedAt(const Aws::Utils::DateTime& value) { m_workerUpdatedAt = value; }
91 inline void SetWorkerUpdatedAt(Aws::Utils::DateTime&& value) { m_workerUpdatedAt = std::move(value); }
93 inline GetSessionActionResult& WithWorkerUpdatedAt(Aws::Utils::DateTime&& value) { SetWorkerUpdatedAt(std::move(value)); return *this;}
95
97
100 inline double GetProgressPercent() const{ return m_progressPercent; }
101 inline void SetProgressPercent(double value) { m_progressPercent = value; }
102 inline GetSessionActionResult& WithProgressPercent(double value) { SetProgressPercent(value); return *this;}
104
106
109 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
110 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
111 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
112 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
113 inline GetSessionActionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
114 inline GetSessionActionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
115 inline GetSessionActionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
117
119
122 inline int GetProcessExitCode() const{ return m_processExitCode; }
123 inline void SetProcessExitCode(int value) { m_processExitCode = value; }
124 inline GetSessionActionResult& WithProcessExitCode(int value) { SetProcessExitCode(value); return *this;}
126
128
131 inline const Aws::String& GetProgressMessage() const{ return m_progressMessage; }
132 inline void SetProgressMessage(const Aws::String& value) { m_progressMessage = value; }
133 inline void SetProgressMessage(Aws::String&& value) { m_progressMessage = std::move(value); }
134 inline void SetProgressMessage(const char* value) { m_progressMessage.assign(value); }
135 inline GetSessionActionResult& WithProgressMessage(const Aws::String& value) { SetProgressMessage(value); return *this;}
136 inline GetSessionActionResult& WithProgressMessage(Aws::String&& value) { SetProgressMessage(std::move(value)); return *this;}
137 inline GetSessionActionResult& WithProgressMessage(const char* value) { SetProgressMessage(value); return *this;}
139
141
144 inline const SessionActionDefinition& GetDefinition() const{ return m_definition; }
145 inline void SetDefinition(const SessionActionDefinition& value) { m_definition = value; }
146 inline void SetDefinition(SessionActionDefinition&& value) { m_definition = std::move(value); }
147 inline GetSessionActionResult& WithDefinition(const SessionActionDefinition& value) { SetDefinition(value); return *this;}
148 inline GetSessionActionResult& WithDefinition(SessionActionDefinition&& value) { SetDefinition(std::move(value)); return *this;}
150
152
153 inline const Aws::String& GetRequestId() const{ return m_requestId; }
154 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
155 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
156 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
157 inline GetSessionActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
158 inline GetSessionActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
159 inline GetSessionActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
161 private:
162
163 Aws::String m_sessionActionId;
164
165 SessionActionStatus m_status;
166
167 Aws::Utils::DateTime m_startedAt;
168
169 Aws::Utils::DateTime m_endedAt;
170
171 Aws::Utils::DateTime m_workerUpdatedAt;
172
173 double m_progressPercent;
174
175 Aws::String m_sessionId;
176
177 int m_processExitCode;
178
179 Aws::String m_progressMessage;
180
181 SessionActionDefinition m_definition;
182
183 Aws::String m_requestId;
184 };
185
186} // namespace Model
187} // namespace deadline
188} // namespace Aws
const Aws::Utils::DateTime & GetWorkerUpdatedAt() const
void SetWorkerUpdatedAt(Aws::Utils::DateTime &&value)
const SessionActionDefinition & GetDefinition() const
GetSessionActionResult & WithProgressPercent(double value)
GetSessionActionResult & WithProgressMessage(const Aws::String &value)
GetSessionActionResult & WithSessionId(const Aws::String &value)
GetSessionActionResult & WithWorkerUpdatedAt(const Aws::Utils::DateTime &value)
GetSessionActionResult & WithWorkerUpdatedAt(Aws::Utils::DateTime &&value)
GetSessionActionResult & WithEndedAt(const Aws::Utils::DateTime &value)
GetSessionActionResult & WithStatus(SessionActionStatus &&value)
GetSessionActionResult & WithDefinition(SessionActionDefinition &&value)
const Aws::Utils::DateTime & GetStartedAt() const
GetSessionActionResult & WithSessionId(Aws::String &&value)
void SetEndedAt(Aws::Utils::DateTime &&value)
GetSessionActionResult & WithProcessExitCode(int value)
GetSessionActionResult & WithSessionActionId(const Aws::String &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetSessionActionResult & WithStartedAt(const Aws::Utils::DateTime &value)
const SessionActionStatus & GetStatus() const
void SetDefinition(SessionActionDefinition &&value)
GetSessionActionResult & WithStartedAt(Aws::Utils::DateTime &&value)
GetSessionActionResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetEndedAt() const
GetSessionActionResult & WithSessionActionId(const char *value)
void SetDefinition(const SessionActionDefinition &value)
GetSessionActionResult & WithSessionActionId(Aws::String &&value)
void SetStatus(const SessionActionStatus &value)
void SetEndedAt(const Aws::Utils::DateTime &value)
GetSessionActionResult & WithDefinition(const SessionActionDefinition &value)
GetSessionActionResult & WithStatus(const SessionActionStatus &value)
void SetWorkerUpdatedAt(const Aws::Utils::DateTime &value)
GetSessionActionResult & WithRequestId(const char *value)
AWS_DEADLINE_API GetSessionActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionActionResult & WithProgressMessage(const char *value)
AWS_DEADLINE_API GetSessionActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSessionActionResult & WithProgressMessage(Aws::String &&value)
GetSessionActionResult & WithSessionId(const char *value)
GetSessionActionResult & WithEndedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
GetSessionActionResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue