AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LoadBalancerTargetGroupState.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 LoadBalancerTargetGroupState();
35 AWS_AUTOSCALING_API LoadBalancerTargetGroupState(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& GetLoadBalancerTargetGroupARN() const{ return m_loadBalancerTargetGroupARN; }
47 inline bool LoadBalancerTargetGroupARNHasBeenSet() const { return m_loadBalancerTargetGroupARNHasBeenSet; }
48 inline void SetLoadBalancerTargetGroupARN(const Aws::String& value) { m_loadBalancerTargetGroupARNHasBeenSet = true; m_loadBalancerTargetGroupARN = value; }
49 inline void SetLoadBalancerTargetGroupARN(Aws::String&& value) { m_loadBalancerTargetGroupARNHasBeenSet = true; m_loadBalancerTargetGroupARN = std::move(value); }
50 inline void SetLoadBalancerTargetGroupARN(const char* value) { m_loadBalancerTargetGroupARNHasBeenSet = true; m_loadBalancerTargetGroupARN.assign(value); }
55
57
69 inline const Aws::String& GetState() const{ return m_state; }
70 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
71 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
72 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
73 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
74 inline LoadBalancerTargetGroupState& WithState(const Aws::String& value) { SetState(value); return *this;}
75 inline LoadBalancerTargetGroupState& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
76 inline LoadBalancerTargetGroupState& WithState(const char* value) { SetState(value); return *this;}
78 private:
79
80 Aws::String m_loadBalancerTargetGroupARN;
81 bool m_loadBalancerTargetGroupARNHasBeenSet = false;
82
83 Aws::String m_state;
84 bool m_stateHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AutoScaling
89} // namespace Aws
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LoadBalancerTargetGroupState & WithLoadBalancerTargetGroupARN(const char *value)
AWS_AUTOSCALING_API LoadBalancerTargetGroupState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API LoadBalancerTargetGroupState(const Aws::Utils::Xml::XmlNode &xmlNode)
LoadBalancerTargetGroupState & WithState(const char *value)
LoadBalancerTargetGroupState & WithLoadBalancerTargetGroupARN(Aws::String &&value)
LoadBalancerTargetGroupState & WithLoadBalancerTargetGroupARN(const Aws::String &value)
LoadBalancerTargetGroupState & WithState(const Aws::String &value)
LoadBalancerTargetGroupState & 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