AWS SDK for C++  1.9.175
AWS SDK for C++
EnvironmentResourcesDescription.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace ElasticBeanstalk
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const LoadBalancerDescription& GetLoadBalancer() const{ return m_loadBalancer; }
47 
51  inline bool LoadBalancerHasBeenSet() const { return m_loadBalancerHasBeenSet; }
52 
56  inline void SetLoadBalancer(const LoadBalancerDescription& value) { m_loadBalancerHasBeenSet = true; m_loadBalancer = value; }
57 
61  inline void SetLoadBalancer(LoadBalancerDescription&& value) { m_loadBalancerHasBeenSet = true; m_loadBalancer = std::move(value); }
62 
66  inline EnvironmentResourcesDescription& WithLoadBalancer(const LoadBalancerDescription& value) { SetLoadBalancer(value); return *this;}
67 
71  inline EnvironmentResourcesDescription& WithLoadBalancer(LoadBalancerDescription&& value) { SetLoadBalancer(std::move(value)); return *this;}
72 
73  private:
74 
75  LoadBalancerDescription m_loadBalancer;
76  bool m_loadBalancerHasBeenSet;
77  };
78 
79 } // namespace Model
80 } // namespace ElasticBeanstalk
81 } // namespace Aws
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::operator=
EnvironmentResourcesDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::GetLoadBalancer
const LoadBalancerDescription & GetLoadBalancer() const
Definition: EnvironmentResourcesDescription.h:46
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::SetLoadBalancer
void SetLoadBalancer(const LoadBalancerDescription &value)
Definition: EnvironmentResourcesDescription.h:56
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::SetLoadBalancer
void SetLoadBalancer(LoadBalancerDescription &&value)
Definition: EnvironmentResourcesDescription.h:61
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::EnvironmentResourcesDescription
EnvironmentResourcesDescription()
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::WithLoadBalancer
EnvironmentResourcesDescription & WithLoadBalancer(const LoadBalancerDescription &value)
Definition: EnvironmentResourcesDescription.h:66
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::EnvironmentResourcesDescription
EnvironmentResourcesDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::LoadBalancerDescription
Definition: LoadBalancerDescription.h:34
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::EnvironmentResourcesDescription::LoadBalancerHasBeenSet
bool LoadBalancerHasBeenSet() const
Definition: EnvironmentResourcesDescription.h:51
ElasticBeanstalk_EXPORTS.h
LoadBalancerDescription.h
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::WithLoadBalancer
EnvironmentResourcesDescription & WithLoadBalancer(LoadBalancerDescription &&value)
Definition: EnvironmentResourcesDescription.h:71
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::EnvironmentResourcesDescription
Definition: EnvironmentResourcesDescription.h:33