AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ClassicLoadBalancersConfig.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ClassicLoadBalancer.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::Vector<ClassicLoadBalancer>& GetClassicLoadBalancers() const{ return m_classicLoadBalancers; }
50 inline bool ClassicLoadBalancersHasBeenSet() const { return m_classicLoadBalancersHasBeenSet; }
51 inline void SetClassicLoadBalancers(const Aws::Vector<ClassicLoadBalancer>& value) { m_classicLoadBalancersHasBeenSet = true; m_classicLoadBalancers = value; }
52 inline void SetClassicLoadBalancers(Aws::Vector<ClassicLoadBalancer>&& value) { m_classicLoadBalancersHasBeenSet = true; m_classicLoadBalancers = std::move(value); }
55 inline ClassicLoadBalancersConfig& AddClassicLoadBalancers(const ClassicLoadBalancer& value) { m_classicLoadBalancersHasBeenSet = true; m_classicLoadBalancers.push_back(value); return *this; }
56 inline ClassicLoadBalancersConfig& AddClassicLoadBalancers(ClassicLoadBalancer&& value) { m_classicLoadBalancersHasBeenSet = true; m_classicLoadBalancers.push_back(std::move(value)); return *this; }
58 private:
59
60 Aws::Vector<ClassicLoadBalancer> m_classicLoadBalancers;
61 bool m_classicLoadBalancersHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
ClassicLoadBalancersConfig & WithClassicLoadBalancers(Aws::Vector< ClassicLoadBalancer > &&value)
void SetClassicLoadBalancers(const Aws::Vector< ClassicLoadBalancer > &value)
ClassicLoadBalancersConfig & AddClassicLoadBalancers(const ClassicLoadBalancer &value)
const Aws::Vector< ClassicLoadBalancer > & GetClassicLoadBalancers() const
void SetClassicLoadBalancers(Aws::Vector< ClassicLoadBalancer > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ClassicLoadBalancersConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClassicLoadBalancersConfig & WithClassicLoadBalancers(const Aws::Vector< ClassicLoadBalancer > &value)
AWS_EC2_API ClassicLoadBalancersConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
ClassicLoadBalancersConfig & AddClassicLoadBalancers(ClassicLoadBalancer &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream