AWS SDK for C++  0.12.9
AWS SDK for C++
StepDetail.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace EMR
30 {
31 namespace Model
32 {
33 
38  {
39  public:
40  StepDetail();
41  StepDetail(const Aws::Utils::Json::JsonValue& jsonValue);
42  StepDetail& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const StepConfig& GetStepConfig() const{ return m_stepConfig; }
49 
53  inline void SetStepConfig(const StepConfig& value) { m_stepConfigHasBeenSet = true; m_stepConfig = value; }
54 
58  inline void SetStepConfig(StepConfig&& value) { m_stepConfigHasBeenSet = true; m_stepConfig = value; }
59 
63  inline StepDetail& WithStepConfig(const StepConfig& value) { SetStepConfig(value); return *this;}
64 
68  inline StepDetail& WithStepConfig(StepConfig&& value) { SetStepConfig(value); return *this;}
69 
73  inline const StepExecutionStatusDetail& GetExecutionStatusDetail() const{ return m_executionStatusDetail; }
74 
78  inline void SetExecutionStatusDetail(const StepExecutionStatusDetail& value) { m_executionStatusDetailHasBeenSet = true; m_executionStatusDetail = value; }
79 
83  inline void SetExecutionStatusDetail(StepExecutionStatusDetail&& value) { m_executionStatusDetailHasBeenSet = true; m_executionStatusDetail = value; }
84 
88  inline StepDetail& WithExecutionStatusDetail(const StepExecutionStatusDetail& value) { SetExecutionStatusDetail(value); return *this;}
89 
93  inline StepDetail& WithExecutionStatusDetail(StepExecutionStatusDetail&& value) { SetExecutionStatusDetail(value); return *this;}
94 
95  private:
96  StepConfig m_stepConfig;
97  bool m_stepConfigHasBeenSet;
98  StepExecutionStatusDetail m_executionStatusDetail;
99  bool m_executionStatusDetailHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace EMR
104 } // namespace Aws
StepDetail & WithExecutionStatusDetail(StepExecutionStatusDetail &&value)
Definition: StepDetail.h:93
void SetExecutionStatusDetail(StepExecutionStatusDetail &&value)
Definition: StepDetail.h:83
StepDetail & WithExecutionStatusDetail(const StepExecutionStatusDetail &value)
Definition: StepDetail.h:88
const StepExecutionStatusDetail & GetExecutionStatusDetail() const
Definition: StepDetail.h:73
void SetStepConfig(const StepConfig &value)
Definition: StepDetail.h:53
const StepConfig & GetStepConfig() const
Definition: StepDetail.h:48
StepDetail & WithStepConfig(const StepConfig &value)
Definition: StepDetail.h:63
StepDetail & WithStepConfig(StepConfig &&value)
Definition: StepDetail.h:68
void SetStepConfig(StepConfig &&value)
Definition: StepDetail.h:58
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:34
void SetExecutionStatusDetail(const StepExecutionStatusDetail &value)
Definition: StepDetail.h:78
JSON (JavaScript Object Notation).