AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PathStatement.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/PacketHeaderStatement.h>
10#include <aws/ec2/model/ResourceStatement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_EC2_API PathStatement();
36 AWS_EC2_API PathStatement(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API PathStatement& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const PacketHeaderStatement& GetPacketHeaderStatement() const{ return m_packetHeaderStatement; }
48 inline bool PacketHeaderStatementHasBeenSet() const { return m_packetHeaderStatementHasBeenSet; }
49 inline void SetPacketHeaderStatement(const PacketHeaderStatement& value) { m_packetHeaderStatementHasBeenSet = true; m_packetHeaderStatement = value; }
50 inline void SetPacketHeaderStatement(PacketHeaderStatement&& value) { m_packetHeaderStatementHasBeenSet = true; m_packetHeaderStatement = std::move(value); }
54
56
59 inline const ResourceStatement& GetResourceStatement() const{ return m_resourceStatement; }
60 inline bool ResourceStatementHasBeenSet() const { return m_resourceStatementHasBeenSet; }
61 inline void SetResourceStatement(const ResourceStatement& value) { m_resourceStatementHasBeenSet = true; m_resourceStatement = value; }
62 inline void SetResourceStatement(ResourceStatement&& value) { m_resourceStatementHasBeenSet = true; m_resourceStatement = std::move(value); }
63 inline PathStatement& WithResourceStatement(const ResourceStatement& value) { SetResourceStatement(value); return *this;}
64 inline PathStatement& WithResourceStatement(ResourceStatement&& value) { SetResourceStatement(std::move(value)); return *this;}
66 private:
67
68 PacketHeaderStatement m_packetHeaderStatement;
69 bool m_packetHeaderStatementHasBeenSet = false;
70
71 ResourceStatement m_resourceStatement;
72 bool m_resourceStatementHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EC2
77} // namespace Aws
PathStatement & WithPacketHeaderStatement(const PacketHeaderStatement &value)
const ResourceStatement & GetResourceStatement() const
const PacketHeaderStatement & GetPacketHeaderStatement() const
PathStatement & WithPacketHeaderStatement(PacketHeaderStatement &&value)
PathStatement & WithResourceStatement(ResourceStatement &&value)
void SetPacketHeaderStatement(const PacketHeaderStatement &value)
AWS_EC2_API PathStatement(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPacketHeaderStatement(PacketHeaderStatement &&value)
AWS_EC2_API PathStatement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResourceStatement(const ResourceStatement &value)
bool PacketHeaderStatementHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResourceStatement(ResourceStatement &&value)
PathStatement & WithResourceStatement(const ResourceStatement &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream