7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/PathStatementRequest.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ThroughResourcesStatementRequest.h>
50 template<
typename SourceT = PathStatementRequest>
51 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
52 template<
typename SourceT = PathStatementRequest>
62 template<
typename DestinationT = PathStatementRequest>
63 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
64 template<
typename DestinationT = PathStatementRequest>
74 template<
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatementRequest>>
75 void SetThroughResources(ThroughResourcesT&& value) { m_throughResourcesHasBeenSet =
true; m_throughResources = std::forward<ThroughResourcesT>(value); }
76 template<
typename ThroughResourcesT = Aws::Vector<ThroughResourcesStatementRequest>>
78 template<
typename ThroughResourcesT = ThroughResourcesStatementRequest>
84 bool m_sourceHasBeenSet =
false;
87 bool m_destinationHasBeenSet =
false;
90 bool m_throughResourcesHasBeenSet =
false;
bool SourceHasBeenSet() const
const Aws::Vector< ThroughResourcesStatementRequest > & GetThroughResources() const
AWS_EC2_API AccessScopePathRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const PathStatementRequest & GetSource() const
AWS_EC2_API AccessScopePathRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessScopePathRequest & WithDestination(DestinationT &&value)
const PathStatementRequest & GetDestination() const
bool DestinationHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API AccessScopePathRequest()=default
void SetDestination(DestinationT &&value)
void SetThroughResources(ThroughResourcesT &&value)
AccessScopePathRequest & WithSource(SourceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AccessScopePathRequest & AddThroughResources(ThroughResourcesT &&value)
void SetSource(SourceT &&value)
bool ThroughResourcesHasBeenSet() const
AccessScopePathRequest & WithThroughResources(ThroughResourcesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream