AWS SDK for C++  1.9.155
AWS SDK for C++
ListBillingGroupsRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListBillingGroups"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 
53  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 
60  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 
67  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 
74  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 
81  inline ListBillingGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 
88  inline ListBillingGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 
95  inline ListBillingGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96 
97 
101  inline int GetMaxResults() const{ return m_maxResults; }
102 
106  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
107 
111  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 
116  inline ListBillingGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
117 
118 
122  inline const Aws::String& GetNamePrefixFilter() const{ return m_namePrefixFilter; }
123 
127  inline bool NamePrefixFilterHasBeenSet() const { return m_namePrefixFilterHasBeenSet; }
128 
132  inline void SetNamePrefixFilter(const Aws::String& value) { m_namePrefixFilterHasBeenSet = true; m_namePrefixFilter = value; }
133 
137  inline void SetNamePrefixFilter(Aws::String&& value) { m_namePrefixFilterHasBeenSet = true; m_namePrefixFilter = std::move(value); }
138 
142  inline void SetNamePrefixFilter(const char* value) { m_namePrefixFilterHasBeenSet = true; m_namePrefixFilter.assign(value); }
143 
147  inline ListBillingGroupsRequest& WithNamePrefixFilter(const Aws::String& value) { SetNamePrefixFilter(value); return *this;}
148 
152  inline ListBillingGroupsRequest& WithNamePrefixFilter(Aws::String&& value) { SetNamePrefixFilter(std::move(value)); return *this;}
153 
157  inline ListBillingGroupsRequest& WithNamePrefixFilter(const char* value) { SetNamePrefixFilter(value); return *this;}
158 
159  private:
160 
161  Aws::String m_nextToken;
162  bool m_nextTokenHasBeenSet;
163 
164  int m_maxResults;
165  bool m_maxResultsHasBeenSet;
166 
167  Aws::String m_namePrefixFilter;
168  bool m_namePrefixFilterHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace IoT
173 } // namespace Aws
Aws::IoT::Model::ListBillingGroupsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListBillingGroupsRequest.h:34
Aws::IoT::Model::ListBillingGroupsRequest
Definition: ListBillingGroupsRequest.h:26
Aws::IoT::Model::ListBillingGroupsRequest::ListBillingGroupsRequest
ListBillingGroupsRequest()
Aws::IoT::Model::ListBillingGroupsRequest::WithNamePrefixFilter
ListBillingGroupsRequest & WithNamePrefixFilter(const char *value)
Definition: ListBillingGroupsRequest.h:157
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListBillingGroupsRequest::WithMaxResults
ListBillingGroupsRequest & WithMaxResults(int value)
Definition: ListBillingGroupsRequest.h:116
Aws::IoT::Model::ListBillingGroupsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListBillingGroupsRequest::WithNextToken
ListBillingGroupsRequest & WithNextToken(Aws::String &&value)
Definition: ListBillingGroupsRequest.h:88
Aws::IoT::Model::ListBillingGroupsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListBillingGroupsRequest.h:101
Aws::IoT::Model::ListBillingGroupsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListBillingGroupsRequest.h:106
Aws::IoT::Model::ListBillingGroupsRequest::NamePrefixFilterHasBeenSet
bool NamePrefixFilterHasBeenSet() const
Definition: ListBillingGroupsRequest.h:127
Aws::IoT::Model::ListBillingGroupsRequest::SetNamePrefixFilter
void SetNamePrefixFilter(Aws::String &&value)
Definition: ListBillingGroupsRequest.h:137
Aws::IoT::Model::ListBillingGroupsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListBillingGroupsRequest.h:53
Aws::IoT::Model::ListBillingGroupsRequest::SetNamePrefixFilter
void SetNamePrefixFilter(const Aws::String &value)
Definition: ListBillingGroupsRequest.h:132
Aws::IoT::Model::ListBillingGroupsRequest::WithNamePrefixFilter
ListBillingGroupsRequest & WithNamePrefixFilter(const Aws::String &value)
Definition: ListBillingGroupsRequest.h:147
Aws::IoT::Model::ListBillingGroupsRequest::SetNamePrefixFilter
void SetNamePrefixFilter(const char *value)
Definition: ListBillingGroupsRequest.h:142
Aws::IoT::Model::ListBillingGroupsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBillingGroupsRequest.h:60
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListBillingGroupsRequest::WithNextToken
ListBillingGroupsRequest & WithNextToken(const char *value)
Definition: ListBillingGroupsRequest.h:95
Aws::IoT::Model::ListBillingGroupsRequest::WithNamePrefixFilter
ListBillingGroupsRequest & WithNamePrefixFilter(Aws::String &&value)
Definition: ListBillingGroupsRequest.h:152
Aws::IoT::Model::ListBillingGroupsRequest::GetNamePrefixFilter
const Aws::String & GetNamePrefixFilter() const
Definition: ListBillingGroupsRequest.h:122
Aws::IoT::Model::ListBillingGroupsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBillingGroupsRequest.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListBillingGroupsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListBillingGroupsRequest.h:111
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::ListBillingGroupsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListBillingGroupsRequest.h:74
Aws::IoT::Model::ListBillingGroupsRequest::SerializePayload
Aws::String SerializePayload() const override
IoTRequest.h
Aws::IoT::Model::ListBillingGroupsRequest::WithNextToken
ListBillingGroupsRequest & WithNextToken(const Aws::String &value)
Definition: ListBillingGroupsRequest.h:81
Aws::IoT::Model::ListBillingGroupsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBillingGroupsRequest.h:67
IoT_EXPORTS.h