AWS SDK for C++  1.9.123
AWS SDK for C++
ListDomainConfigurationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoT
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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 "ListDomainConfigurations"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetMarker() const{ return m_marker; }
46 
50  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
51 
55  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
56 
60  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
61 
65  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
66 
70  inline ListDomainConfigurationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
71 
75  inline ListDomainConfigurationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
76 
80  inline ListDomainConfigurationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
81 
82 
86  inline int GetPageSize() const{ return m_pageSize; }
87 
91  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
92 
96  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
97 
101  inline ListDomainConfigurationsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
102 
103 
107  inline const ServiceType& GetServiceType() const{ return m_serviceType; }
108 
112  inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
113 
117  inline void SetServiceType(const ServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
118 
122  inline void SetServiceType(ServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
123 
127  inline ListDomainConfigurationsRequest& WithServiceType(const ServiceType& value) { SetServiceType(value); return *this;}
128 
132  inline ListDomainConfigurationsRequest& WithServiceType(ServiceType&& value) { SetServiceType(std::move(value)); return *this;}
133 
134  private:
135 
136  Aws::String m_marker;
137  bool m_markerHasBeenSet;
138 
139  int m_pageSize;
140  bool m_pageSizeHasBeenSet;
141 
142  ServiceType m_serviceType;
143  bool m_serviceTypeHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace IoT
148 } // namespace Aws
Aws::IoT::Model::ListDomainConfigurationsRequest
Definition: ListDomainConfigurationsRequest.h:27
Aws::IoT::Model::ListDomainConfigurationsRequest::SetServiceType
void SetServiceType(ServiceType &&value)
Definition: ListDomainConfigurationsRequest.h:122
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListDomainConfigurationsRequest::WithMarker
ListDomainConfigurationsRequest & WithMarker(Aws::String &&value)
Definition: ListDomainConfigurationsRequest.h:75
Aws::IoT::Model::ListDomainConfigurationsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListDomainConfigurationsRequest.h:45
Aws::IoT::Model::ListDomainConfigurationsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListDomainConfigurationsRequest.h:55
Aws::IoT::Model::ListDomainConfigurationsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListDomainConfigurationsRequest.h:91
Aws::IoT::Model::ListDomainConfigurationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDomainConfigurationsRequest.h:35
Aws::IoT::Model::ListDomainConfigurationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListDomainConfigurationsRequest::GetServiceType
const ServiceType & GetServiceType() const
Definition: ListDomainConfigurationsRequest.h:107
Aws::IoT::Model::ListDomainConfigurationsRequest::WithMarker
ListDomainConfigurationsRequest & WithMarker(const char *value)
Definition: ListDomainConfigurationsRequest.h:80
Aws::IoT::Model::ListDomainConfigurationsRequest::WithMarker
ListDomainConfigurationsRequest & WithMarker(const Aws::String &value)
Definition: ListDomainConfigurationsRequest.h:70
Aws::IoT::Model::ListDomainConfigurationsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListDomainConfigurationsRequest.h:60
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListDomainConfigurationsRequest::WithPageSize
ListDomainConfigurationsRequest & WithPageSize(int value)
Definition: ListDomainConfigurationsRequest.h:101
ServiceType.h
Aws::IoT::Model::ListDomainConfigurationsRequest::GetPageSize
int GetPageSize() const
Definition: ListDomainConfigurationsRequest.h:86
Aws::IoT::Model::ListDomainConfigurationsRequest::SetServiceType
void SetServiceType(const ServiceType &value)
Definition: ListDomainConfigurationsRequest.h:117
Aws::IoT::Model::ListDomainConfigurationsRequest::WithServiceType
ListDomainConfigurationsRequest & WithServiceType(ServiceType &&value)
Definition: ListDomainConfigurationsRequest.h:132
Aws::IoT::Model::ListDomainConfigurationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ServiceType
ServiceType
Definition: ServiceType.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDomainConfigurationsRequest::WithServiceType
ListDomainConfigurationsRequest & WithServiceType(const ServiceType &value)
Definition: ListDomainConfigurationsRequest.h:127
Aws::IoT::Model::ListDomainConfigurationsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListDomainConfigurationsRequest.h:50
Aws::IoT::Model::ListDomainConfigurationsRequest::ServiceTypeHasBeenSet
bool ServiceTypeHasBeenSet() const
Definition: ListDomainConfigurationsRequest.h:112
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListDomainConfigurationsRequest::ListDomainConfigurationsRequest
ListDomainConfigurationsRequest()
IoTRequest.h
Aws::IoT::Model::ListDomainConfigurationsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListDomainConfigurationsRequest.h:96
IoT_EXPORTS.h
Aws::IoT::Model::ListDomainConfigurationsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListDomainConfigurationsRequest.h:65