/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that identifies a resource that is currently pending addition to
* the group as a member. Adding a resource to a resource group happens
* asynchronously as a background task and this one isn't completed
* yet.See Also:
AWS
* API Reference
The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline PendingResource& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline PendingResource& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon resource name (ARN) of the resource that's in a pending state.
*/ inline PendingResource& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace ResourceGroups } // namespace Aws