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