/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NetworkFirewall { namespace Model { /** *

Contains a set of IP set references.

See Also:

AWS * API Reference

*/ class ReferenceSets { public: AWS_NETWORKFIREWALL_API ReferenceSets(); AWS_NETWORKFIREWALL_API ReferenceSets(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKFIREWALL_API ReferenceSets& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The list of IP set references.

*/ inline const Aws::Map& GetIPSetReferences() const{ return m_iPSetReferences; } /** *

The list of IP set references.

*/ inline bool IPSetReferencesHasBeenSet() const { return m_iPSetReferencesHasBeenSet; } /** *

The list of IP set references.

*/ inline void SetIPSetReferences(const Aws::Map& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences = value; } /** *

The list of IP set references.

*/ inline void SetIPSetReferences(Aws::Map&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences = std::move(value); } /** *

The list of IP set references.

*/ inline ReferenceSets& WithIPSetReferences(const Aws::Map& value) { SetIPSetReferences(value); return *this;} /** *

The list of IP set references.

*/ inline ReferenceSets& WithIPSetReferences(Aws::Map&& value) { SetIPSetReferences(std::move(value)); return *this;} /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(const Aws::String& key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; } /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(Aws::String&& key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), value); return *this; } /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(const Aws::String& key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; } /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(Aws::String&& key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), std::move(value)); return *this; } /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(const char* key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; } /** *

The list of IP set references.

*/ inline ReferenceSets& AddIPSetReferences(const char* key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; } private: Aws::Map m_iPSetReferences; bool m_iPSetReferencesHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws