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

Information about the specified Firewall Manager protocols list.

*/ inline const ProtocolsListData& GetProtocolsList() const{ return m_protocolsList; } /** *

Information about the specified Firewall Manager protocols list.

*/ inline void SetProtocolsList(const ProtocolsListData& value) { m_protocolsList = value; } /** *

Information about the specified Firewall Manager protocols list.

*/ inline void SetProtocolsList(ProtocolsListData&& value) { m_protocolsList = std::move(value); } /** *

Information about the specified Firewall Manager protocols list.

*/ inline GetProtocolsListResult& WithProtocolsList(const ProtocolsListData& value) { SetProtocolsList(value); return *this;} /** *

Information about the specified Firewall Manager protocols list.

*/ inline GetProtocolsListResult& WithProtocolsList(ProtocolsListData&& value) { SetProtocolsList(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the specified protocols list.

*/ inline const Aws::String& GetProtocolsListArn() const{ return m_protocolsListArn; } /** *

The Amazon Resource Name (ARN) of the specified protocols list.

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

The Amazon Resource Name (ARN) of the specified protocols list.

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

The Amazon Resource Name (ARN) of the specified protocols list.

*/ inline void SetProtocolsListArn(const char* value) { m_protocolsListArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the specified protocols list.

*/ inline GetProtocolsListResult& WithProtocolsListArn(const Aws::String& value) { SetProtocolsListArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the specified protocols list.

*/ inline GetProtocolsListResult& WithProtocolsListArn(Aws::String&& value) { SetProtocolsListArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the specified protocols list.

*/ inline GetProtocolsListResult& WithProtocolsListArn(const char* value) { SetProtocolsListArn(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 GetProtocolsListResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetProtocolsListResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetProtocolsListResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProtocolsListData m_protocolsList; Aws::String m_protocolsListArn; Aws::String m_requestId; }; } // namespace Model } // namespace FMS } // namespace Aws