/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WAF { namespace Model { class GetRateBasedRuleManagedKeysResult { public: AWS_WAF_API GetRateBasedRuleManagedKeysResult(); AWS_WAF_API GetRateBasedRuleManagedKeysResult(const Aws::AmazonWebServiceResult& result); AWS_WAF_API GetRateBasedRuleManagedKeysResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline const Aws::Vector& GetManagedKeys() const{ return m_managedKeys; } /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline void SetManagedKeys(const Aws::Vector& value) { m_managedKeys = value; } /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline void SetManagedKeys(Aws::Vector&& value) { m_managedKeys = std::move(value); } /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline GetRateBasedRuleManagedKeysResult& WithManagedKeys(const Aws::Vector& value) { SetManagedKeys(value); return *this;} /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline GetRateBasedRuleManagedKeysResult& WithManagedKeys(Aws::Vector&& value) { SetManagedKeys(std::move(value)); return *this;} /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline GetRateBasedRuleManagedKeysResult& AddManagedKeys(const Aws::String& value) { m_managedKeys.push_back(value); return *this; } /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline GetRateBasedRuleManagedKeysResult& AddManagedKeys(Aws::String&& value) { m_managedKeys.push_back(std::move(value)); return *this; } /** *

An array of IP addresses that currently are blocked by the specified * RateBasedRule.

*/ inline GetRateBasedRuleManagedKeysResult& AddManagedKeys(const char* value) { m_managedKeys.push_back(value); return *this; } /** *

A null value and not currently used.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

A null value and not currently used.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; } /** *

A null value and not currently used.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); } /** *

A null value and not currently used.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

A null value and not currently used.

*/ inline GetRateBasedRuleManagedKeysResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

A null value and not currently used.

*/ inline GetRateBasedRuleManagedKeysResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

A null value and not currently used.

*/ inline GetRateBasedRuleManagedKeysResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRateBasedRuleManagedKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRateBasedRuleManagedKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRateBasedRuleManagedKeysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_managedKeys; Aws::String m_nextMarker; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws