AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ActionExecutionResult.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ErrorDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
30 public:
31 AWS_CODEPIPELINE_API ActionExecutionResult() = default;
32 AWS_CODEPIPELINE_API ActionExecutionResult(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetExternalExecutionId() const { return m_externalExecutionId; }
41 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
42 template <typename ExternalExecutionIdT = Aws::String>
43 void SetExternalExecutionId(ExternalExecutionIdT&& value) {
44 m_externalExecutionIdHasBeenSet = true;
45 m_externalExecutionId = std::forward<ExternalExecutionIdT>(value);
46 }
47 template <typename ExternalExecutionIdT = Aws::String>
48 ActionExecutionResult& WithExternalExecutionId(ExternalExecutionIdT&& value) {
49 SetExternalExecutionId(std::forward<ExternalExecutionIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExternalExecutionSummary() const { return m_externalExecutionSummary; }
59 inline bool ExternalExecutionSummaryHasBeenSet() const { return m_externalExecutionSummaryHasBeenSet; }
60 template <typename ExternalExecutionSummaryT = Aws::String>
61 void SetExternalExecutionSummary(ExternalExecutionSummaryT&& value) {
62 m_externalExecutionSummaryHasBeenSet = true;
63 m_externalExecutionSummary = std::forward<ExternalExecutionSummaryT>(value);
64 }
65 template <typename ExternalExecutionSummaryT = Aws::String>
66 ActionExecutionResult& WithExternalExecutionSummary(ExternalExecutionSummaryT&& value) {
67 SetExternalExecutionSummary(std::forward<ExternalExecutionSummaryT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetExternalExecutionUrl() const { return m_externalExecutionUrl; }
78 inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; }
79 template <typename ExternalExecutionUrlT = Aws::String>
80 void SetExternalExecutionUrl(ExternalExecutionUrlT&& value) {
81 m_externalExecutionUrlHasBeenSet = true;
82 m_externalExecutionUrl = std::forward<ExternalExecutionUrlT>(value);
83 }
84 template <typename ExternalExecutionUrlT = Aws::String>
85 ActionExecutionResult& WithExternalExecutionUrl(ExternalExecutionUrlT&& value) {
86 SetExternalExecutionUrl(std::forward<ExternalExecutionUrlT>(value));
87 return *this;
88 }
90
92
93 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
94 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
95 template <typename ErrorDetailsT = ErrorDetails>
96 void SetErrorDetails(ErrorDetailsT&& value) {
97 m_errorDetailsHasBeenSet = true;
98 m_errorDetails = std::forward<ErrorDetailsT>(value);
99 }
100 template <typename ErrorDetailsT = ErrorDetails>
101 ActionExecutionResult& WithErrorDetails(ErrorDetailsT&& value) {
102 SetErrorDetails(std::forward<ErrorDetailsT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetLogStreamARN() const { return m_logStreamARN; }
112 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
113 template <typename LogStreamARNT = Aws::String>
114 void SetLogStreamARN(LogStreamARNT&& value) {
115 m_logStreamARNHasBeenSet = true;
116 m_logStreamARN = std::forward<LogStreamARNT>(value);
117 }
118 template <typename LogStreamARNT = Aws::String>
119 ActionExecutionResult& WithLogStreamARN(LogStreamARNT&& value) {
120 SetLogStreamARN(std::forward<LogStreamARNT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_externalExecutionId;
126
127 Aws::String m_externalExecutionSummary;
128
129 Aws::String m_externalExecutionUrl;
130
131 ErrorDetails m_errorDetails;
132
133 Aws::String m_logStreamARN;
134 bool m_externalExecutionIdHasBeenSet = false;
135 bool m_externalExecutionSummaryHasBeenSet = false;
136 bool m_externalExecutionUrlHasBeenSet = false;
137 bool m_errorDetailsHasBeenSet = false;
138 bool m_logStreamARNHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace CodePipeline
143} // namespace Aws
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionResult & WithLogStreamARN(LogStreamARNT &&value)
AWS_CODEPIPELINE_API ActionExecutionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionResult & WithExternalExecutionSummary(ExternalExecutionSummaryT &&value)
AWS_CODEPIPELINE_API ActionExecutionResult()=default
void SetExternalExecutionUrl(ExternalExecutionUrlT &&value)
ActionExecutionResult & WithErrorDetails(ErrorDetailsT &&value)
void SetExternalExecutionId(ExternalExecutionIdT &&value)
ActionExecutionResult & WithExternalExecutionUrl(ExternalExecutionUrlT &&value)
AWS_CODEPIPELINE_API ActionExecutionResult(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionResult & WithExternalExecutionId(ExternalExecutionIdT &&value)
void SetExternalExecutionSummary(ExternalExecutionSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue