AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExecutionDetails.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodePipeline {
20namespace Model {
21
29 public:
30 AWS_CODEPIPELINE_API ExecutionDetails() = default;
31 AWS_CODEPIPELINE_API ExecutionDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODEPIPELINE_API ExecutionDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSummary() const { return m_summary; }
40 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
41 template <typename SummaryT = Aws::String>
42 void SetSummary(SummaryT&& value) {
43 m_summaryHasBeenSet = true;
44 m_summary = std::forward<SummaryT>(value);
45 }
46 template <typename SummaryT = Aws::String>
47 ExecutionDetails& WithSummary(SummaryT&& value) {
48 SetSummary(std::forward<SummaryT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetExternalExecutionId() const { return m_externalExecutionId; }
59 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
60 template <typename ExternalExecutionIdT = Aws::String>
61 void SetExternalExecutionId(ExternalExecutionIdT&& value) {
62 m_externalExecutionIdHasBeenSet = true;
63 m_externalExecutionId = std::forward<ExternalExecutionIdT>(value);
64 }
65 template <typename ExternalExecutionIdT = Aws::String>
66 ExecutionDetails& WithExternalExecutionId(ExternalExecutionIdT&& value) {
67 SetExternalExecutionId(std::forward<ExternalExecutionIdT>(value));
68 return *this;
69 }
71
73
77 inline int GetPercentComplete() const { return m_percentComplete; }
78 inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
79 inline void SetPercentComplete(int value) {
80 m_percentCompleteHasBeenSet = true;
81 m_percentComplete = value;
82 }
84 SetPercentComplete(value);
85 return *this;
86 }
88 private:
89 Aws::String m_summary;
90
91 Aws::String m_externalExecutionId;
92
93 int m_percentComplete{0};
94 bool m_summaryHasBeenSet = false;
95 bool m_externalExecutionIdHasBeenSet = false;
96 bool m_percentCompleteHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace CodePipeline
101} // namespace Aws
ExecutionDetails & WithSummary(SummaryT &&value)
AWS_CODEPIPELINE_API ExecutionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionDetails & WithPercentComplete(int value)
AWS_CODEPIPELINE_API ExecutionDetails()=default
AWS_CODEPIPELINE_API ExecutionDetails(Aws::Utils::Json::JsonView jsonValue)
void SetExternalExecutionId(ExternalExecutionIdT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExternalExecutionId() const
ExecutionDetails & WithExternalExecutionId(ExternalExecutionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue