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

Step taken during a cluster operation.

See * Also:

AWS * API Reference

*/ class ClusterOperationStep { public: AWS_KAFKA_API ClusterOperationStep(); AWS_KAFKA_API ClusterOperationStep(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API ClusterOperationStep& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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