AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLoadBalancerPolicyRequest.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/elasticloadbalancing/ElasticLoadBalancingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElasticLoadBalancing
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ELASTICLOADBALANCING_API DeleteLoadBalancerPolicyRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteLoadBalancerPolicy"; }
35
36 AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
47 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
48 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
49 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
50 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
51 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
53 inline DeleteLoadBalancerPolicyRequest& WithLoadBalancerName(Aws::String&& value) { SetLoadBalancerName(std::move(value)); return *this;}
54 inline DeleteLoadBalancerPolicyRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
56
58
61 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
62 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
63 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
64 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
65 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
66 inline DeleteLoadBalancerPolicyRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
67 inline DeleteLoadBalancerPolicyRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
68 inline DeleteLoadBalancerPolicyRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
70 private:
71
72 Aws::String m_loadBalancerName;
73 bool m_loadBalancerNameHasBeenSet = false;
74
75 Aws::String m_policyName;
76 bool m_policyNameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ElasticLoadBalancing
81} // namespace Aws
AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override
DeleteLoadBalancerPolicyRequest & WithLoadBalancerName(Aws::String &&value)
DeleteLoadBalancerPolicyRequest & WithPolicyName(const Aws::String &value)
DeleteLoadBalancerPolicyRequest & WithLoadBalancerName(const Aws::String &value)
DeleteLoadBalancerPolicyRequest & WithPolicyName(const char *value)
DeleteLoadBalancerPolicyRequest & WithLoadBalancerName(const char *value)
AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteLoadBalancerPolicyRequest & WithPolicyName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String