AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodePipeline
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEPIPELINE_API ExecutionDetails() = default;
36 AWS_CODEPIPELINE_API ExecutionDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API ExecutionDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetSummary() const { return m_summary; }
46 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
47 template<typename SummaryT = Aws::String>
48 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet = true; m_summary = std::forward<SummaryT>(value); }
49 template<typename SummaryT = Aws::String>
50 ExecutionDetails& WithSummary(SummaryT&& value) { SetSummary(std::forward<SummaryT>(value)); return *this;}
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) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::forward<ExternalExecutionIdT>(value); }
62 template<typename ExternalExecutionIdT = Aws::String>
63 ExecutionDetails& WithExternalExecutionId(ExternalExecutionIdT&& value) { SetExternalExecutionId(std::forward<ExternalExecutionIdT>(value)); return *this;}
65
67
71 inline int GetPercentComplete() const { return m_percentComplete; }
72 inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
73 inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; }
74 inline ExecutionDetails& WithPercentComplete(int value) { SetPercentComplete(value); return *this;}
76 private:
77
78 Aws::String m_summary;
79 bool m_summaryHasBeenSet = false;
80
81 Aws::String m_externalExecutionId;
82 bool m_externalExecutionIdHasBeenSet = false;
83
84 int m_percentComplete{0};
85 bool m_percentCompleteHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CodePipeline
90} // 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