AWS SDK for C++  1.8.71
AWS SDK for C++
GetDomainStatisticsReportRequest.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 PinpointEmail
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "GetDomainStatisticsReport"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
49  inline const Aws::String& GetDomain() const{ return m_domain; }
50 
54  inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
55 
59  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
60 
64  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
65 
69  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
70 
74  inline GetDomainStatisticsReportRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
75 
79  inline GetDomainStatisticsReportRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
80 
84  inline GetDomainStatisticsReportRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
85 
86 
91  inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
92 
97  inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
98 
103  inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
104 
109  inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
110 
115  inline GetDomainStatisticsReportRequest& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
116 
121  inline GetDomainStatisticsReportRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
122 
123 
129  inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
130 
136  inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
137 
143  inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
144 
150  inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
151 
157  inline GetDomainStatisticsReportRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
158 
164  inline GetDomainStatisticsReportRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
165 
166  private:
167 
168  Aws::String m_domain;
169  bool m_domainHasBeenSet;
170 
171  Aws::Utils::DateTime m_startDate;
172  bool m_startDateHasBeenSet;
173 
174  Aws::Utils::DateTime m_endDate;
175  bool m_endDateHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace PinpointEmail
180 } // namespace Aws
GetDomainStatisticsReportRequest & WithDomain(Aws::String &&value)
GetDomainStatisticsReportRequest & WithDomain(const char *value)
GetDomainStatisticsReportRequest & WithEndDate(const Aws::Utils::DateTime &value)
#define AWS_PINPOINTEMAIL_API
GetDomainStatisticsReportRequest & WithStartDate(Aws::Utils::DateTime &&value)
GetDomainStatisticsReportRequest & WithStartDate(const Aws::Utils::DateTime &value)
GetDomainStatisticsReportRequest & WithDomain(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDomainStatisticsReportRequest & WithEndDate(Aws::Utils::DateTime &&value)