AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RuleExecutionResult.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 RuleExecutionResult() = default;
37 AWS_CODEPIPELINE_API RuleExecutionResult(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 RuleExecutionResult& 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 RuleExecutionResult& 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 RuleExecutionResult& 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 RuleExecutionResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
88 private:
89
90 Aws::String m_externalExecutionId;
91 bool m_externalExecutionIdHasBeenSet = false;
92
93 Aws::String m_externalExecutionSummary;
94 bool m_externalExecutionSummaryHasBeenSet = false;
95
96 Aws::String m_externalExecutionUrl;
97 bool m_externalExecutionUrlHasBeenSet = false;
98
99 ErrorDetails m_errorDetails;
100 bool m_errorDetailsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CodePipeline
105} // namespace Aws
const Aws::String & GetExternalExecutionSummary() const
void SetExternalExecutionUrl(ExternalExecutionUrlT &&value)
void SetExternalExecutionSummary(ExternalExecutionSummaryT &&value)
void SetExternalExecutionId(ExternalExecutionIdT &&value)
RuleExecutionResult & WithExternalExecutionId(ExternalExecutionIdT &&value)
AWS_CODEPIPELINE_API RuleExecutionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API RuleExecutionResult()=default
RuleExecutionResult & WithExternalExecutionUrl(ExternalExecutionUrlT &&value)
AWS_CODEPIPELINE_API RuleExecutionResult(Aws::Utils::Json::JsonView jsonValue)
RuleExecutionResult & WithExternalExecutionSummary(ExternalExecutionSummaryT &&value)
RuleExecutionResult & WithErrorDetails(ErrorDetailsT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue