AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeliverabilityTestReportRequest.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/sesv2/model/EmailContent.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sesv2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SESV2
18{
19namespace Model
20{
21
36 {
37 public:
39
40 // Service request name is the Operation name which will send this request out,
41 // each operation should has unique request name, so that we can get operation's name from this request.
42 // Note: this is not true for response, multiple operations may have the same response name,
43 // so we can not get operation's name from response.
44 inline virtual const char* GetServiceRequestName() const override { return "CreateDeliverabilityTestReport"; }
45
46 AWS_SESV2_API Aws::String SerializePayload() const override;
47
48
50
54 inline const Aws::String& GetReportName() const{ return m_reportName; }
55 inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
56 inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; }
57 inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); }
58 inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); }
60 inline CreateDeliverabilityTestReportRequest& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;}
61 inline CreateDeliverabilityTestReportRequest& WithReportName(const char* value) { SetReportName(value); return *this;}
63
65
69 inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
70 inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
71 inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
72 inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
73 inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
76 inline CreateDeliverabilityTestReportRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
78
80
84 inline const EmailContent& GetContent() const{ return m_content; }
85 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
86 inline void SetContent(const EmailContent& value) { m_contentHasBeenSet = true; m_content = value; }
87 inline void SetContent(EmailContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
88 inline CreateDeliverabilityTestReportRequest& WithContent(const EmailContent& value) { SetContent(value); return *this;}
89 inline CreateDeliverabilityTestReportRequest& WithContent(EmailContent&& value) { SetContent(std::move(value)); return *this;}
91
93
97 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
101 inline CreateDeliverabilityTestReportRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
102 inline CreateDeliverabilityTestReportRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
103 inline CreateDeliverabilityTestReportRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
104 inline CreateDeliverabilityTestReportRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_reportName;
109 bool m_reportNameHasBeenSet = false;
110
111 Aws::String m_fromEmailAddress;
112 bool m_fromEmailAddressHasBeenSet = false;
113
114 EmailContent m_content;
115 bool m_contentHasBeenSet = false;
116
117 Aws::Vector<Tag> m_tags;
118 bool m_tagsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SESV2
123} // namespace Aws
CreateDeliverabilityTestReportRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(const char *value)
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(Aws::String &&value)
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(const Aws::String &value)
CreateDeliverabilityTestReportRequest & WithReportName(const Aws::String &value)
CreateDeliverabilityTestReportRequest & WithReportName(Aws::String &&value)
CreateDeliverabilityTestReportRequest & WithReportName(const char *value)
CreateDeliverabilityTestReportRequest & WithContent(EmailContent &&value)
CreateDeliverabilityTestReportRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDeliverabilityTestReportRequest & AddTags(const Tag &value)
CreateDeliverabilityTestReportRequest & WithContent(const EmailContent &value)
AWS_SESV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector