/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a resource group to which a Capacity Reservation has been
* added.See Also:
AWS
* API Reference
The ARN of the resource group.
*/ inline const Aws::String& GetGroupArn() const{ return m_groupArn; } /** *The ARN of the resource group.
*/ inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; } /** *The ARN of the resource group.
*/ inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; } /** *The ARN of the resource group.
*/ inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); } /** *The ARN of the resource group.
*/ inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); } /** *The ARN of the resource group.
*/ inline CapacityReservationGroup& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;} /** *The ARN of the resource group.
*/ inline CapacityReservationGroup& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;} /** *The ARN of the resource group.
*/ inline CapacityReservationGroup& WithGroupArn(const char* value) { SetGroupArn(value); return *this;} /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline CapacityReservationGroup& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline CapacityReservationGroup& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the resource group.
*/ inline CapacityReservationGroup& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} private: Aws::String m_groupArn; bool m_groupArnHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws