/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the placement of an instance.See Also:
AWS
* API Reference
The name of the placement group that the instance is in.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The name of the placement group that the instance is in.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The name of the placement group that the instance is in.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The name of the placement group that the instance is in.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The name of the placement group that the instance is in.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The name of the placement group that the instance is in.
*/ inline PlacementResponse& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the placement group that the instance is in.
*/ inline PlacementResponse& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the placement group that the instance is in.
*/ inline PlacementResponse& WithGroupName(const char* value) { SetGroupName(value); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws