AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeLoadBalancersRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElasticLoadBalancing
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ELASTICLOADBALANCING_API DescribeLoadBalancersRequest();
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 "DescribeLoadBalancers"; }
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::Vector<Aws::String>& GetLoadBalancerNames() const{ return m_loadBalancerNames; }
49 inline bool LoadBalancerNamesHasBeenSet() const { return m_loadBalancerNamesHasBeenSet; }
50 inline void SetLoadBalancerNames(const Aws::Vector<Aws::String>& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = value; }
51 inline void SetLoadBalancerNames(Aws::Vector<Aws::String>&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = std::move(value); }
54 inline DescribeLoadBalancersRequest& AddLoadBalancerNames(const Aws::String& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
55 inline DescribeLoadBalancersRequest& AddLoadBalancerNames(Aws::String&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(std::move(value)); return *this; }
56 inline DescribeLoadBalancersRequest& AddLoadBalancerNames(const char* value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
58
60
64 inline const Aws::String& GetMarker() const{ return m_marker; }
65 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
66 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
67 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
68 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
69 inline DescribeLoadBalancersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
70 inline DescribeLoadBalancersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
71 inline DescribeLoadBalancersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
73
75
79 inline int GetPageSize() const{ return m_pageSize; }
80 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
81 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
82 inline DescribeLoadBalancersRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
84 private:
85
86 Aws::Vector<Aws::String> m_loadBalancerNames;
87 bool m_loadBalancerNamesHasBeenSet = false;
88
89 Aws::String m_marker;
90 bool m_markerHasBeenSet = false;
91
92 int m_pageSize;
93 bool m_pageSizeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ElasticLoadBalancing
98} // namespace Aws
DescribeLoadBalancersRequest & WithMarker(const Aws::String &value)
DescribeLoadBalancersRequest & WithMarker(Aws::String &&value)
DescribeLoadBalancersRequest & AddLoadBalancerNames(Aws::String &&value)
AWS_ELASTICLOADBALANCING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeLoadBalancersRequest & AddLoadBalancerNames(const Aws::String &value)
DescribeLoadBalancersRequest & AddLoadBalancerNames(const char *value)
DescribeLoadBalancersRequest & WithLoadBalancerNames(const Aws::Vector< Aws::String > &value)
DescribeLoadBalancersRequest & WithLoadBalancerNames(Aws::Vector< Aws::String > &&value)
AWS_ELASTICLOADBALANCING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector