AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EMR {
21namespace Model {
22
30 public:
31 AWS_EMR_API StepDetail() = default;
32 AWS_EMR_API StepDetail(Aws::Utils::Json::JsonView jsonValue);
35
37
40 inline const StepConfig& GetStepConfig() const { return m_stepConfig; }
41 inline bool StepConfigHasBeenSet() const { return m_stepConfigHasBeenSet; }
42 template <typename StepConfigT = StepConfig>
43 void SetStepConfig(StepConfigT&& value) {
44 m_stepConfigHasBeenSet = true;
45 m_stepConfig = std::forward<StepConfigT>(value);
46 }
47 template <typename StepConfigT = StepConfig>
48 StepDetail& WithStepConfig(StepConfigT&& value) {
49 SetStepConfig(std::forward<StepConfigT>(value));
50 return *this;
51 }
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) {
62 m_executionStatusDetailHasBeenSet = true;
63 m_executionStatusDetail = std::forward<ExecutionStatusDetailT>(value);
64 }
65 template <typename ExecutionStatusDetailT = StepExecutionStatusDetail>
66 StepDetail& WithExecutionStatusDetail(ExecutionStatusDetailT&& value) {
67 SetExecutionStatusDetail(std::forward<ExecutionStatusDetailT>(value));
68 return *this;
69 }
71 private:
72 StepConfig m_stepConfig;
73
74 StepExecutionStatusDetail m_executionStatusDetail;
75 bool m_stepConfigHasBeenSet = false;
76 bool m_executionStatusDetailHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace EMR
81} // namespace Aws
bool StepConfigHasBeenSet() const
Definition StepDetail.h:41
bool ExecutionStatusDetailHasBeenSet() const
Definition StepDetail.h:59
StepDetail & WithStepConfig(StepConfigT &&value)
Definition StepDetail.h:48
const StepExecutionStatusDetail & GetExecutionStatusDetail() const
Definition StepDetail.h:58
StepDetail & WithExecutionStatusDetail(ExecutionStatusDetailT &&value)
Definition StepDetail.h:66
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:40
void SetStepConfig(StepConfigT &&value)
Definition StepDetail.h:43
Aws::Utils::Json::JsonValue JsonValue