AWS SDK for C++  1.9.156
AWS SDK for C++
ListDomainDeliverabilityCampaignsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace SESV2
20 {
21 namespace Model
22 {
23 
33  {
34  public:
36 
37  // Service request name is the Operation name which will send this request out,
38  // each operation should has unique request name, so that we can get operation's name from this request.
39  // Note: this is not true for response, multiple operations may have the same response name,
40  // so we can not get operation's name from response.
41  inline virtual const char* GetServiceRequestName() const override { return "ListDomainDeliverabilityCampaigns"; }
42 
43  Aws::String SerializePayload() const override;
44 
45  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46 
47 
52  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
53 
58  inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
59 
64  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
65 
70  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
71 
76  inline ListDomainDeliverabilityCampaignsRequest& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
77 
82  inline ListDomainDeliverabilityCampaignsRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
83 
84 
90  inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
91 
97  inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
98 
104  inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
105 
111  inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
112 
118  inline ListDomainDeliverabilityCampaignsRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
119 
125  inline ListDomainDeliverabilityCampaignsRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
126 
127 
131  inline const Aws::String& GetSubscribedDomain() const{ return m_subscribedDomain; }
132 
136  inline bool SubscribedDomainHasBeenSet() const { return m_subscribedDomainHasBeenSet; }
137 
141  inline void SetSubscribedDomain(const Aws::String& value) { m_subscribedDomainHasBeenSet = true; m_subscribedDomain = value; }
142 
146  inline void SetSubscribedDomain(Aws::String&& value) { m_subscribedDomainHasBeenSet = true; m_subscribedDomain = std::move(value); }
147 
151  inline void SetSubscribedDomain(const char* value) { m_subscribedDomainHasBeenSet = true; m_subscribedDomain.assign(value); }
152 
156  inline ListDomainDeliverabilityCampaignsRequest& WithSubscribedDomain(const Aws::String& value) { SetSubscribedDomain(value); return *this;}
157 
161  inline ListDomainDeliverabilityCampaignsRequest& WithSubscribedDomain(Aws::String&& value) { SetSubscribedDomain(std::move(value)); return *this;}
162 
166  inline ListDomainDeliverabilityCampaignsRequest& WithSubscribedDomain(const char* value) { SetSubscribedDomain(value); return *this;}
167 
168 
174  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
175 
181  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
182 
188  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
189 
195  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
196 
202  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
203 
209  inline ListDomainDeliverabilityCampaignsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
210 
216  inline ListDomainDeliverabilityCampaignsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
217 
223  inline ListDomainDeliverabilityCampaignsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
224 
225 
233  inline int GetPageSize() const{ return m_pageSize; }
234 
242  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
243 
251  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
252 
260  inline ListDomainDeliverabilityCampaignsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
261 
262  private:
263 
264  Aws::Utils::DateTime m_startDate;
265  bool m_startDateHasBeenSet;
266 
267  Aws::Utils::DateTime m_endDate;
268  bool m_endDateHasBeenSet;
269 
270  Aws::String m_subscribedDomain;
271  bool m_subscribedDomainHasBeenSet;
272 
273  Aws::String m_nextToken;
274  bool m_nextTokenHasBeenSet;
275 
276  int m_pageSize;
277  bool m_pageSizeHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace SESV2
282 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithNextToken
ListDomainDeliverabilityCampaignsRequest & WithNextToken(const char *value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:223
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithEndDate
ListDomainDeliverabilityCampaignsRequest & WithEndDate(const Aws::Utils::DateTime &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:118
Aws::Http::URI
Definition: URI.h:32
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetEndDate
void SetEndDate(Aws::Utils::DateTime &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:111
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::ListDomainDeliverabilityCampaignsRequest
ListDomainDeliverabilityCampaignsRequest()
DateTime.h
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:202
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:181
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithStartDate
ListDomainDeliverabilityCampaignsRequest & WithStartDate(Aws::Utils::DateTime &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:82
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::StartDateHasBeenSet
bool StartDateHasBeenSet() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:58
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetEndDate
const Aws::Utils::DateTime & GetEndDate() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:90
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:195
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithSubscribedDomain
ListDomainDeliverabilityCampaignsRequest & WithSubscribedDomain(const char *value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:166
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithNextToken
ListDomainDeliverabilityCampaignsRequest & WithNextToken(Aws::String &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:216
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::EndDateHasBeenSet
bool EndDateHasBeenSet() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:97
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetPageSize
void SetPageSize(int value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:251
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:174
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithSubscribedDomain
ListDomainDeliverabilityCampaignsRequest & WithSubscribedDomain(Aws::String &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:161
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetSubscribedDomain
void SetSubscribedDomain(const Aws::String &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:141
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SubscribedDomainHasBeenSet
bool SubscribedDomainHasBeenSet() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:136
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetPageSize
int GetPageSize() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:233
AWSString.h
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithPageSize
ListDomainDeliverabilityCampaignsRequest & WithPageSize(int value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:260
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithNextToken
ListDomainDeliverabilityCampaignsRequest & WithNextToken(const Aws::String &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:209
SESV2_EXPORTS.h
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetEndDate
void SetEndDate(const Aws::Utils::DateTime &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:104
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetSubscribedDomain
void SetSubscribedDomain(const char *value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:151
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithSubscribedDomain
ListDomainDeliverabilityCampaignsRequest & WithSubscribedDomain(const Aws::String &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:156
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDomainDeliverabilityCampaignsRequest.h:41
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetStartDate
void SetStartDate(const Aws::Utils::DateTime &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:64
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetSubscribedDomain
void SetSubscribedDomain(Aws::String &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetSubscribedDomain
const Aws::String & GetSubscribedDomain() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:131
SESV2Request.h
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:242
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest
Definition: ListDomainDeliverabilityCampaignsRequest.h:33
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetStartDate
void SetStartDate(Aws::Utils::DateTime &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:70
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithEndDate
ListDomainDeliverabilityCampaignsRequest & WithEndDate(Aws::Utils::DateTime &&value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:125
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::GetStartDate
const Aws::Utils::DateTime & GetStartDate() const
Definition: ListDomainDeliverabilityCampaignsRequest.h:52
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::WithStartDate
ListDomainDeliverabilityCampaignsRequest & WithStartDate(const Aws::Utils::DateTime &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:76
Aws::SESV2::Model::ListDomainDeliverabilityCampaignsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDomainDeliverabilityCampaignsRequest.h:188