/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMR { namespace Model { /** *

This output contains the description of the cluster step.

See * Also:

AWS * API Reference

*/ class DescribeStepResult { public: AWS_EMR_API DescribeStepResult(); AWS_EMR_API DescribeStepResult(const Aws::AmazonWebServiceResult& result); AWS_EMR_API DescribeStepResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The step details for the requested step identifier.

*/ inline const Step& GetStep() const{ return m_step; } /** *

The step details for the requested step identifier.

*/ inline void SetStep(const Step& value) { m_step = value; } /** *

The step details for the requested step identifier.

*/ inline void SetStep(Step&& value) { m_step = std::move(value); } /** *

The step details for the requested step identifier.

*/ inline DescribeStepResult& WithStep(const Step& value) { SetStep(value); return *this;} /** *

The step details for the requested step identifier.

*/ inline DescribeStepResult& WithStep(Step&& value) { SetStep(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStepResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStepResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStepResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Step m_step; Aws::String m_requestId; }; } // namespace Model } // namespace EMR } // namespace Aws