AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListTrafficPoliciesRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Route53
19{
20namespace Model
21{
22
31 {
32 public:
33 AWS_ROUTE53_API ListTrafficPoliciesRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "ListTrafficPolicies"; }
40
41 AWS_ROUTE53_API Aws::String SerializePayload() const override;
42
43 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
58 inline const Aws::String& GetTrafficPolicyIdMarker() const { return m_trafficPolicyIdMarker; }
59 inline bool TrafficPolicyIdMarkerHasBeenSet() const { return m_trafficPolicyIdMarkerHasBeenSet; }
60 template<typename TrafficPolicyIdMarkerT = Aws::String>
61 void SetTrafficPolicyIdMarker(TrafficPolicyIdMarkerT&& value) { m_trafficPolicyIdMarkerHasBeenSet = true; m_trafficPolicyIdMarker = std::forward<TrafficPolicyIdMarkerT>(value); }
62 template<typename TrafficPolicyIdMarkerT = Aws::String>
63 ListTrafficPoliciesRequest& WithTrafficPolicyIdMarker(TrafficPolicyIdMarkerT&& value) { SetTrafficPolicyIdMarker(std::forward<TrafficPolicyIdMarkerT>(value)); return *this;}
65
67
75 inline const Aws::String& GetMaxItems() const { return m_maxItems; }
76 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
77 template<typename MaxItemsT = Aws::String>
78 void SetMaxItems(MaxItemsT&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::forward<MaxItemsT>(value); }
79 template<typename MaxItemsT = Aws::String>
80 ListTrafficPoliciesRequest& WithMaxItems(MaxItemsT&& value) { SetMaxItems(std::forward<MaxItemsT>(value)); return *this;}
82 private:
83
84 Aws::String m_trafficPolicyIdMarker;
85 bool m_trafficPolicyIdMarkerHasBeenSet = false;
86
87 Aws::String m_maxItems;
88 bool m_maxItemsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Route53
93} // namespace Aws
AWS_ROUTE53_API ListTrafficPoliciesRequest()=default
ListTrafficPoliciesRequest & WithMaxItems(MaxItemsT &&value)
ListTrafficPoliciesRequest & WithTrafficPolicyIdMarker(TrafficPolicyIdMarkerT &&value)
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
void SetTrafficPolicyIdMarker(TrafficPolicyIdMarkerT &&value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String