/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request to change the source server migration lifecycle
* state.See Also:
AWS
* API Reference
The request to change the source server migration lifecycle state.
*/ inline const ChangeServerLifeCycleStateSourceServerLifecycleState& GetState() const{ return m_state; } /** *The request to change the source server migration lifecycle state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The request to change the source server migration lifecycle state.
*/ inline void SetState(const ChangeServerLifeCycleStateSourceServerLifecycleState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The request to change the source server migration lifecycle state.
*/ inline void SetState(ChangeServerLifeCycleStateSourceServerLifecycleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The request to change the source server migration lifecycle state.
*/ inline ChangeServerLifeCycleStateSourceServerLifecycle& WithState(const ChangeServerLifeCycleStateSourceServerLifecycleState& value) { SetState(value); return *this;} /** *The request to change the source server migration lifecycle state.
*/ inline ChangeServerLifeCycleStateSourceServerLifecycle& WithState(ChangeServerLifeCycleStateSourceServerLifecycleState&& value) { SetState(std::move(value)); return *this;} private: ChangeServerLifeCycleStateSourceServerLifecycleState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws