AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
48 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
49 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
50 inline ExecutionDetails& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
51 inline ExecutionDetails& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
52 inline ExecutionDetails& WithSummary(const char* value) { SetSummary(value); return *this;}
54
56
60 inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; }
61 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
62 inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
63 inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
64 inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
65 inline ExecutionDetails& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;}
66 inline ExecutionDetails& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
67 inline ExecutionDetails& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
69
71
75 inline int GetPercentComplete() const{ return m_percentComplete; }
76 inline bool PercentCompleteHasBeenSet() const { return m_percentCompleteHasBeenSet; }
77 inline void SetPercentComplete(int value) { m_percentCompleteHasBeenSet = true; m_percentComplete = value; }
78 inline ExecutionDetails& WithPercentComplete(int value) { SetPercentComplete(value); return *this;}
80 private:
81
82 Aws::String m_summary;
83 bool m_summaryHasBeenSet = false;
84
85 Aws::String m_externalExecutionId;
86 bool m_externalExecutionIdHasBeenSet = false;
87
88 int m_percentComplete;
89 bool m_percentCompleteHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CodePipeline
94} // namespace Aws
void SetExternalExecutionId(const Aws::String &value)
void SetSummary(const Aws::String &value)
AWS_CODEPIPELINE_API ExecutionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionDetails & WithPercentComplete(int value)
ExecutionDetails & WithSummary(const char *value)
ExecutionDetails & WithSummary(const Aws::String &value)
AWS_CODEPIPELINE_API ExecutionDetails(Aws::Utils::Json::JsonView jsonValue)
ExecutionDetails & WithExternalExecutionId(const Aws::String &value)
ExecutionDetails & WithExternalExecutionId(Aws::String &&value)
void SetExternalExecutionId(Aws::String &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExternalExecutionId() const
ExecutionDetails & WithExternalExecutionId(const char *value)
ExecutionDetails & WithSummary(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue