/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that identifies the current group membership status for a
* resource. Adding a resource to a resource group is performed asynchronously as a
* background task. A PENDING
status indicates, for this resource,
* that the process isn't completed yet.See Also:
AWS
* API Reference
The current status.
*/ inline const ResourceStatusValue& GetName() const{ return m_name; } /** *The current status.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The current status.
*/ inline void SetName(const ResourceStatusValue& value) { m_nameHasBeenSet = true; m_name = value; } /** *The current status.
*/ inline void SetName(ResourceStatusValue&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The current status.
*/ inline ResourceStatus& WithName(const ResourceStatusValue& value) { SetName(value); return *this;} /** *The current status.
*/ inline ResourceStatus& WithName(ResourceStatusValue&& value) { SetName(std::move(value)); return *this;} private: ResourceStatusValue m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws