AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainStatisticsReportRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.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 SESV2
20{
21namespace 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_SESV2_API Aws::String SerializePayload() const override;
42
43 AWS_SESV2_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 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
53 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
54 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
55 inline GetDomainStatisticsReportRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
56 inline GetDomainStatisticsReportRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
57 inline GetDomainStatisticsReportRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
59
61
65 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
66 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
67 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
68 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
70 inline GetDomainStatisticsReportRequest& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
72
74
79 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
80 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
81 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
82 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
83 inline GetDomainStatisticsReportRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
84 inline GetDomainStatisticsReportRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
86 private:
87
88 Aws::String m_domain;
89 bool m_domainHasBeenSet = false;
90
91 Aws::Utils::DateTime m_startDate;
92 bool m_startDateHasBeenSet = false;
93
94 Aws::Utils::DateTime m_endDate;
95 bool m_endDateHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SESV2
100} // namespace Aws
GetDomainStatisticsReportRequest & WithEndDate(Aws::Utils::DateTime &&value)
GetDomainStatisticsReportRequest & WithDomain(const char *value)
GetDomainStatisticsReportRequest & WithDomain(const Aws::String &value)
GetDomainStatisticsReportRequest & WithDomain(Aws::String &&value)
AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetDomainStatisticsReportRequest & WithStartDate(const Aws::Utils::DateTime &value)
GetDomainStatisticsReportRequest & WithEndDate(const Aws::Utils::DateTime &value)
GetDomainStatisticsReportRequest & WithStartDate(Aws::Utils::DateTime &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String