AWS SDK for C++  1.9.109
AWS SDK for C++
ListPageReceiptsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SSMContacts
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListPageReceipts"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetPageId() const{ return m_pageId; }
42 
47  inline bool PageIdHasBeenSet() const { return m_pageIdHasBeenSet; }
48 
53  inline void SetPageId(const Aws::String& value) { m_pageIdHasBeenSet = true; m_pageId = value; }
54 
59  inline void SetPageId(Aws::String&& value) { m_pageIdHasBeenSet = true; m_pageId = std::move(value); }
60 
65  inline void SetPageId(const char* value) { m_pageIdHasBeenSet = true; m_pageId.assign(value); }
66 
71  inline ListPageReceiptsRequest& WithPageId(const Aws::String& value) { SetPageId(value); return *this;}
72 
77  inline ListPageReceiptsRequest& WithPageId(Aws::String&& value) { SetPageId(std::move(value)); return *this;}
78 
83  inline ListPageReceiptsRequest& WithPageId(const char* value) { SetPageId(value); return *this;}
84 
85 
89  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
90 
94  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 
99  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 
104  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
105 
109  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
110 
114  inline ListPageReceiptsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
115 
119  inline ListPageReceiptsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
124  inline ListPageReceiptsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
125 
126 
130  inline int GetMaxResults() const{ return m_maxResults; }
131 
135  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
136 
140  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
141 
145  inline ListPageReceiptsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
146 
147  private:
148 
149  Aws::String m_pageId;
150  bool m_pageIdHasBeenSet;
151 
152  Aws::String m_nextToken;
153  bool m_nextTokenHasBeenSet;
154 
155  int m_maxResults;
156  bool m_maxResultsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SSMContacts
161 } // namespace Aws
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPageReceiptsRequest.h:104
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetPageId
void SetPageId(const char *value)
Definition: ListPageReceiptsRequest.h:65
Aws::SSMContacts::Model::ListPageReceiptsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListPageReceiptsRequest.h:135
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithNextToken
ListPageReceiptsRequest & WithNextToken(const char *value)
Definition: ListPageReceiptsRequest.h:124
Aws::SSMContacts::Model::ListPageReceiptsRequest::PageIdHasBeenSet
bool PageIdHasBeenSet() const
Definition: ListPageReceiptsRequest.h:47
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithPageId
ListPageReceiptsRequest & WithPageId(const char *value)
Definition: ListPageReceiptsRequest.h:83
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPageReceiptsRequest.h:109
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetPageId
void SetPageId(Aws::String &&value)
Definition: ListPageReceiptsRequest.h:59
Aws::SSMContacts::Model::ListPageReceiptsRequest::ListPageReceiptsRequest
ListPageReceiptsRequest()
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPageReceiptsRequest.h:99
Aws::SSMContacts::Model::ListPageReceiptsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPageReceiptsRequest.h:94
Aws::SSMContacts::Model::ListPageReceiptsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPageReceiptsRequest.h:30
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithNextToken
ListPageReceiptsRequest & WithNextToken(const Aws::String &value)
Definition: ListPageReceiptsRequest.h:114
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithMaxResults
ListPageReceiptsRequest & WithMaxResults(int value)
Definition: ListPageReceiptsRequest.h:145
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetPageId
void SetPageId(const Aws::String &value)
Definition: ListPageReceiptsRequest.h:53
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithNextToken
ListPageReceiptsRequest & WithNextToken(Aws::String &&value)
Definition: ListPageReceiptsRequest.h:119
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithPageId
ListPageReceiptsRequest & WithPageId(Aws::String &&value)
Definition: ListPageReceiptsRequest.h:77
SSMContacts_EXPORTS.h
Aws::SSMContacts::Model::ListPageReceiptsRequest::GetPageId
const Aws::String & GetPageId() const
Definition: ListPageReceiptsRequest.h:41
AWSString.h
Aws::SSMContacts::Model::ListPageReceiptsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SSMContacts::Model::ListPageReceiptsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListPageReceiptsRequest.h:140
Aws::SSMContacts::Model::ListPageReceiptsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListPageReceiptsRequest.h:130
SSMContactsRequest.h
Aws::SSMContacts::Model::ListPageReceiptsRequest
Definition: ListPageReceiptsRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::SSMContacts::Model::ListPageReceiptsRequest::WithPageId
ListPageReceiptsRequest & WithPageId(const Aws::String &value)
Definition: ListPageReceiptsRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SSMCONTACTS_API
#define AWS_SSMCONTACTS_API
Definition: SSMContacts_EXPORTS.h:28
Aws::SSMContacts::SSMContactsRequest
Definition: SSMContactsRequest.h:17
Aws::SSMContacts::Model::ListPageReceiptsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SSMContacts::Model::ListPageReceiptsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPageReceiptsRequest.h:89