/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes a path statement.

See Also:

AWS * API Reference

*/ class PathStatementRequest { public: AWS_EC2_API PathStatementRequest(); AWS_EC2_API PathStatementRequest(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API PathStatementRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The packet header statement.

*/ inline const PacketHeaderStatementRequest& GetPacketHeaderStatement() const{ return m_packetHeaderStatement; } /** *

The packet header statement.

*/ inline bool PacketHeaderStatementHasBeenSet() const { return m_packetHeaderStatementHasBeenSet; } /** *

The packet header statement.

*/ inline void SetPacketHeaderStatement(const PacketHeaderStatementRequest& value) { m_packetHeaderStatementHasBeenSet = true; m_packetHeaderStatement = value; } /** *

The packet header statement.

*/ inline void SetPacketHeaderStatement(PacketHeaderStatementRequest&& value) { m_packetHeaderStatementHasBeenSet = true; m_packetHeaderStatement = std::move(value); } /** *

The packet header statement.

*/ inline PathStatementRequest& WithPacketHeaderStatement(const PacketHeaderStatementRequest& value) { SetPacketHeaderStatement(value); return *this;} /** *

The packet header statement.

*/ inline PathStatementRequest& WithPacketHeaderStatement(PacketHeaderStatementRequest&& value) { SetPacketHeaderStatement(std::move(value)); return *this;} /** *

The resource statement.

*/ inline const ResourceStatementRequest& GetResourceStatement() const{ return m_resourceStatement; } /** *

The resource statement.

*/ inline bool ResourceStatementHasBeenSet() const { return m_resourceStatementHasBeenSet; } /** *

The resource statement.

*/ inline void SetResourceStatement(const ResourceStatementRequest& value) { m_resourceStatementHasBeenSet = true; m_resourceStatement = value; } /** *

The resource statement.

*/ inline void SetResourceStatement(ResourceStatementRequest&& value) { m_resourceStatementHasBeenSet = true; m_resourceStatement = std::move(value); } /** *

The resource statement.

*/ inline PathStatementRequest& WithResourceStatement(const ResourceStatementRequest& value) { SetResourceStatement(value); return *this;} /** *

The resource statement.

*/ inline PathStatementRequest& WithResourceStatement(ResourceStatementRequest&& value) { SetResourceStatement(std::move(value)); return *this;} private: PacketHeaderStatementRequest m_packetHeaderStatement; bool m_packetHeaderStatementHasBeenSet = false; ResourceStatementRequest m_resourceStatement; bool m_resourceStatementHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws