AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaxCountRule.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ELASTICBEANSTALK_API MaxCountRule();
34 AWS_ELASTICBEANSTALK_API MaxCountRule(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICBEANSTALK_API MaxCountRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
46 inline bool GetEnabled() const{ return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline MaxCountRule& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
56 inline int GetMaxCount() const{ return m_maxCount; }
57 inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
58 inline void SetMaxCount(int value) { m_maxCountHasBeenSet = true; m_maxCount = value; }
59 inline MaxCountRule& WithMaxCount(int value) { SetMaxCount(value); return *this;}
61
63
67 inline bool GetDeleteSourceFromS3() const{ return m_deleteSourceFromS3; }
68 inline bool DeleteSourceFromS3HasBeenSet() const { return m_deleteSourceFromS3HasBeenSet; }
69 inline void SetDeleteSourceFromS3(bool value) { m_deleteSourceFromS3HasBeenSet = true; m_deleteSourceFromS3 = value; }
70 inline MaxCountRule& WithDeleteSourceFromS3(bool value) { SetDeleteSourceFromS3(value); return *this;}
72 private:
73
74 bool m_enabled;
75 bool m_enabledHasBeenSet = false;
76
77 int m_maxCount;
78 bool m_maxCountHasBeenSet = false;
79
80 bool m_deleteSourceFromS3;
81 bool m_deleteSourceFromS3HasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ElasticBeanstalk
86} // namespace Aws
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MaxCountRule & WithEnabled(bool value)
MaxCountRule & WithMaxCount(int value)
AWS_ELASTICBEANSTALK_API MaxCountRule()
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API MaxCountRule(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API MaxCountRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MaxCountRule & WithDeleteSourceFromS3(bool value)
std::basic_ostream< char, std::char_traits< char > > OStream