/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A source IP addresses and address range to inspect for.See
* Also:
AWS
* API Reference
An IP address or a block of IP addresses.
*/ inline const Aws::String& GetAddressDefinition() const{ return m_addressDefinition; } /** *An IP address or a block of IP addresses.
*/ inline bool AddressDefinitionHasBeenSet() const { return m_addressDefinitionHasBeenSet; } /** *An IP address or a block of IP addresses.
*/ inline void SetAddressDefinition(const Aws::String& value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition = value; } /** *An IP address or a block of IP addresses.
*/ inline void SetAddressDefinition(Aws::String&& value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition = std::move(value); } /** *An IP address or a block of IP addresses.
*/ inline void SetAddressDefinition(const char* value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition.assign(value); } /** *An IP address or a block of IP addresses.
*/ inline RuleGroupSourceStatelessRuleMatchAttributesSources& WithAddressDefinition(const Aws::String& value) { SetAddressDefinition(value); return *this;} /** *An IP address or a block of IP addresses.
*/ inline RuleGroupSourceStatelessRuleMatchAttributesSources& WithAddressDefinition(Aws::String&& value) { SetAddressDefinition(std::move(value)); return *this;} /** *An IP address or a block of IP addresses.
*/ inline RuleGroupSourceStatelessRuleMatchAttributesSources& WithAddressDefinition(const char* value) { SetAddressDefinition(value); return *this;} private: Aws::String m_addressDefinition; bool m_addressDefinitionHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws