AWS SDK for C++  1.9.104
AWS SDK for C++
StageExecution.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; }
46 
50  inline bool PipelineExecutionIdHasBeenSet() const { return m_pipelineExecutionIdHasBeenSet; }
51 
55  inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = value; }
56 
60  inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId = std::move(value); }
61 
65  inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionIdHasBeenSet = true; m_pipelineExecutionId.assign(value); }
66 
70  inline StageExecution& WithPipelineExecutionId(const Aws::String& value) { SetPipelineExecutionId(value); return *this;}
71 
75  inline StageExecution& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;}
76 
80  inline StageExecution& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(value); return *this;}
81 
82 
88  inline const StageExecutionStatus& GetStatus() const{ return m_status; }
89 
95  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 
102  inline void SetStatus(const StageExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
103 
109  inline void SetStatus(StageExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 
116  inline StageExecution& WithStatus(const StageExecutionStatus& value) { SetStatus(value); return *this;}
117 
123  inline StageExecution& WithStatus(StageExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
124 
125  private:
126 
127  Aws::String m_pipelineExecutionId;
128  bool m_pipelineExecutionIdHasBeenSet;
129 
130  StageExecutionStatus m_status;
131  bool m_statusHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace CodePipeline
136 } // namespace Aws
Aws::CodePipeline::Model::StageExecution::SetPipelineExecutionId
void SetPipelineExecutionId(const char *value)
Definition: StageExecution.h:65
Aws::CodePipeline::Model::StageExecution::SetStatus
void SetStatus(const StageExecutionStatus &value)
Definition: StageExecution.h:102
Aws::CodePipeline::Model::StageExecution::SetStatus
void SetStatus(StageExecutionStatus &&value)
Definition: StageExecution.h:109
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::StageExecution::StageExecution
StageExecution(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::StageExecution::WithPipelineExecutionId
StageExecution & WithPipelineExecutionId(const char *value)
Definition: StageExecution.h:80
Aws::CodePipeline::Model::StageExecution::PipelineExecutionIdHasBeenSet
bool PipelineExecutionIdHasBeenSet() const
Definition: StageExecution.h:50
Aws::CodePipeline::Model::StageExecution::GetPipelineExecutionId
const Aws::String & GetPipelineExecutionId() const
Definition: StageExecution.h:45
Aws::CodePipeline::Model::StageExecution::WithPipelineExecutionId
StageExecution & WithPipelineExecutionId(Aws::String &&value)
Definition: StageExecution.h:75
Aws::CodePipeline::Model::StageExecution::operator=
StageExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::StageExecution::WithStatus
StageExecution & WithStatus(StageExecutionStatus &&value)
Definition: StageExecution.h:123
Aws::CodePipeline::Model::StageExecution
Definition: StageExecution.h:34
Aws::CodePipeline::Model::StageExecutionStatus
StageExecutionStatus
Definition: StageExecutionStatus.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::StageExecution::WithPipelineExecutionId
StageExecution & WithPipelineExecutionId(const Aws::String &value)
Definition: StageExecution.h:70
Aws::CodePipeline::Model::StageExecution::WithStatus
StageExecution & WithStatus(const StageExecutionStatus &value)
Definition: StageExecution.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::StageExecution::StageExecution
StageExecution()
StageExecutionStatus.h
Aws::CodePipeline::Model::StageExecution::SetPipelineExecutionId
void SetPipelineExecutionId(Aws::String &&value)
Definition: StageExecution.h:60
Aws::CodePipeline::Model::StageExecution::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::StageExecution::GetStatus
const StageExecutionStatus & GetStatus() const
Definition: StageExecution.h:88
Aws::CodePipeline::Model::StageExecution::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: StageExecution.h:95
Aws::CodePipeline::Model::StageExecution::SetPipelineExecutionId
void SetPipelineExecutionId(const Aws::String &value)
Definition: StageExecution.h:55