AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRulesRequest.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.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 ElasticLoadBalancingv2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ELASTICLOADBALANCINGV2_API DescribeRulesRequest();
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 "DescribeRules"; }
32
33 AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetListenerArn() const{ return m_listenerArn; }
45 inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; }
46 inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; }
47 inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); }
48 inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); }
49 inline DescribeRulesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;}
50 inline DescribeRulesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;}
51 inline DescribeRulesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetRuleArns() const{ return m_ruleArns; }
59 inline bool RuleArnsHasBeenSet() const { return m_ruleArnsHasBeenSet; }
60 inline void SetRuleArns(const Aws::Vector<Aws::String>& value) { m_ruleArnsHasBeenSet = true; m_ruleArns = value; }
61 inline void SetRuleArns(Aws::Vector<Aws::String>&& value) { m_ruleArnsHasBeenSet = true; m_ruleArns = std::move(value); }
62 inline DescribeRulesRequest& WithRuleArns(const Aws::Vector<Aws::String>& value) { SetRuleArns(value); return *this;}
63 inline DescribeRulesRequest& WithRuleArns(Aws::Vector<Aws::String>&& value) { SetRuleArns(std::move(value)); return *this;}
64 inline DescribeRulesRequest& AddRuleArns(const Aws::String& value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(value); return *this; }
65 inline DescribeRulesRequest& AddRuleArns(Aws::String&& value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(std::move(value)); return *this; }
66 inline DescribeRulesRequest& AddRuleArns(const char* value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(value); return *this; }
68
70
74 inline const Aws::String& GetMarker() const{ return m_marker; }
75 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
76 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
77 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
78 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
79 inline DescribeRulesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
80 inline DescribeRulesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
81 inline DescribeRulesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
83
85
88 inline int GetPageSize() const{ return m_pageSize; }
89 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
90 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
91 inline DescribeRulesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
93 private:
94
95 Aws::String m_listenerArn;
96 bool m_listenerArnHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_ruleArns;
99 bool m_ruleArnsHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103
104 int m_pageSize;
105 bool m_pageSizeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ElasticLoadBalancingv2
110} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
DescribeRulesRequest & WithListenerArn(const char *value)
DescribeRulesRequest & WithRuleArns(const Aws::Vector< Aws::String > &value)
void SetRuleArns(const Aws::Vector< Aws::String > &value)
DescribeRulesRequest & WithMarker(const Aws::String &value)
DescribeRulesRequest & AddRuleArns(const Aws::String &value)
DescribeRulesRequest & AddRuleArns(const char *value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeRulesRequest & WithListenerArn(const Aws::String &value)
DescribeRulesRequest & WithRuleArns(Aws::Vector< Aws::String > &&value)
AWS_ELASTICLOADBALANCINGV2_API DescribeRulesRequest()
const Aws::Vector< Aws::String > & GetRuleArns() const
DescribeRulesRequest & AddRuleArns(Aws::String &&value)
DescribeRulesRequest & WithMarker(const char *value)
void SetRuleArns(Aws::Vector< Aws::String > &&value)
DescribeRulesRequest & WithMarker(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DescribeRulesRequest & WithListenerArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector