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/HealthCheckPathDestinationRequestObject.h>
11#include <aws/ec2/model/HealthCheckPathSourceRequestObject.h>
45 template <
typename SourceT = HealthCheckPathSourceRequestObject>
47 m_sourceHasBeenSet =
true;
48 m_source = std::forward<SourceT>(value);
50 template <
typename SourceT = HealthCheckPathSourceRequestObject>
63 template <
typename DestinationsT = Aws::Vector<HealthCheckPathDestinationRequestObject>>
65 m_destinationsHasBeenSet =
true;
66 m_destinations = std::forward<DestinationsT>(value);
68 template <
typename DestinationsT = Aws::Vector<HealthCheckPathDestinationRequestObject>>
73 template <
typename DestinationsT = HealthCheckPathDestinationRequestObject>
75 m_destinationsHasBeenSet =
true;
76 m_destinations.emplace_back(std::forward<DestinationsT>(value));
84 bool m_sourceHasBeenSet =
false;
85 bool m_destinationsHasBeenSet =
false;
const HealthCheckPathSourceRequestObject & GetSource() const
bool DestinationsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
HealthCheckPathRequestObject & AddDestinations(DestinationsT &&value)
void SetSource(SourceT &&value)
HealthCheckPathRequestObject & WithDestinations(DestinationsT &&value)
AWS_EC2_API HealthCheckPathRequestObject(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< HealthCheckPathDestinationRequestObject > & GetDestinations() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API HealthCheckPathRequestObject & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HealthCheckPathRequestObject & WithSource(SourceT &&value)
void SetDestinations(DestinationsT &&value)
bool SourceHasBeenSet() const
AWS_EC2_API HealthCheckPathRequestObject()=default
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream