AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListHostedZonesRequest.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 <aws/route53/model/HostedZoneType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Route53
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_ROUTE53_API ListHostedZonesRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "ListHostedZones"; }
41
42 AWS_ROUTE53_API Aws::String SerializePayload() const override;
43
44 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
58 inline const Aws::String& GetMarker() const{ return m_marker; }
59 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
60 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
61 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
62 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
63 inline ListHostedZonesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
64 inline ListHostedZonesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
65 inline ListHostedZonesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
67
69
76 inline const Aws::String& GetMaxItems() const{ return m_maxItems; }
77 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
78 inline void SetMaxItems(const Aws::String& value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
79 inline void SetMaxItems(Aws::String&& value) { m_maxItemsHasBeenSet = true; m_maxItems = std::move(value); }
80 inline void SetMaxItems(const char* value) { m_maxItemsHasBeenSet = true; m_maxItems.assign(value); }
81 inline ListHostedZonesRequest& WithMaxItems(const Aws::String& value) { SetMaxItems(value); return *this;}
82 inline ListHostedZonesRequest& WithMaxItems(Aws::String&& value) { SetMaxItems(std::move(value)); return *this;}
83 inline ListHostedZonesRequest& WithMaxItems(const char* value) { SetMaxItems(value); return *this;}
85
87
92 inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; }
93 inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; }
94 inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; }
95 inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::move(value); }
96 inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); }
97 inline ListHostedZonesRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;}
98 inline ListHostedZonesRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(std::move(value)); return *this;}
99 inline ListHostedZonesRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;}
101
103
106 inline const HostedZoneType& GetHostedZoneType() const{ return m_hostedZoneType; }
107 inline bool HostedZoneTypeHasBeenSet() const { return m_hostedZoneTypeHasBeenSet; }
108 inline void SetHostedZoneType(const HostedZoneType& value) { m_hostedZoneTypeHasBeenSet = true; m_hostedZoneType = value; }
109 inline void SetHostedZoneType(HostedZoneType&& value) { m_hostedZoneTypeHasBeenSet = true; m_hostedZoneType = std::move(value); }
110 inline ListHostedZonesRequest& WithHostedZoneType(const HostedZoneType& value) { SetHostedZoneType(value); return *this;}
111 inline ListHostedZonesRequest& WithHostedZoneType(HostedZoneType&& value) { SetHostedZoneType(std::move(value)); return *this;}
113 private:
114
115 Aws::String m_marker;
116 bool m_markerHasBeenSet = false;
117
118 Aws::String m_maxItems;
119 bool m_maxItemsHasBeenSet = false;
120
121 Aws::String m_delegationSetId;
122 bool m_delegationSetIdHasBeenSet = false;
123
124 HostedZoneType m_hostedZoneType;
125 bool m_hostedZoneTypeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Route53
130} // namespace Aws
ListHostedZonesRequest & WithMaxItems(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListHostedZonesRequest & WithHostedZoneType(const HostedZoneType &value)
ListHostedZonesRequest & WithMaxItems(Aws::String &&value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
ListHostedZonesRequest & WithHostedZoneType(HostedZoneType &&value)
void SetDelegationSetId(const Aws::String &value)
ListHostedZonesRequest & WithMarker(Aws::String &&value)
void SetHostedZoneType(const HostedZoneType &value)
ListHostedZonesRequest & WithDelegationSetId(const Aws::String &value)
ListHostedZonesRequest & WithDelegationSetId(const char *value)
ListHostedZonesRequest & WithMarker(const Aws::String &value)
ListHostedZonesRequest & WithMaxItems(const Aws::String &value)
ListHostedZonesRequest & WithDelegationSetId(Aws::String &&value)
ListHostedZonesRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String