AWS SDK for C++  1.8.126
AWS SDK for C++
StepDetail.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 EMR
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const StepConfig& GetStepConfig() const{ return m_stepConfig; }
46 
50  inline bool StepConfigHasBeenSet() const { return m_stepConfigHasBeenSet; }
51 
55  inline void SetStepConfig(const StepConfig& value) { m_stepConfigHasBeenSet = true; m_stepConfig = value; }
56 
60  inline void SetStepConfig(StepConfig&& value) { m_stepConfigHasBeenSet = true; m_stepConfig = std::move(value); }
61 
65  inline StepDetail& WithStepConfig(const StepConfig& value) { SetStepConfig(value); return *this;}
66 
70  inline StepDetail& WithStepConfig(StepConfig&& value) { SetStepConfig(std::move(value)); return *this;}
71 
72 
76  inline const StepExecutionStatusDetail& GetExecutionStatusDetail() const{ return m_executionStatusDetail; }
77 
81  inline bool ExecutionStatusDetailHasBeenSet() const { return m_executionStatusDetailHasBeenSet; }
82 
86  inline void SetExecutionStatusDetail(const StepExecutionStatusDetail& value) { m_executionStatusDetailHasBeenSet = true; m_executionStatusDetail = value; }
87 
91  inline void SetExecutionStatusDetail(StepExecutionStatusDetail&& value) { m_executionStatusDetailHasBeenSet = true; m_executionStatusDetail = std::move(value); }
92 
96  inline StepDetail& WithExecutionStatusDetail(const StepExecutionStatusDetail& value) { SetExecutionStatusDetail(value); return *this;}
97 
101  inline StepDetail& WithExecutionStatusDetail(StepExecutionStatusDetail&& value) { SetExecutionStatusDetail(std::move(value)); return *this;}
102 
103  private:
104 
105  StepConfig m_stepConfig;
106  bool m_stepConfigHasBeenSet;
107 
108  StepExecutionStatusDetail m_executionStatusDetail;
109  bool m_executionStatusDetailHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace EMR
114 } // namespace Aws
Aws::EMR::Model::StepDetail
Definition: StepDetail.h:34
StepConfig.h
Aws::EMR::Model::StepExecutionStatusDetail
Definition: StepExecutionStatusDetail.h:34
Aws::EMR::Model::StepDetail::GetStepConfig
const StepConfig & GetStepConfig() const
Definition: StepDetail.h:45
StepExecutionStatusDetail.h
EMR_EXPORTS.h
Aws::EMR::Model::StepDetail::SetStepConfig
void SetStepConfig(const StepConfig &value)
Definition: StepDetail.h:55
Aws::EMR::Model::StepDetail::WithStepConfig
StepDetail & WithStepConfig(const StepConfig &value)
Definition: StepDetail.h:65
Aws::EMR::Model::StepDetail::ExecutionStatusDetailHasBeenSet
bool ExecutionStatusDetailHasBeenSet() const
Definition: StepDetail.h:81
Aws::EMR::Model::StepDetail::WithStepConfig
StepDetail & WithStepConfig(StepConfig &&value)
Definition: StepDetail.h:70
Aws::EMR::Model::StepDetail::StepDetail
StepDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::StepDetail::SetExecutionStatusDetail
void SetExecutionStatusDetail(const StepExecutionStatusDetail &value)
Definition: StepDetail.h:86
Aws::EMR::Model::StepDetail::GetExecutionStatusDetail
const StepExecutionStatusDetail & GetExecutionStatusDetail() const
Definition: StepDetail.h:76
Aws::EMR::Model::StepConfig
Definition: StepConfig.h:34
Aws::EMR::Model::StepDetail::SetStepConfig
void SetStepConfig(StepConfig &&value)
Definition: StepDetail.h:60
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::StepDetail::WithExecutionStatusDetail
StepDetail & WithExecutionStatusDetail(StepExecutionStatusDetail &&value)
Definition: StepDetail.h:101
Aws::EMR::Model::StepDetail::StepConfigHasBeenSet
bool StepConfigHasBeenSet() const
Definition: StepDetail.h:50
Aws::EMR::Model::StepDetail::operator=
StepDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::StepDetail::SetExecutionStatusDetail
void SetExecutionStatusDetail(StepExecutionStatusDetail &&value)
Definition: StepDetail.h:91
Aws::EMR::Model::StepDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::StepDetail::WithExecutionStatusDetail
StepDetail & WithExecutionStatusDetail(const StepExecutionStatusDetail &value)
Definition: StepDetail.h:96
Aws::EMR::Model::StepDetail::StepDetail
StepDetail()