/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Step taken during a cluster operation.See
* Also:
AWS
* API Reference
Information about the step and its status.
*/ inline const ClusterOperationStepInfo& GetStepInfo() const{ return m_stepInfo; } /** *Information about the step and its status.
*/ inline bool StepInfoHasBeenSet() const { return m_stepInfoHasBeenSet; } /** *Information about the step and its status.
*/ inline void SetStepInfo(const ClusterOperationStepInfo& value) { m_stepInfoHasBeenSet = true; m_stepInfo = value; } /** *Information about the step and its status.
*/ inline void SetStepInfo(ClusterOperationStepInfo&& value) { m_stepInfoHasBeenSet = true; m_stepInfo = std::move(value); } /** *Information about the step and its status.
*/ inline ClusterOperationStep& WithStepInfo(const ClusterOperationStepInfo& value) { SetStepInfo(value); return *this;} /** *Information about the step and its status.
*/ inline ClusterOperationStep& WithStepInfo(ClusterOperationStepInfo&& value) { SetStepInfo(std::move(value)); return *this;} /** *The name of the step.
*/ inline const Aws::String& GetStepName() const{ return m_stepName; } /** *The name of the step.
*/ inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } /** *The name of the step.
*/ inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; } /** *The name of the step.
*/ inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); } /** *The name of the step.
*/ inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); } /** *The name of the step.
*/ inline ClusterOperationStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;} /** *The name of the step.
*/ inline ClusterOperationStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;} /** *The name of the step.
*/ inline ClusterOperationStep& WithStepName(const char* value) { SetStepName(value); return *this;} private: ClusterOperationStepInfo m_stepInfo; bool m_stepInfoHasBeenSet = false; Aws::String m_stepName; bool m_stepNameHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws