AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OriginGroupFailoverCriteria.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/StatusCodes.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace CloudFront
21{
22namespace Model
23{
24
33 {
34 public:
35 AWS_CLOUDFRONT_API OriginGroupFailoverCriteria();
36 AWS_CLOUDFRONT_API OriginGroupFailoverCriteria(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const StatusCodes& GetStatusCodes() const{ return m_statusCodes; }
48 inline bool StatusCodesHasBeenSet() const { return m_statusCodesHasBeenSet; }
49 inline void SetStatusCodes(const StatusCodes& value) { m_statusCodesHasBeenSet = true; m_statusCodes = value; }
50 inline void SetStatusCodes(StatusCodes&& value) { m_statusCodesHasBeenSet = true; m_statusCodes = std::move(value); }
51 inline OriginGroupFailoverCriteria& WithStatusCodes(const StatusCodes& value) { SetStatusCodes(value); return *this;}
52 inline OriginGroupFailoverCriteria& WithStatusCodes(StatusCodes&& value) { SetStatusCodes(std::move(value)); return *this;}
54 private:
55
56 StatusCodes m_statusCodes;
57 bool m_statusCodesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CloudFront
62} // namespace Aws
AWS_CLOUDFRONT_API OriginGroupFailoverCriteria & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API OriginGroupFailoverCriteria(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
OriginGroupFailoverCriteria & WithStatusCodes(const StatusCodes &value)
OriginGroupFailoverCriteria & WithStatusCodes(StatusCodes &&value)