7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/PathStatement.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ThroughResourcesStatement.h>
50 template<
typename SourceT = PathStatement>
51 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
52 template<
typename SourceT = PathStatement>
62 template<
typename DestinationT = PathStatement>
63 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
64 template<
typename DestinationT = PathStatement>
74 template<
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatement>>
75 void SetThroughResources(ThroughResourcesT&& value) { m_throughResourcesHasBeenSet =
true; m_throughResources = std::forward<ThroughResourcesT>(value); }
76 template<
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatement>>
78 template<
typename ThroughResourcesT = ThroughResourcesStatement>
79 AccessScopePath&
AddThroughResources(ThroughResourcesT&& value) { m_throughResourcesHasBeenSet =
true; m_throughResources.emplace_back(std::forward<ThroughResourcesT>(value));
return *
this; }
84 bool m_sourceHasBeenSet =
false;
87 bool m_destinationHasBeenSet =
false;
90 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