AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDomainStatisticsReportRequest.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace PinpointEmail
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_PINPOINTEMAIL_API GetDomainStatisticsReportRequest() = default;
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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
42
43 AWS_PINPOINTEMAIL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
50 inline const Aws::String& GetDomain() const { return m_domain; }
51 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
52 template<typename DomainT = Aws::String>
53 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
54 template<typename DomainT = Aws::String>
55 GetDomainStatisticsReportRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
64 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
65 template<typename StartDateT = Aws::Utils::DateTime>
66 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
67 template<typename StartDateT = Aws::Utils::DateTime>
68 GetDomainStatisticsReportRequest& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
70
72
77 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
78 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
79 template<typename EndDateT = Aws::Utils::DateTime>
80 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
81 template<typename EndDateT = Aws::Utils::DateTime>
82 GetDomainStatisticsReportRequest& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
84 private:
85
86 Aws::String m_domain;
87 bool m_domainHasBeenSet = false;
88
89 Aws::Utils::DateTime m_startDate{};
90 bool m_startDateHasBeenSet = false;
91
92 Aws::Utils::DateTime m_endDate{};
93 bool m_endDateHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PinpointEmail
98} // namespace Aws
GetDomainStatisticsReportRequest & WithStartDate(StartDateT &&value)
GetDomainStatisticsReportRequest & WithDomain(DomainT &&value)
GetDomainStatisticsReportRequest & WithEndDate(EndDateT &&value)
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
AWS_PINPOINTEMAIL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_PINPOINTEMAIL_API GetDomainStatisticsReportRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String