AWS SDK for C++  1.9.123
AWS SDK for C++
ListThingsInBillingGroupRequest.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 "ListThingsInBillingGroup"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
45 
49  inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
50 
54  inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
55 
59  inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
60 
64  inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
65 
69  inline ListThingsInBillingGroupRequest& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
70 
74  inline ListThingsInBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
75 
79  inline ListThingsInBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
80 
81 
87  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 
94  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 
101  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
102 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
115  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
116 
122  inline ListThingsInBillingGroupRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
123 
129  inline ListThingsInBillingGroupRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 
136  inline ListThingsInBillingGroupRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 
138 
142  inline int GetMaxResults() const{ return m_maxResults; }
143 
147  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
148 
152  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 
157  inline ListThingsInBillingGroupRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
158 
159  private:
160 
161  Aws::String m_billingGroupName;
162  bool m_billingGroupNameHasBeenSet;
163 
164  Aws::String m_nextToken;
165  bool m_nextTokenHasBeenSet;
166 
167  int m_maxResults;
168  bool m_maxResultsHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace IoT
173 } // namespace Aws
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithBillingGroupName
ListThingsInBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
Definition: ListThingsInBillingGroupRequest.h:74
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithBillingGroupName
ListThingsInBillingGroupRequest & WithBillingGroupName(const char *value)
Definition: ListThingsInBillingGroupRequest.h:79
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithNextToken
ListThingsInBillingGroupRequest & WithNextToken(const char *value)
Definition: ListThingsInBillingGroupRequest.h:136
Aws::IoT::Model::ListThingsInBillingGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListThingsInBillingGroupRequest::BillingGroupNameHasBeenSet
bool BillingGroupNameHasBeenSet() const
Definition: ListThingsInBillingGroupRequest.h:49
Aws::IoT::Model::ListThingsInBillingGroupRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingsInBillingGroupRequest.h:87
Aws::IoT::Model::ListThingsInBillingGroupRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListThingsInBillingGroupRequest.h:147
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingsInBillingGroupRequest.h:108
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithNextToken
ListThingsInBillingGroupRequest & WithNextToken(const Aws::String &value)
Definition: ListThingsInBillingGroupRequest.h:122
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const Aws::String &value)
Definition: ListThingsInBillingGroupRequest.h:54
Aws::IoT::Model::ListThingsInBillingGroupRequest::GetBillingGroupName
const Aws::String & GetBillingGroupName() const
Definition: ListThingsInBillingGroupRequest.h:44
Aws::IoT::Model::ListThingsInBillingGroupRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListThingsInBillingGroupRequest
Definition: ListThingsInBillingGroupRequest.h:26
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(const char *value)
Definition: ListThingsInBillingGroupRequest.h:64
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListThingsInBillingGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListThingsInBillingGroupRequest.h:34
Aws::IoT::Model::ListThingsInBillingGroupRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListThingsInBillingGroupRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingsInBillingGroupRequest.h:115
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithMaxResults
ListThingsInBillingGroupRequest & WithMaxResults(int value)
Definition: ListThingsInBillingGroupRequest.h:157
Aws::IoT::Model::ListThingsInBillingGroupRequest::GetMaxResults
int GetMaxResults() const
Definition: ListThingsInBillingGroupRequest.h:142
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
IoTRequest.h
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingsInBillingGroupRequest.h:101
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetBillingGroupName
void SetBillingGroupName(Aws::String &&value)
Definition: ListThingsInBillingGroupRequest.h:59
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithBillingGroupName
ListThingsInBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
Definition: ListThingsInBillingGroupRequest.h:69
IoT_EXPORTS.h
Aws::IoT::Model::ListThingsInBillingGroupRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListThingsInBillingGroupRequest.h:152
Aws::IoT::Model::ListThingsInBillingGroupRequest::ListThingsInBillingGroupRequest
ListThingsInBillingGroupRequest()
Aws::IoT::Model::ListThingsInBillingGroupRequest::WithNextToken
ListThingsInBillingGroupRequest & WithNextToken(Aws::String &&value)
Definition: ListThingsInBillingGroupRequest.h:129