AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ActionExecutionResult.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/ErrorDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API ActionExecutionResult() = default;
37 AWS_CODEPIPELINE_API ActionExecutionResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExternalExecutionId() const { return m_externalExecutionId; }
47 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
48 template<typename ExternalExecutionIdT = Aws::String>
49 void SetExternalExecutionId(ExternalExecutionIdT&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::forward<ExternalExecutionIdT>(value); }
50 template<typename ExternalExecutionIdT = Aws::String>
51 ActionExecutionResult& WithExternalExecutionId(ExternalExecutionIdT&& value) { SetExternalExecutionId(std::forward<ExternalExecutionIdT>(value)); return *this;}
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) { m_externalExecutionSummaryHasBeenSet = true; m_externalExecutionSummary = std::forward<ExternalExecutionSummaryT>(value); }
62 template<typename ExternalExecutionSummaryT = Aws::String>
63 ActionExecutionResult& WithExternalExecutionSummary(ExternalExecutionSummaryT&& value) { SetExternalExecutionSummary(std::forward<ExternalExecutionSummaryT>(value)); return *this;}
65
67
71 inline const Aws::String& GetExternalExecutionUrl() const { return m_externalExecutionUrl; }
72 inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; }
73 template<typename ExternalExecutionUrlT = Aws::String>
74 void SetExternalExecutionUrl(ExternalExecutionUrlT&& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = std::forward<ExternalExecutionUrlT>(value); }
75 template<typename ExternalExecutionUrlT = Aws::String>
76 ActionExecutionResult& WithExternalExecutionUrl(ExternalExecutionUrlT&& value) { SetExternalExecutionUrl(std::forward<ExternalExecutionUrlT>(value)); return *this;}
78
80
81 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
82 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
83 template<typename ErrorDetailsT = ErrorDetails>
84 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
85 template<typename ErrorDetailsT = ErrorDetails>
86 ActionExecutionResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
88
90
93 inline const Aws::String& GetLogStreamARN() const { return m_logStreamARN; }
94 inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
95 template<typename LogStreamARNT = Aws::String>
96 void SetLogStreamARN(LogStreamARNT&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::forward<LogStreamARNT>(value); }
97 template<typename LogStreamARNT = Aws::String>
98 ActionExecutionResult& WithLogStreamARN(LogStreamARNT&& value) { SetLogStreamARN(std::forward<LogStreamARNT>(value)); return *this;}
100 private:
101
102 Aws::String m_externalExecutionId;
103 bool m_externalExecutionIdHasBeenSet = false;
104
105 Aws::String m_externalExecutionSummary;
106 bool m_externalExecutionSummaryHasBeenSet = false;
107
108 Aws::String m_externalExecutionUrl;
109 bool m_externalExecutionUrlHasBeenSet = false;
110
111 ErrorDetails m_errorDetails;
112 bool m_errorDetailsHasBeenSet = false;
113
114 Aws::String m_logStreamARN;
115 bool m_logStreamARNHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CodePipeline
120} // 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