7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/PathStatement.h>
11#include <aws/ec2/model/ThroughResourcesStatement.h>
44 template <
typename SourceT = PathStatement>
46 m_sourceHasBeenSet =
true;
47 m_source = std::forward<SourceT>(value);
49 template <
typename SourceT = PathStatement>
62 template <
typename DestinationT = PathStatement>
64 m_destinationHasBeenSet =
true;
65 m_destination = std::forward<DestinationT>(value);
67 template <
typename DestinationT = PathStatement>
80 template <
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatement>>
82 m_throughResourcesHasBeenSet =
true;
83 m_throughResources = std::forward<ThroughResourcesT>(value);
85 template <
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatement>>
90 template <
typename ThroughResourcesT = ThroughResourcesStatement>
92 m_throughResourcesHasBeenSet =
true;
93 m_throughResources.emplace_back(std::forward<ThroughResourcesT>(value));
103 bool m_sourceHasBeenSet =
false;
104 bool m_destinationHasBeenSet =
false;
105 bool m_throughResourcesHasBeenSet =
false;
bool DestinationHasBeenSet() const
AWS_EC2_API AccessScopePath & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSource(SourceT &&value)
void SetThroughResources(ThroughResourcesT &&value)
AccessScopePath & AddThroughResources(ThroughResourcesT &&value)
const PathStatement & GetSource() const
AccessScopePath & WithSource(SourceT &&value)
const Aws::Vector< ThroughResourcesStatement > & GetThroughResources() const
AccessScopePath & WithDestination(DestinationT &&value)
AccessScopePath & WithThroughResources(ThroughResourcesT &&value)
void SetDestination(DestinationT &&value)
const PathStatement & GetDestination() const
bool SourceHasBeenSet() const
AWS_EC2_API AccessScopePath()=default
AWS_EC2_API AccessScopePath(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ThroughResourcesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream