AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DeleteLoadBalancerPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticloadbalancing/ElasticLoadBalancingRequest.h>
9#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElasticLoadBalancing {
15namespace Model {
16
24 public:
25 AWS_ELASTICLOADBALANCING_API DeleteLoadBalancerPolicyRequest() = default;
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 "DeleteLoadBalancerPolicy"; }
32
33 AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetLoadBalancerName() const { return m_loadBalancerName; }
44 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
45 template <typename LoadBalancerNameT = Aws::String>
46 void SetLoadBalancerName(LoadBalancerNameT&& value) {
47 m_loadBalancerNameHasBeenSet = true;
48 m_loadBalancerName = std::forward<LoadBalancerNameT>(value);
49 }
50 template <typename LoadBalancerNameT = Aws::String>
52 SetLoadBalancerName(std::forward<LoadBalancerNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetPolicyName() const { return m_policyName; }
62 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
63 template <typename PolicyNameT = Aws::String>
64 void SetPolicyName(PolicyNameT&& value) {
65 m_policyNameHasBeenSet = true;
66 m_policyName = std::forward<PolicyNameT>(value);
67 }
68 template <typename PolicyNameT = Aws::String>
70 SetPolicyName(std::forward<PolicyNameT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_loadBalancerName;
76
77 Aws::String m_policyName;
78 bool m_loadBalancerNameHasBeenSet = false;
79 bool m_policyNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace ElasticLoadBalancing
84} // namespace Aws
DeleteLoadBalancerPolicyRequest & WithLoadBalancerName(LoadBalancerNameT &&value)
AWS_ELASTICLOADBALANCING_API DeleteLoadBalancerPolicyRequest()=default
AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override
DeleteLoadBalancerPolicyRequest & WithPolicyName(PolicyNameT &&value)
AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String