AWS SDK for C++  1.9.175
AWS SDK for C++
ResourceQuota.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace ElasticBeanstalk
20 {
21 namespace Model
22 {
23 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
46  inline int GetMaximum() const{ return m_maximum; }
47 
52  inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
53 
58  inline void SetMaximum(int value) { m_maximumHasBeenSet = true; m_maximum = value; }
59 
64  inline ResourceQuota& WithMaximum(int value) { SetMaximum(value); return *this;}
65 
66  private:
67 
68  int m_maximum;
69  bool m_maximumHasBeenSet;
70  };
71 
72 } // namespace Model
73 } // namespace ElasticBeanstalk
74 } // namespace Aws
Aws::ElasticBeanstalk::Model::ResourceQuota::SetMaximum
void SetMaximum(int value)
Definition: ResourceQuota.h:58
Aws::ElasticBeanstalk::Model::ResourceQuota
Definition: ResourceQuota.h:32
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::ResourceQuota::ResourceQuota
ResourceQuota()
Aws::ElasticBeanstalk::Model::ResourceQuota::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::ResourceQuota::WithMaximum
ResourceQuota & WithMaximum(int value)
Definition: ResourceQuota.h:64
Aws::ElasticBeanstalk::Model::ResourceQuota::GetMaximum
int GetMaximum() const
Definition: ResourceQuota.h:46
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::ResourceQuota::operator=
ResourceQuota & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::ResourceQuota::ResourceQuota
ResourceQuota(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::ResourceQuota::MaximumHasBeenSet
bool MaximumHasBeenSet() const
Definition: ResourceQuota.h:52
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::ResourceQuota::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const