AWS SDK for C++  1.9.103
AWS SDK for C++
AnalysisLoadBalancerListener.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
43  inline int GetLoadBalancerPort() const{ return m_loadBalancerPort; }
44 
48  inline bool LoadBalancerPortHasBeenSet() const { return m_loadBalancerPortHasBeenSet; }
49 
53  inline void SetLoadBalancerPort(int value) { m_loadBalancerPortHasBeenSet = true; m_loadBalancerPort = value; }
54 
58  inline AnalysisLoadBalancerListener& WithLoadBalancerPort(int value) { SetLoadBalancerPort(value); return *this;}
59 
60 
64  inline int GetInstancePort() const{ return m_instancePort; }
65 
69  inline bool InstancePortHasBeenSet() const { return m_instancePortHasBeenSet; }
70 
74  inline void SetInstancePort(int value) { m_instancePortHasBeenSet = true; m_instancePort = value; }
75 
79  inline AnalysisLoadBalancerListener& WithInstancePort(int value) { SetInstancePort(value); return *this;}
80 
81  private:
82 
83  int m_loadBalancerPort;
84  bool m_loadBalancerPortHasBeenSet;
85 
86  int m_instancePort;
87  bool m_instancePortHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace EC2
92 } // namespace Aws
Aws::EC2::Model::AnalysisLoadBalancerListener::operator=
AnalysisLoadBalancerListener & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::AnalysisLoadBalancerListener::GetLoadBalancerPort
int GetLoadBalancerPort() const
Definition: AnalysisLoadBalancerListener.h:43
Aws::EC2::Model::AnalysisLoadBalancerListener::LoadBalancerPortHasBeenSet
bool LoadBalancerPortHasBeenSet() const
Definition: AnalysisLoadBalancerListener.h:48
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::AnalysisLoadBalancerListener::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::AnalysisLoadBalancerListener::SetLoadBalancerPort
void SetLoadBalancerPort(int value)
Definition: AnalysisLoadBalancerListener.h:53
AWSStreamFwd.h
Aws::EC2::Model::AnalysisLoadBalancerListener
Definition: AnalysisLoadBalancerListener.h:30
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::AnalysisLoadBalancerListener::InstancePortHasBeenSet
bool InstancePortHasBeenSet() const
Definition: AnalysisLoadBalancerListener.h:69
Aws::EC2::Model::AnalysisLoadBalancerListener::AnalysisLoadBalancerListener
AnalysisLoadBalancerListener(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::AnalysisLoadBalancerListener::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::AnalysisLoadBalancerListener::SetInstancePort
void SetInstancePort(int value)
Definition: AnalysisLoadBalancerListener.h:74
Aws::EC2::Model::AnalysisLoadBalancerListener::AnalysisLoadBalancerListener
AnalysisLoadBalancerListener()
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::AnalysisLoadBalancerListener::WithInstancePort
AnalysisLoadBalancerListener & WithInstancePort(int value)
Definition: AnalysisLoadBalancerListener.h:79
EC2_EXPORTS.h
Aws::EC2::Model::AnalysisLoadBalancerListener::GetInstancePort
int GetInstancePort() const
Definition: AnalysisLoadBalancerListener.h:64
Aws::EC2::Model::AnalysisLoadBalancerListener::WithLoadBalancerPort
AnalysisLoadBalancerListener & WithLoadBalancerPort(int value)
Definition: AnalysisLoadBalancerListener.h:58