AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLoadBalancerPoliciesRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticLoadBalancing
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICLOADBALANCING_API DescribeLoadBalancerPoliciesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeLoadBalancerPolicies"; }
36
37 AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
48 inline const Aws::String& GetLoadBalancerName() const{ return m_loadBalancerName; }
49 inline bool LoadBalancerNameHasBeenSet() const { return m_loadBalancerNameHasBeenSet; }
50 inline void SetLoadBalancerName(const Aws::String& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = value; }
51 inline void SetLoadBalancerName(Aws::String&& value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName = std::move(value); }
52 inline void SetLoadBalancerName(const char* value) { m_loadBalancerNameHasBeenSet = true; m_loadBalancerName.assign(value); }
55 inline DescribeLoadBalancerPoliciesRequest& WithLoadBalancerName(const char* value) { SetLoadBalancerName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
63 inline bool PolicyNamesHasBeenSet() const { return m_policyNamesHasBeenSet; }
64 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNamesHasBeenSet = true; m_policyNames = value; }
65 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNamesHasBeenSet = true; m_policyNames = std::move(value); }
68 inline DescribeLoadBalancerPoliciesRequest& AddPolicyNames(const Aws::String& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; }
69 inline DescribeLoadBalancerPoliciesRequest& AddPolicyNames(Aws::String&& value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(std::move(value)); return *this; }
70 inline DescribeLoadBalancerPoliciesRequest& AddPolicyNames(const char* value) { m_policyNamesHasBeenSet = true; m_policyNames.push_back(value); return *this; }
72 private:
73
74 Aws::String m_loadBalancerName;
75 bool m_loadBalancerNameHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_policyNames;
78 bool m_policyNamesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ElasticLoadBalancing
83} // namespace Aws
DescribeLoadBalancerPoliciesRequest & AddPolicyNames(Aws::String &&value)
DescribeLoadBalancerPoliciesRequest & WithLoadBalancerName(const Aws::String &value)
DescribeLoadBalancerPoliciesRequest & WithLoadBalancerName(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeLoadBalancerPoliciesRequest & WithPolicyNames(Aws::Vector< Aws::String > &&value)
AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override
DescribeLoadBalancerPoliciesRequest & WithPolicyNames(const Aws::Vector< Aws::String > &value)
DescribeLoadBalancerPoliciesRequest & WithLoadBalancerName(const char *value)
DescribeLoadBalancerPoliciesRequest & AddPolicyNames(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector