AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleExecution.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/RuleExecutionStatus.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
37 {
38 public:
39 AWS_CODEPIPELINE_API RuleExecution();
40 AWS_CODEPIPELINE_API RuleExecution(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEPIPELINE_API RuleExecution& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetRuleExecutionId() const{ return m_ruleExecutionId; }
50 inline bool RuleExecutionIdHasBeenSet() const { return m_ruleExecutionIdHasBeenSet; }
51 inline void SetRuleExecutionId(const Aws::String& value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId = value; }
52 inline void SetRuleExecutionId(Aws::String&& value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId = std::move(value); }
53 inline void SetRuleExecutionId(const char* value) { m_ruleExecutionIdHasBeenSet = true; m_ruleExecutionId.assign(value); }
54 inline RuleExecution& WithRuleExecutionId(const Aws::String& value) { SetRuleExecutionId(value); return *this;}
55 inline RuleExecution& WithRuleExecutionId(Aws::String&& value) { SetRuleExecutionId(std::move(value)); return *this;}
56 inline RuleExecution& WithRuleExecutionId(const char* value) { SetRuleExecutionId(value); return *this;}
58
60
63 inline const RuleExecutionStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const RuleExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(RuleExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline RuleExecution& WithStatus(const RuleExecutionStatus& value) { SetStatus(value); return *this;}
68 inline RuleExecution& WithStatus(RuleExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetSummary() const{ return m_summary; }
76 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
77 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
78 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
79 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
80 inline RuleExecution& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
81 inline RuleExecution& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
82 inline RuleExecution& WithSummary(const char* value) { SetSummary(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; }
90 inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; }
91 inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; }
92 inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); }
93 inline RuleExecution& WithLastStatusChange(const Aws::Utils::DateTime& value) { SetLastStatusChange(value); return *this;}
94 inline RuleExecution& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetToken() const{ return m_token; }
102 inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; }
103 inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
104 inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
105 inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
106 inline RuleExecution& WithToken(const Aws::String& value) { SetToken(value); return *this;}
107 inline RuleExecution& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
108 inline RuleExecution& WithToken(const char* value) { SetToken(value); return *this;}
110
112
115 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
116 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
117 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; }
118 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); }
119 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); }
120 inline RuleExecution& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
121 inline RuleExecution& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
122 inline RuleExecution& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
124
126
129 inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; }
130 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
131 inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
132 inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
133 inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
134 inline RuleExecution& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;}
135 inline RuleExecution& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
136 inline RuleExecution& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
138
140
144 inline const Aws::String& GetExternalExecutionUrl() const{ return m_externalExecutionUrl; }
145 inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; }
146 inline void SetExternalExecutionUrl(const Aws::String& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = value; }
147 inline void SetExternalExecutionUrl(Aws::String&& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = std::move(value); }
148 inline void SetExternalExecutionUrl(const char* value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl.assign(value); }
149 inline RuleExecution& WithExternalExecutionUrl(const Aws::String& value) { SetExternalExecutionUrl(value); return *this;}
150 inline RuleExecution& WithExternalExecutionUrl(Aws::String&& value) { SetExternalExecutionUrl(std::move(value)); return *this;}
151 inline RuleExecution& WithExternalExecutionUrl(const char* value) { SetExternalExecutionUrl(value); return *this;}
153
155
156 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
157 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
158 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
159 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
160 inline RuleExecution& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
161 inline RuleExecution& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
163 private:
164
165 Aws::String m_ruleExecutionId;
166 bool m_ruleExecutionIdHasBeenSet = false;
167
168 RuleExecutionStatus m_status;
169 bool m_statusHasBeenSet = false;
170
171 Aws::String m_summary;
172 bool m_summaryHasBeenSet = false;
173
174 Aws::Utils::DateTime m_lastStatusChange;
175 bool m_lastStatusChangeHasBeenSet = false;
176
177 Aws::String m_token;
178 bool m_tokenHasBeenSet = false;
179
180 Aws::String m_lastUpdatedBy;
181 bool m_lastUpdatedByHasBeenSet = false;
182
183 Aws::String m_externalExecutionId;
184 bool m_externalExecutionIdHasBeenSet = false;
185
186 Aws::String m_externalExecutionUrl;
187 bool m_externalExecutionUrlHasBeenSet = false;
188
189 ErrorDetails m_errorDetails;
190 bool m_errorDetailsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace CodePipeline
195} // namespace Aws
RuleExecution & WithExternalExecutionId(const char *value)
RuleExecution & WithSummary(const char *value)
RuleExecution & WithLastUpdatedBy(const Aws::String &value)
void SetRuleExecutionId(Aws::String &&value)
const Aws::String & GetRuleExecutionId() const
void SetStatus(RuleExecutionStatus &&value)
RuleExecution & WithStatus(RuleExecutionStatus &&value)
RuleExecution & WithToken(const Aws::String &value)
void SetErrorDetails(const ErrorDetails &value)
RuleExecution & WithExternalExecutionId(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExternalExecutionUrl(Aws::String &&value)
RuleExecution & WithLastStatusChange(const Aws::Utils::DateTime &value)
const Aws::String & GetToken() const
const ErrorDetails & GetErrorDetails() const
void SetLastUpdatedBy(const Aws::String &value)
void SetStatus(const RuleExecutionStatus &value)
void SetLastStatusChange(const Aws::Utils::DateTime &value)
void SetExternalExecutionUrl(const char *value)
const Aws::String & GetSummary() const
void SetLastUpdatedBy(Aws::String &&value)
AWS_CODEPIPELINE_API RuleExecution(Aws::Utils::Json::JsonView jsonValue)
RuleExecution & WithLastUpdatedBy(Aws::String &&value)
RuleExecution & WithToken(Aws::String &&value)
RuleExecution & WithExternalExecutionUrl(Aws::String &&value)
const Aws::Utils::DateTime & GetLastStatusChange() const
void SetSummary(const Aws::String &value)
const Aws::String & GetLastUpdatedBy() const
void SetLastStatusChange(Aws::Utils::DateTime &&value)
const Aws::String & GetExternalExecutionUrl() const
void SetExternalExecutionId(Aws::String &&value)
void SetExternalExecutionId(const Aws::String &value)
RuleExecution & WithRuleExecutionId(Aws::String &&value)
void SetRuleExecutionId(const Aws::String &value)
RuleExecution & WithLastUpdatedBy(const char *value)
RuleExecution & WithStatus(const RuleExecutionStatus &value)
RuleExecution & WithToken(const char *value)
void SetSummary(Aws::String &&value)
void SetExternalExecutionUrl(const Aws::String &value)
RuleExecution & WithErrorDetails(ErrorDetails &&value)
void SetRuleExecutionId(const char *value)
RuleExecution & WithSummary(const Aws::String &value)
void SetErrorDetails(ErrorDetails &&value)
RuleExecution & WithExternalExecutionUrl(const char *value)
RuleExecution & WithExternalExecutionUrl(const Aws::String &value)
RuleExecution & WithExternalExecutionId(Aws::String &&value)
void SetExternalExecutionId(const char *value)
const RuleExecutionStatus & GetStatus() const
RuleExecution & WithSummary(Aws::String &&value)
AWS_CODEPIPELINE_API RuleExecution()
RuleExecution & WithLastStatusChange(Aws::Utils::DateTime &&value)
RuleExecution & WithRuleExecutionId(const Aws::String &value)
AWS_CODEPIPELINE_API RuleExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleExecution & WithRuleExecutionId(const char *value)
void SetLastUpdatedBy(const char *value)
void SetToken(const Aws::String &value)
RuleExecution & WithErrorDetails(const ErrorDetails &value)
const Aws::String & GetExternalExecutionId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue