/** * 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 WAFRegional { namespace Model { class GetWebACLForResourceResult { public: AWS_WAFREGIONAL_API GetWebACLForResourceResult(); AWS_WAFREGIONAL_API GetWebACLForResourceResult(const Aws::AmazonWebServiceResult& result); AWS_WAFREGIONAL_API GetWebACLForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the web ACL that you specified in the * GetWebACLForResource request. If there is no associated resource, a * null WebACLSummary is returned.

*/ inline const WebACLSummary& GetWebACLSummary() const{ return m_webACLSummary; } /** *

Information about the web ACL that you specified in the * GetWebACLForResource request. If there is no associated resource, a * null WebACLSummary is returned.

*/ inline void SetWebACLSummary(const WebACLSummary& value) { m_webACLSummary = value; } /** *

Information about the web ACL that you specified in the * GetWebACLForResource request. If there is no associated resource, a * null WebACLSummary is returned.

*/ inline void SetWebACLSummary(WebACLSummary&& value) { m_webACLSummary = std::move(value); } /** *

Information about the web ACL that you specified in the * GetWebACLForResource request. If there is no associated resource, a * null WebACLSummary is returned.

*/ inline GetWebACLForResourceResult& WithWebACLSummary(const WebACLSummary& value) { SetWebACLSummary(value); return *this;} /** *

Information about the web ACL that you specified in the * GetWebACLForResource request. If there is no associated resource, a * null WebACLSummary is returned.

*/ inline GetWebACLForResourceResult& WithWebACLSummary(WebACLSummary&& value) { SetWebACLSummary(std::move(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 GetWebACLForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWebACLForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWebACLForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: WebACLSummary m_webACLSummary; Aws::String m_requestId; }; } // namespace Model } // namespace WAFRegional } // namespace Aws