/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a source security group.See Also:
AWS
* API Reference
The owner of the security group.
*/ inline const Aws::String& GetOwnerAlias() const{ return m_ownerAlias; } /** *The owner of the security group.
*/ inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; } /** *The owner of the security group.
*/ inline void SetOwnerAlias(const Aws::String& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = value; } /** *The owner of the security group.
*/ inline void SetOwnerAlias(Aws::String&& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = std::move(value); } /** *The owner of the security group.
*/ inline void SetOwnerAlias(const char* value) { m_ownerAliasHasBeenSet = true; m_ownerAlias.assign(value); } /** *The owner of the security group.
*/ inline SourceSecurityGroup& WithOwnerAlias(const Aws::String& value) { SetOwnerAlias(value); return *this;} /** *The owner of the security group.
*/ inline SourceSecurityGroup& WithOwnerAlias(Aws::String&& value) { SetOwnerAlias(std::move(value)); return *this;} /** *The owner of the security group.
*/ inline SourceSecurityGroup& WithOwnerAlias(const char* value) { SetOwnerAlias(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 SourceSecurityGroup& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the security group.
*/ inline SourceSecurityGroup& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the security group.
*/ inline SourceSecurityGroup& WithGroupName(const char* value) { SetGroupName(value); return *this;} private: Aws::String m_ownerAlias; bool m_ownerAliasHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancing } // namespace Aws