AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
49 inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
50 inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
52 inline ActionExecutionResult& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
53 inline ActionExecutionResult& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
55
57
60 inline const Aws::String& GetExternalExecutionSummary() const{ return m_externalExecutionSummary; }
61 inline bool ExternalExecutionSummaryHasBeenSet() const { return m_externalExecutionSummaryHasBeenSet; }
62 inline void SetExternalExecutionSummary(const Aws::String& value) { m_externalExecutionSummaryHasBeenSet = true; m_externalExecutionSummary = value; }
63 inline void SetExternalExecutionSummary(Aws::String&& value) { m_externalExecutionSummaryHasBeenSet = true; m_externalExecutionSummary = std::move(value); }
64 inline void SetExternalExecutionSummary(const char* value) { m_externalExecutionSummaryHasBeenSet = true; m_externalExecutionSummary.assign(value); }
67 inline ActionExecutionResult& WithExternalExecutionSummary(const char* value) { SetExternalExecutionSummary(value); return *this;}
69
71
75 inline const Aws::String& GetExternalExecutionUrl() const{ return m_externalExecutionUrl; }
76 inline bool ExternalExecutionUrlHasBeenSet() const { return m_externalExecutionUrlHasBeenSet; }
77 inline void SetExternalExecutionUrl(const Aws::String& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = value; }
78 inline void SetExternalExecutionUrl(Aws::String&& value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl = std::move(value); }
79 inline void SetExternalExecutionUrl(const char* value) { m_externalExecutionUrlHasBeenSet = true; m_externalExecutionUrl.assign(value); }
81 inline ActionExecutionResult& WithExternalExecutionUrl(Aws::String&& value) { SetExternalExecutionUrl(std::move(value)); return *this;}
82 inline ActionExecutionResult& WithExternalExecutionUrl(const char* value) { SetExternalExecutionUrl(value); return *this;}
84
86
87 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
88 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
89 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
90 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
91 inline ActionExecutionResult& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
92 inline ActionExecutionResult& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_externalExecutionId;
97 bool m_externalExecutionIdHasBeenSet = false;
98
99 Aws::String m_externalExecutionSummary;
100 bool m_externalExecutionSummaryHasBeenSet = false;
101
102 Aws::String m_externalExecutionUrl;
103 bool m_externalExecutionUrlHasBeenSet = false;
104
105 ErrorDetails m_errorDetails;
106 bool m_errorDetailsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CodePipeline
111} // namespace Aws
ActionExecutionResult & WithExternalExecutionUrl(const char *value)
ActionExecutionResult & WithExternalExecutionId(const char *value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ActionExecutionResult & WithExternalExecutionSummary(Aws::String &&value)
AWS_CODEPIPELINE_API ActionExecutionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionResult & WithExternalExecutionSummary(const char *value)
ActionExecutionResult & WithExternalExecutionSummary(const Aws::String &value)
ActionExecutionResult & WithErrorDetails(ErrorDetails &&value)
void SetExternalExecutionSummary(const Aws::String &value)
ActionExecutionResult & WithExternalExecutionUrl(const Aws::String &value)
ActionExecutionResult & WithExternalExecutionUrl(Aws::String &&value)
ActionExecutionResult & WithExternalExecutionId(Aws::String &&value)
ActionExecutionResult & WithErrorDetails(const ErrorDetails &value)
AWS_CODEPIPELINE_API ActionExecutionResult(Aws::Utils::Json::JsonView jsonValue)
ActionExecutionResult & WithExternalExecutionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue