AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyDetection.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/AnomalyResultEnum.h>
10#include <aws/elasticloadbalancingv2/model/MitigationInEffectEnum.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticLoadBalancingv2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection();
37 AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const AnomalyResultEnum& GetResult() const{ return m_result; }
49 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
50 inline void SetResult(const AnomalyResultEnum& value) { m_resultHasBeenSet = true; m_result = value; }
51 inline void SetResult(AnomalyResultEnum&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
52 inline AnomalyDetection& WithResult(const AnomalyResultEnum& value) { SetResult(value); return *this;}
53 inline AnomalyDetection& WithResult(AnomalyResultEnum&& value) { SetResult(std::move(value)); return *this;}
55
57
60 inline const MitigationInEffectEnum& GetMitigationInEffect() const{ return m_mitigationInEffect; }
61 inline bool MitigationInEffectHasBeenSet() const { return m_mitigationInEffectHasBeenSet; }
62 inline void SetMitigationInEffect(const MitigationInEffectEnum& value) { m_mitigationInEffectHasBeenSet = true; m_mitigationInEffect = value; }
63 inline void SetMitigationInEffect(MitigationInEffectEnum&& value) { m_mitigationInEffectHasBeenSet = true; m_mitigationInEffect = std::move(value); }
65 inline AnomalyDetection& WithMitigationInEffect(MitigationInEffectEnum&& value) { SetMitigationInEffect(std::move(value)); return *this;}
67 private:
68
69 AnomalyResultEnum m_result;
70 bool m_resultHasBeenSet = false;
71
72 MitigationInEffectEnum m_mitigationInEffect;
73 bool m_mitigationInEffectHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ElasticLoadBalancingv2
78} // namespace Aws
AnomalyDetection & WithResult(const AnomalyResultEnum &value)
AnomalyDetection & WithMitigationInEffect(const MitigationInEffectEnum &value)
AnomalyDetection & WithResult(AnomalyResultEnum &&value)
void SetMitigationInEffect(MitigationInEffectEnum &&value)
const MitigationInEffectEnum & GetMitigationInEffect() const
AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetResult(const AnomalyResultEnum &value)
AnomalyDetection & WithMitigationInEffect(MitigationInEffectEnum &&value)
AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection()
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCINGV2_API AnomalyDetection & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMitigationInEffect(const MitigationInEffectEnum &value)
std::basic_ostream< char, std::char_traits< char > > OStream