7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/OriginGroupFailoverCriteria.h>
10#include <aws/cloudfront/model/OriginGroupMembers.h>
54 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
55 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
89 bool m_idHasBeenSet =
false;
92 bool m_failoverCriteriaHasBeenSet =
false;
95 bool m_membersHasBeenSet =
false;
void SetId(Aws::String &&value)
void SetFailoverCriteria(const OriginGroupFailoverCriteria &value)
OriginGroup & WithId(Aws::String &&value)
OriginGroup & WithMembers(const OriginGroupMembers &value)
OriginGroup & WithMembers(OriginGroupMembers &&value)
bool IdHasBeenSet() const
OriginGroup & WithFailoverCriteria(const OriginGroupFailoverCriteria &value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
AWS_CLOUDFRONT_API OriginGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFailoverCriteria(OriginGroupFailoverCriteria &&value)
OriginGroup & WithFailoverCriteria(OriginGroupFailoverCriteria &&value)
AWS_CLOUDFRONT_API OriginGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool FailoverCriteriaHasBeenSet() const
void SetMembers(const OriginGroupMembers &value)
void SetId(const char *value)
OriginGroup & WithId(const Aws::String &value)
OriginGroup & WithId(const char *value)
bool MembersHasBeenSet() const
void SetMembers(OriginGroupMembers &&value)
const OriginGroupFailoverCriteria & GetFailoverCriteria() const
AWS_CLOUDFRONT_API OriginGroup()
const OriginGroupMembers & GetMembers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String