AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoadBalancerState.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace AutoScaling
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AUTOSCALING_API LoadBalancerState();
35 AWS_AUTOSCALING_API LoadBalancerState(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_AUTOSCALING_API LoadBalancerState& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
47 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
48 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
49 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
50 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
51 inline LoadBalancerState& WithLoadBalancerName(const Aws::String& value) { SetLoadBalancerName(value); return *this;}
52 inline LoadBalancerState& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
53 inline LoadBalancerState& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
55
57
70 inline const Aws::String& GetState() const{ return m_state; }
71 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
72 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
73 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
74 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
75 inline LoadBalancerState& WithState(const Aws::String& value) { SetState(value); return *this;}
76 inline LoadBalancerState& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
77 inline LoadBalancerState& WithState(const char* value) { SetState(value); return *this;}
79 private:
80
81 Aws::String m_loadBalancerName;
82 bool m_loadBalancerNameHasBeenSet = false;
83
84 Aws::String m_state;
85 bool m_stateHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace AutoScaling
90} // namespace Aws
AWS_AUTOSCALING_API LoadBalancerState(const Aws::Utils::Xml::XmlNode &xmlNode)
LoadBalancerState & WithState(const Aws::String &value)
LoadBalancerState & WithLoadBalancerName(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API LoadBalancerState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(const Aws::String &value)
void SetLoadBalancerName(const Aws::String &value)
LoadBalancerState & WithLoadBalancerName(const char *value)
const Aws::String & GetLoadBalancerName() const
LoadBalancerState & WithLoadBalancerName(Aws::String &&value)
LoadBalancerState & WithState(const char *value)
LoadBalancerState & WithState(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream