AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoadBalancersConfig.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/ClassicLoadBalancersConfig.h>
10#include <aws/ec2/model/TargetGroupsConfig.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
34 {
35 public:
36 AWS_EC2_API LoadBalancersConfig();
37 AWS_EC2_API LoadBalancersConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const ClassicLoadBalancersConfig& GetClassicLoadBalancersConfig() const{ return m_classicLoadBalancersConfig; }
49 inline bool ClassicLoadBalancersConfigHasBeenSet() const { return m_classicLoadBalancersConfigHasBeenSet; }
50 inline void SetClassicLoadBalancersConfig(const ClassicLoadBalancersConfig& value) { m_classicLoadBalancersConfigHasBeenSet = true; m_classicLoadBalancersConfig = value; }
51 inline void SetClassicLoadBalancersConfig(ClassicLoadBalancersConfig&& value) { m_classicLoadBalancersConfigHasBeenSet = true; m_classicLoadBalancersConfig = std::move(value); }
55
57
60 inline const TargetGroupsConfig& GetTargetGroupsConfig() const{ return m_targetGroupsConfig; }
61 inline bool TargetGroupsConfigHasBeenSet() const { return m_targetGroupsConfigHasBeenSet; }
62 inline void SetTargetGroupsConfig(const TargetGroupsConfig& value) { m_targetGroupsConfigHasBeenSet = true; m_targetGroupsConfig = value; }
63 inline void SetTargetGroupsConfig(TargetGroupsConfig&& value) { m_targetGroupsConfigHasBeenSet = true; m_targetGroupsConfig = std::move(value); }
65 inline LoadBalancersConfig& WithTargetGroupsConfig(TargetGroupsConfig&& value) { SetTargetGroupsConfig(std::move(value)); return *this;}
67 private:
68
69 ClassicLoadBalancersConfig m_classicLoadBalancersConfig;
70 bool m_classicLoadBalancersConfigHasBeenSet = false;
71
72 TargetGroupsConfig m_targetGroupsConfig;
73 bool m_targetGroupsConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace EC2
78} // namespace Aws
const ClassicLoadBalancersConfig & GetClassicLoadBalancersConfig() const
AWS_EC2_API LoadBalancersConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
LoadBalancersConfig & WithClassicLoadBalancersConfig(ClassicLoadBalancersConfig &&value)
LoadBalancersConfig & WithClassicLoadBalancersConfig(const ClassicLoadBalancersConfig &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetClassicLoadBalancersConfig(const ClassicLoadBalancersConfig &value)
void SetClassicLoadBalancersConfig(ClassicLoadBalancersConfig &&value)
void SetTargetGroupsConfig(TargetGroupsConfig &&value)
AWS_EC2_API LoadBalancersConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LoadBalancersConfig & WithTargetGroupsConfig(const TargetGroupsConfig &value)
const TargetGroupsConfig & GetTargetGroupsConfig() const
LoadBalancersConfig & WithTargetGroupsConfig(TargetGroupsConfig &&value)
void SetTargetGroupsConfig(const TargetGroupsConfig &value)
std::basic_ostream< char, std::char_traits< char > > OStream