AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionExecution.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/ActionExecutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codepipeline/model/ErrorDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CodePipeline
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CODEPIPELINE_API ActionExecution();
39 AWS_CODEPIPELINE_API ActionExecution(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEPIPELINE_API ActionExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::String& GetActionExecutionId() const{ return m_actionExecutionId; }
53 inline bool ActionExecutionIdHasBeenSet() const { return m_actionExecutionIdHasBeenSet; }
54 inline void SetActionExecutionId(const Aws::String& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = value; }
55 inline void SetActionExecutionId(Aws::String&& value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId = std::move(value); }
56 inline void SetActionExecutionId(const char* value) { m_actionExecutionIdHasBeenSet = true; m_actionExecutionId.assign(value); }
57 inline ActionExecution& WithActionExecutionId(const Aws::String& value) { SetActionExecutionId(value); return *this;}
58 inline ActionExecution& WithActionExecutionId(Aws::String&& value) { SetActionExecutionId(std::move(value)); return *this;}
59 inline ActionExecution& WithActionExecutionId(const char* value) { SetActionExecutionId(value); return *this;}
61
63
67 inline const ActionExecutionStatus& GetStatus() const{ return m_status; }
68 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
69 inline void SetStatus(const ActionExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
70 inline void SetStatus(ActionExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
71 inline ActionExecution& WithStatus(const ActionExecutionStatus& value) { SetStatus(value); return *this;}
72 inline ActionExecution& WithStatus(ActionExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetSummary() const{ return m_summary; }
80 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
81 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
82 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
83 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
84 inline ActionExecution& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
85 inline ActionExecution& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
86 inline ActionExecution& WithSummary(const char* value) { SetSummary(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; }
94 inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; }
95 inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; }
96 inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); }
98 inline ActionExecution& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;}
100
102
108 inline const Aws::String& GetToken() const{ return m_token; }
109 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
110 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
111 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
112 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
113 inline ActionExecution& WithToken(const Aws::String& value) { SetToken(value); return *this;}
114 inline ActionExecution& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
115 inline ActionExecution& WithToken(const char* value) { SetToken(value); return *this;}
117
119
122 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
123 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
124 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; }
125 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); }
126 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); }
127 inline ActionExecution& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
128 inline ActionExecution& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
129 inline ActionExecution& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
131
133
136 inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; }
137 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
138 inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
139 inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
140 inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
141 inline ActionExecution& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;}
142 inline ActionExecution& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
143 inline ActionExecution& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
145
147
151 inline const Aws::String& GetExternalExecutionUrl() const{ return m_externalExecutionUrl; }
152 inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; }
153 inline void SetExternalExecutionUrl(const Aws::String& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = value; }
154 inline void SetExternalExecutionUrl(Aws::String&& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = std::move(value); }
155 inline void SetExternalExecutionUrl(const char* value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl.assign(value); }
157 inline ActionExecution& WithExternalExecutionUrl(Aws::String&& value) { SetExternalExecutionUrl(std::move(value)); return *this;}
158 inline ActionExecution& WithExternalExecutionUrl(const char* value) { SetExternalExecutionUrl(value); return *this;}
160
162
165 inline int GetPercentComplete() const{ return m_percentComplete; }
166 inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
167 inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; }
168 inline ActionExecution& WithPercentComplete(int value) { SetPercentComplete(value); return *this;}
170
172
176 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
177 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
178 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
179 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
180 inline ActionExecution& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
181 inline ActionExecution& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
183 private:
184
185 Aws::String m_actionExecutionId;
186 bool m_actionExecutionIdHasBeenSet = false;
187
188 ActionExecutionStatus m_status;
189 bool m_statusHasBeenSet = false;
190
191 Aws::String m_summary;
192 bool m_summaryHasBeenSet = false;
193
194 Aws::Utils::DateTime m_lastStatusChange;
195 bool m_lastStatusChangeHasBeenSet = false;
196
197 Aws::String m_token;
198 bool m_tokenHasBeenSet = false;
199
200 Aws::String m_lastUpdatedBy;
201 bool m_lastUpdatedByHasBeenSet = false;
202
203 Aws::String m_externalExecutionId;
204 bool m_externalExecutionIdHasBeenSet = false;
205
206 Aws::String m_externalExecutionUrl;
207 bool m_externalExecutionUrlHasBeenSet = false;
208
209 int m_percentComplete;
210 bool m_percentCompleteHasBeenSet = false;
211
212 ErrorDetails m_errorDetails;
213 bool m_errorDetailsHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace CodePipeline
218} // namespace Aws
void SetSummary(const Aws::String &value)
void SetErrorDetails(ErrorDetails &&value)
const Aws::String & GetActionExecutionId() const
ActionExecution & WithToken(Aws::String &&value)
const Aws::String & GetExternalExecutionId() const
ActionExecution & WithSummary(const Aws::String &value)
ActionExecution & WithToken(const char *value)
void SetLastUpdatedBy(const Aws::String &value)
void SetExternalExecutionUrl(Aws::String &&value)
void SetActionExecutionId(const Aws::String &value)
const ActionExecutionStatus & GetStatus() const
ActionExecution & WithLastUpdatedBy(const char *value)
AWS_CODEPIPELINE_API ActionExecution(Aws::Utils::Json::JsonView jsonValue)
void SetExternalExecutionUrl(const Aws::String &value)
ActionExecution & WithActionExecutionId(const char *value)
ActionExecution & WithErrorDetails(const ErrorDetails &value)
void SetErrorDetails(const ErrorDetails &value)
ActionExecution & WithPercentComplete(int value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastUpdatedBy() const
void SetStatus(const ActionExecutionStatus &value)
ActionExecution & WithToken(const Aws::String &value)
ActionExecution & WithSummary(Aws::String &&value)
void SetExternalExecutionId(const Aws::String &value)
ActionExecution & WithStatus(ActionExecutionStatus &&value)
void SetStatus(ActionExecutionStatus &&value)
AWS_CODEPIPELINE_API ActionExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecution & WithExternalExecutionUrl(const char *value)
void SetExternalExecutionUrl(const char *value)
ActionExecution & WithErrorDetails(ErrorDetails &&value)
ActionExecution & WithActionExecutionId(const Aws::String &value)
void SetLastStatusChange(Aws::Utils::DateTime &&value)
ActionExecution & WithLastStatusChange(Aws::Utils::DateTime &&value)
ActionExecution & WithActionExecutionId(Aws::String &&value)
ActionExecution & WithExternalExecutionUrl(Aws::String &&value)
ActionExecution & WithSummary(const char *value)
void SetActionExecutionId(Aws::String &&value)
ActionExecution & WithLastStatusChange(const Aws::Utils::DateTime &value)
ActionExecution & WithExternalExecutionUrl(const Aws::String &value)
const Aws::String & GetSummary() const
ActionExecution & WithLastUpdatedBy(const Aws::String &value)
ActionExecution & WithExternalExecutionId(Aws::String &&value)
void SetLastStatusChange(const Aws::Utils::DateTime &value)
ActionExecution & WithExternalExecutionId(const char *value)
ActionExecution & WithStatus(const ActionExecutionStatus &value)
const Aws::String & GetExternalExecutionUrl() const
ActionExecution & WithLastUpdatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetLastStatusChange() const
const ErrorDetails & GetErrorDetails() const
void SetToken(const Aws::String &value)
void SetExternalExecutionId(Aws::String &&value)
ActionExecution & WithExternalExecutionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue