/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a WorkSpace modification.See Also:
AWS
* API Reference
The resource.
*/ inline const ModificationResourceEnum& GetResource() const{ return m_resource; } /** *The resource.
*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *The resource.
*/ inline void SetResource(const ModificationResourceEnum& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *The resource.
*/ inline void SetResource(ModificationResourceEnum&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *The resource.
*/ inline ModificationState& WithResource(const ModificationResourceEnum& value) { SetResource(value); return *this;} /** *The resource.
*/ inline ModificationState& WithResource(ModificationResourceEnum&& value) { SetResource(std::move(value)); return *this;} /** *The modification state.
*/ inline const ModificationStateEnum& GetState() const{ return m_state; } /** *The modification state.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The modification state.
*/ inline void SetState(const ModificationStateEnum& value) { m_stateHasBeenSet = true; m_state = value; } /** *The modification state.
*/ inline void SetState(ModificationStateEnum&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The modification state.
*/ inline ModificationState& WithState(const ModificationStateEnum& value) { SetState(value); return *this;} /** *The modification state.
*/ inline ModificationState& WithState(ModificationStateEnum&& value) { SetState(std::move(value)); return *this;} private: ModificationResourceEnum m_resource; bool m_resourceHasBeenSet = false; ModificationStateEnum m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws