AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLoadBalancerAttributeRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/LoadBalancerAttributeName.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Lightsail
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLoadBalancerAttribute"; }
32
33 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
44 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
45 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
46 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
47 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
50 inline UpdateLoadBalancerAttributeRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
52
54
57 inline const LoadBalancerAttributeName& GetAttributeName() const{ return m_attributeName; }
58 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
59 inline void SetAttributeName(const LoadBalancerAttributeName& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
60 inline void SetAttributeName(LoadBalancerAttributeName&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
64
66
92 inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
93 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
94 inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
95 inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
96 inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
98 inline UpdateLoadBalancerAttributeRequest& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
99 inline UpdateLoadBalancerAttributeRequest& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
101 private:
102
103 Aws::String m_loadBalancerName;
104 bool m_loadBalancerNameHasBeenSet = false;
105
106 LoadBalancerAttributeName m_attributeName;
107 bool m_attributeNameHasBeenSet = false;
108
109 Aws::String m_attributeValue;
110 bool m_attributeValueHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Lightsail
115} // namespace Aws
UpdateLoadBalancerAttributeRequest & WithAttributeValue(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
UpdateLoadBalancerAttributeRequest & WithLoadBalancerName(const Aws::String &value)
UpdateLoadBalancerAttributeRequest & WithLoadBalancerName(const char *value)
UpdateLoadBalancerAttributeRequest & WithAttributeValue(const Aws::String &value)
UpdateLoadBalancerAttributeRequest & WithAttributeName(const LoadBalancerAttributeName &value)
UpdateLoadBalancerAttributeRequest & WithLoadBalancerName(Aws::String &&value)
UpdateLoadBalancerAttributeRequest & WithAttributeName(LoadBalancerAttributeName &&value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLoadBalancerAttributeRequest & WithAttributeValue(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String