AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StepDetail.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/StepConfig.h>
9#include <aws/elasticmapreduce/model/StepExecutionStatusDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMR
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EMR_API StepDetail() = default;
37 AWS_EMR_API StepDetail(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const StepConfig& GetStepConfig() const { return m_stepConfig; }
47 inline bool StepConfigHasBeenSet() const { return m_stepConfigHasBeenSet; }
48 template<typename StepConfigT = StepConfig>
49 void SetStepConfig(StepConfigT&& value) { m_stepConfigHasBeenSet = true; m_stepConfig = std::forward<StepConfigT>(value); }
50 template<typename StepConfigT = StepConfig>
51 StepDetail& WithStepConfig(StepConfigT&& value) { SetStepConfig(std::forward<StepConfigT>(value)); return *this;}
53
55
58 inline const StepExecutionStatusDetail& GetExecutionStatusDetail() const { return m_executionStatusDetail; }
59 inline bool ExecutionStatusDetailHasBeenSet() const { return m_executionStatusDetailHasBeenSet; }
60 template<typename ExecutionStatusDetailT = StepExecutionStatusDetail>
61 void SetExecutionStatusDetail(ExecutionStatusDetailT&& value) { m_executionStatusDetailHasBeenSet = true; m_executionStatusDetail = std::forward<ExecutionStatusDetailT>(value); }
62 template<typename ExecutionStatusDetailT = StepExecutionStatusDetail>
63 StepDetail& WithExecutionStatusDetail(ExecutionStatusDetailT&& value) { SetExecutionStatusDetail(std::forward<ExecutionStatusDetailT>(value)); return *this;}
65 private:
66
67 StepConfig m_stepConfig;
68 bool m_stepConfigHasBeenSet = false;
69
70 StepExecutionStatusDetail m_executionStatusDetail;
71 bool m_executionStatusDetailHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EMR
76} // namespace Aws
bool StepConfigHasBeenSet() const
Definition StepDetail.h:47
bool ExecutionStatusDetailHasBeenSet() const
Definition StepDetail.h:59
StepDetail & WithStepConfig(StepConfigT &&value)
Definition StepDetail.h:51
const StepExecutionStatusDetail & GetExecutionStatusDetail() const
Definition StepDetail.h:58
StepDetail & WithExecutionStatusDetail(ExecutionStatusDetailT &&value)
Definition StepDetail.h:63
AWS_EMR_API StepDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API StepDetail()=default
void SetExecutionStatusDetail(ExecutionStatusDetailT &&value)
Definition StepDetail.h:61
AWS_EMR_API StepDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const StepConfig & GetStepConfig() const
Definition StepDetail.h:46
void SetStepConfig(StepConfigT &&value)
Definition StepDetail.h:49
Aws::Utils::Json::JsonValue JsonValue