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

The details of the Firewall Manager protocols list.

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

The details of the Firewall Manager protocols list.

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

The details of the Firewall Manager protocols list.

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

The details of the Firewall Manager protocols list.

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

The details of the Firewall Manager protocols list.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline PutProtocolsListResult& 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 PutProtocolsListResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutProtocolsListResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutProtocolsListResult& 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