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