AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceQuotas.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/ResourceQuota.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API ResourceQuotas();
37 AWS_ELASTICBEANSTALK_API ResourceQuotas(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API ResourceQuotas& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const ResourceQuota& GetApplicationQuota() const{ return m_applicationQuota; }
49 inline bool ApplicationQuotaHasBeenSet() const { return m_applicationQuotaHasBeenSet; }
50 inline void SetApplicationQuota(const ResourceQuota& value) { m_applicationQuotaHasBeenSet = true; m_applicationQuota = value; }
51 inline void SetApplicationQuota(ResourceQuota&& value) { m_applicationQuotaHasBeenSet = true; m_applicationQuota = std::move(value); }
52 inline ResourceQuotas& WithApplicationQuota(const ResourceQuota& value) { SetApplicationQuota(value); return *this;}
53 inline ResourceQuotas& WithApplicationQuota(ResourceQuota&& value) { SetApplicationQuota(std::move(value)); return *this;}
55
57
60 inline const ResourceQuota& GetApplicationVersionQuota() const{ return m_applicationVersionQuota; }
61 inline bool ApplicationVersionQuotaHasBeenSet() const { return m_applicationVersionQuotaHasBeenSet; }
62 inline void SetApplicationVersionQuota(const ResourceQuota& value) { m_applicationVersionQuotaHasBeenSet = true; m_applicationVersionQuota = value; }
63 inline void SetApplicationVersionQuota(ResourceQuota&& value) { m_applicationVersionQuotaHasBeenSet = true; m_applicationVersionQuota = std::move(value); }
65 inline ResourceQuotas& WithApplicationVersionQuota(ResourceQuota&& value) { SetApplicationVersionQuota(std::move(value)); return *this;}
67
69
72 inline const ResourceQuota& GetEnvironmentQuota() const{ return m_environmentQuota; }
73 inline bool EnvironmentQuotaHasBeenSet() const { return m_environmentQuotaHasBeenSet; }
74 inline void SetEnvironmentQuota(const ResourceQuota& value) { m_environmentQuotaHasBeenSet = true; m_environmentQuota = value; }
75 inline void SetEnvironmentQuota(ResourceQuota&& value) { m_environmentQuotaHasBeenSet = true; m_environmentQuota = std::move(value); }
76 inline ResourceQuotas& WithEnvironmentQuota(const ResourceQuota& value) { SetEnvironmentQuota(value); return *this;}
77 inline ResourceQuotas& WithEnvironmentQuota(ResourceQuota&& value) { SetEnvironmentQuota(std::move(value)); return *this;}
79
81
84 inline const ResourceQuota& GetConfigurationTemplateQuota() const{ return m_configurationTemplateQuota; }
85 inline bool ConfigurationTemplateQuotaHasBeenSet() const { return m_configurationTemplateQuotaHasBeenSet; }
86 inline void SetConfigurationTemplateQuota(const ResourceQuota& value) { m_configurationTemplateQuotaHasBeenSet = true; m_configurationTemplateQuota = value; }
87 inline void SetConfigurationTemplateQuota(ResourceQuota&& value) { m_configurationTemplateQuotaHasBeenSet = true; m_configurationTemplateQuota = std::move(value); }
91
93
96 inline const ResourceQuota& GetCustomPlatformQuota() const{ return m_customPlatformQuota; }
97 inline bool CustomPlatformQuotaHasBeenSet() const { return m_customPlatformQuotaHasBeenSet; }
98 inline void SetCustomPlatformQuota(const ResourceQuota& value) { m_customPlatformQuotaHasBeenSet = true; m_customPlatformQuota = value; }
99 inline void SetCustomPlatformQuota(ResourceQuota&& value) { m_customPlatformQuotaHasBeenSet = true; m_customPlatformQuota = std::move(value); }
100 inline ResourceQuotas& WithCustomPlatformQuota(const ResourceQuota& value) { SetCustomPlatformQuota(value); return *this;}
101 inline ResourceQuotas& WithCustomPlatformQuota(ResourceQuota&& value) { SetCustomPlatformQuota(std::move(value)); return *this;}
103 private:
104
105 ResourceQuota m_applicationQuota;
106 bool m_applicationQuotaHasBeenSet = false;
107
108 ResourceQuota m_applicationVersionQuota;
109 bool m_applicationVersionQuotaHasBeenSet = false;
110
111 ResourceQuota m_environmentQuota;
112 bool m_environmentQuotaHasBeenSet = false;
113
114 ResourceQuota m_configurationTemplateQuota;
115 bool m_configurationTemplateQuotaHasBeenSet = false;
116
117 ResourceQuota m_customPlatformQuota;
118 bool m_customPlatformQuotaHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace ElasticBeanstalk
123} // namespace Aws
const ResourceQuota & GetApplicationVersionQuota() const
ResourceQuotas & WithConfigurationTemplateQuota(const ResourceQuota &value)
ResourceQuotas & WithApplicationQuota(ResourceQuota &&value)
const ResourceQuota & GetCustomPlatformQuota() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResourceQuotas & WithEnvironmentQuota(ResourceQuota &&value)
ResourceQuotas & WithApplicationVersionQuota(ResourceQuota &&value)
void SetCustomPlatformQuota(ResourceQuota &&value)
void SetCustomPlatformQuota(const ResourceQuota &value)
const ResourceQuota & GetConfigurationTemplateQuota() const
ResourceQuotas & WithApplicationQuota(const ResourceQuota &value)
void SetApplicationQuota(ResourceQuota &&value)
ResourceQuotas & WithCustomPlatformQuota(ResourceQuota &&value)
ResourceQuotas & WithApplicationVersionQuota(const ResourceQuota &value)
ResourceQuotas & WithCustomPlatformQuota(const ResourceQuota &value)
AWS_ELASTICBEANSTALK_API ResourceQuotas()
ResourceQuotas & WithEnvironmentQuota(const ResourceQuota &value)
void SetApplicationQuota(const ResourceQuota &value)
AWS_ELASTICBEANSTALK_API ResourceQuotas & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ResourceQuota & GetEnvironmentQuota() const
void SetApplicationVersionQuota(ResourceQuota &&value)
void SetEnvironmentQuota(const ResourceQuota &value)
void SetApplicationVersionQuota(const ResourceQuota &value)
void SetConfigurationTemplateQuota(const ResourceQuota &value)
void SetEnvironmentQuota(ResourceQuota &&value)
const ResourceQuota & GetApplicationQuota() const
AWS_ELASTICBEANSTALK_API ResourceQuotas(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetConfigurationTemplateQuota(ResourceQuota &&value)
ResourceQuotas & WithConfigurationTemplateQuota(ResourceQuota &&value)
std::basic_ostream< char, std::char_traits< char > > OStream