AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeRulesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ElasticLoadBalancingv2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::String& GetListenerArn() const{ return m_listenerArn; }
44 
48  inline bool ListenerArnHasBeenSet() const { return m_listenerArnHasBeenSet; }
49 
53  inline void SetListenerArn(const Aws::String& value) { m_listenerArnHasBeenSet = true; m_listenerArn = value; }
54 
58  inline void SetListenerArn(Aws::String&& value) { m_listenerArnHasBeenSet = true; m_listenerArn = std::move(value); }
59 
63  inline void SetListenerArn(const char* value) { m_listenerArnHasBeenSet = true; m_listenerArn.assign(value); }
64 
68  inline DescribeRulesRequest& WithListenerArn(const Aws::String& value) { SetListenerArn(value); return *this;}
69 
73  inline DescribeRulesRequest& WithListenerArn(Aws::String&& value) { SetListenerArn(std::move(value)); return *this;}
74 
78  inline DescribeRulesRequest& WithListenerArn(const char* value) { SetListenerArn(value); return *this;}
79 
80 
84  inline const Aws::Vector<Aws::String>& GetRuleArns() const{ return m_ruleArns; }
85 
89  inline bool RuleArnsHasBeenSet() const { return m_ruleArnsHasBeenSet; }
90 
94  inline void SetRuleArns(const Aws::Vector<Aws::String>& value) { m_ruleArnsHasBeenSet = true; m_ruleArns = value; }
95 
99  inline void SetRuleArns(Aws::Vector<Aws::String>&& value) { m_ruleArnsHasBeenSet = true; m_ruleArns = std::move(value); }
100 
104  inline DescribeRulesRequest& WithRuleArns(const Aws::Vector<Aws::String>& value) { SetRuleArns(value); return *this;}
105 
109  inline DescribeRulesRequest& WithRuleArns(Aws::Vector<Aws::String>&& value) { SetRuleArns(std::move(value)); return *this;}
110 
114  inline DescribeRulesRequest& AddRuleArns(const Aws::String& value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(value); return *this; }
115 
119  inline DescribeRulesRequest& AddRuleArns(Aws::String&& value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(std::move(value)); return *this; }
120 
124  inline DescribeRulesRequest& AddRuleArns(const char* value) { m_ruleArnsHasBeenSet = true; m_ruleArns.push_back(value); return *this; }
125 
126 
131  inline const Aws::String& GetMarker() const{ return m_marker; }
132 
137  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
138 
143  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
144 
149  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
150 
155  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
156 
161  inline DescribeRulesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
162 
167  inline DescribeRulesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
168 
173  inline DescribeRulesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
174 
175 
179  inline int GetPageSize() const{ return m_pageSize; }
180 
184  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
185 
189  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
190 
194  inline DescribeRulesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
195 
196  private:
197 
198  Aws::String m_listenerArn;
199  bool m_listenerArnHasBeenSet;
200 
201  Aws::Vector<Aws::String> m_ruleArns;
202  bool m_ruleArnsHasBeenSet;
203 
204  Aws::String m_marker;
205  bool m_markerHasBeenSet;
206 
207  int m_pageSize;
208  bool m_pageSizeHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace ElasticLoadBalancingv2
213 } // namespace Aws
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::RuleArnsHasBeenSet
bool RuleArnsHasBeenSet() const
Definition: DescribeRulesRequest.h:89
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithRuleArns
DescribeRulesRequest & WithRuleArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeRulesRequest.h:109
Aws::ElasticLoadBalancingv2::ElasticLoadBalancingv2Request
Definition: ElasticLoadBalancingv2Request.h:17
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::AddRuleArns
DescribeRulesRequest & AddRuleArns(Aws::String &&value)
Definition: DescribeRulesRequest.h:119
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithRuleArns
DescribeRulesRequest & WithRuleArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeRulesRequest.h:104
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::GetPageSize
int GetPageSize() const
Definition: DescribeRulesRequest.h:179
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeRulesRequest.h:155
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithMarker
DescribeRulesRequest & WithMarker(const Aws::String &value)
Definition: DescribeRulesRequest.h:161
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetListenerArn
void SetListenerArn(const char *value)
Definition: DescribeRulesRequest.h:63
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::GetRuleArns
const Aws::Vector< Aws::String > & GetRuleArns() const
Definition: DescribeRulesRequest.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithPageSize
DescribeRulesRequest & WithPageSize(int value)
Definition: DescribeRulesRequest.h:194
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeRulesRequest.h:131
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithListenerArn
DescribeRulesRequest & WithListenerArn(Aws::String &&value)
Definition: DescribeRulesRequest.h:73
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithListenerArn
DescribeRulesRequest & WithListenerArn(const Aws::String &value)
Definition: DescribeRulesRequest.h:68
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::GetListenerArn
const Aws::String & GetListenerArn() const
Definition: DescribeRulesRequest.h:43
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: DescribeRulesRequest.h:184
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::ListenerArnHasBeenSet
bool ListenerArnHasBeenSet() const
Definition: DescribeRulesRequest.h:48
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithMarker
DescribeRulesRequest & WithMarker(Aws::String &&value)
Definition: DescribeRulesRequest.h:167
AWSString.h
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetPageSize
void SetPageSize(int value)
Definition: DescribeRulesRequest.h:189
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::AddRuleArns
DescribeRulesRequest & AddRuleArns(const Aws::String &value)
Definition: DescribeRulesRequest.h:114
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithMarker
DescribeRulesRequest & WithMarker(const char *value)
Definition: DescribeRulesRequest.h:173
ElasticLoadBalancingv2_EXPORTS.h
ElasticLoadBalancingv2Request.h
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetListenerArn
void SetListenerArn(const Aws::String &value)
Definition: DescribeRulesRequest.h:53
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest
Definition: DescribeRulesRequest.h:23
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRulesRequest.h:31
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetRuleArns
void SetRuleArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeRulesRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetRuleArns
void SetRuleArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeRulesRequest.h:94
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::DescribeRulesRequest
DescribeRulesRequest()
AWS_ELASTICLOADBALANCINGV2_API
#define AWS_ELASTICLOADBALANCINGV2_API
Definition: ElasticLoadBalancingv2_EXPORTS.h:28
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::AddRuleArns
DescribeRulesRequest & AddRuleArns(const char *value)
Definition: DescribeRulesRequest.h:124
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeRulesRequest.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetListenerArn
void SetListenerArn(Aws::String &&value)
Definition: DescribeRulesRequest.h:58
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::WithListenerArn
DescribeRulesRequest & WithListenerArn(const char *value)
Definition: DescribeRulesRequest.h:78
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeRulesRequest.h:149
Aws::ElasticLoadBalancingv2::Model::DescribeRulesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeRulesRequest.h:137