AWS SDK for C++  1.9.153
AWS SDK for C++
CreateDeliverabilityTestReportRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <aws/sesv2/model/Tag.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SESV2
18 {
19 namespace 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::String SerializePayload() const override;
47 
48 
53  inline const Aws::String& GetReportName() const{ return m_reportName; }
54 
59  inline bool ReportNameHasBeenSet() const { return m_reportNameHasBeenSet; }
60 
65  inline void SetReportName(const Aws::String& value) { m_reportNameHasBeenSet = true; m_reportName = value; }
66 
71  inline void SetReportName(Aws::String&& value) { m_reportNameHasBeenSet = true; m_reportName = std::move(value); }
72 
77  inline void SetReportName(const char* value) { m_reportNameHasBeenSet = true; m_reportName.assign(value); }
78 
83  inline CreateDeliverabilityTestReportRequest& WithReportName(const Aws::String& value) { SetReportName(value); return *this;}
84 
89  inline CreateDeliverabilityTestReportRequest& WithReportName(Aws::String&& value) { SetReportName(std::move(value)); return *this;}
90 
95  inline CreateDeliverabilityTestReportRequest& WithReportName(const char* value) { SetReportName(value); return *this;}
96 
97 
102  inline const Aws::String& GetFromEmailAddress() const{ return m_fromEmailAddress; }
103 
108  inline bool FromEmailAddressHasBeenSet() const { return m_fromEmailAddressHasBeenSet; }
109 
114  inline void SetFromEmailAddress(const Aws::String& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = value; }
115 
120  inline void SetFromEmailAddress(Aws::String&& value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress = std::move(value); }
121 
126  inline void SetFromEmailAddress(const char* value) { m_fromEmailAddressHasBeenSet = true; m_fromEmailAddress.assign(value); }
127 
132  inline CreateDeliverabilityTestReportRequest& WithFromEmailAddress(const Aws::String& value) { SetFromEmailAddress(value); return *this;}
133 
138  inline CreateDeliverabilityTestReportRequest& WithFromEmailAddress(Aws::String&& value) { SetFromEmailAddress(std::move(value)); return *this;}
139 
144  inline CreateDeliverabilityTestReportRequest& WithFromEmailAddress(const char* value) { SetFromEmailAddress(value); return *this;}
145 
146 
151  inline const EmailContent& GetContent() const{ return m_content; }
152 
157  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
158 
163  inline void SetContent(const EmailContent& value) { m_contentHasBeenSet = true; m_content = value; }
164 
169  inline void SetContent(EmailContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
170 
175  inline CreateDeliverabilityTestReportRequest& WithContent(const EmailContent& value) { SetContent(value); return *this;}
176 
181  inline CreateDeliverabilityTestReportRequest& WithContent(EmailContent&& value) { SetContent(std::move(value)); return *this;}
182 
183 
188  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
189 
194  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
195 
200  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
201 
206  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
207 
212  inline CreateDeliverabilityTestReportRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
213 
218  inline CreateDeliverabilityTestReportRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
219 
224  inline CreateDeliverabilityTestReportRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
225 
230  inline CreateDeliverabilityTestReportRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
231 
232  private:
233 
234  Aws::String m_reportName;
235  bool m_reportNameHasBeenSet;
236 
237  Aws::String m_fromEmailAddress;
238  bool m_fromEmailAddressHasBeenSet;
239 
240  EmailContent m_content;
241  bool m_contentHasBeenSet;
242 
243  Aws::Vector<Tag> m_tags;
244  bool m_tagsHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace SESV2
249 } // namespace Aws
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::ReportNameHasBeenSet
bool ReportNameHasBeenSet() const
Definition: CreateDeliverabilityTestReportRequest.h:59
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetReportName
void SetReportName(const char *value)
Definition: CreateDeliverabilityTestReportRequest.h:77
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDeliverabilityTestReportRequest.h:44
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithReportName
CreateDeliverabilityTestReportRequest & WithReportName(const Aws::String &value)
Definition: CreateDeliverabilityTestReportRequest.h:83
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::FromEmailAddressHasBeenSet
bool FromEmailAddressHasBeenSet() const
Definition: CreateDeliverabilityTestReportRequest.h:108
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithContent
CreateDeliverabilityTestReportRequest & WithContent(const EmailContent &value)
Definition: CreateDeliverabilityTestReportRequest.h:175
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateDeliverabilityTestReportRequest.h:200
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetReportName
void SetReportName(const Aws::String &value)
Definition: CreateDeliverabilityTestReportRequest.h:65
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDeliverabilityTestReportRequest.h:194
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Tag.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithTags
CreateDeliverabilityTestReportRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateDeliverabilityTestReportRequest.h:218
AWSVector.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetReportName
void SetReportName(Aws::String &&value)
Definition: CreateDeliverabilityTestReportRequest.h:71
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: CreateDeliverabilityTestReportRequest.h:157
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithTags
CreateDeliverabilityTestReportRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateDeliverabilityTestReportRequest.h:212
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::GetFromEmailAddress
const Aws::String & GetFromEmailAddress() const
Definition: CreateDeliverabilityTestReportRequest.h:102
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::CreateDeliverabilityTestReportRequest
CreateDeliverabilityTestReportRequest()
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest
Definition: CreateDeliverabilityTestReportRequest.h:36
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetFromEmailAddress
void SetFromEmailAddress(const Aws::String &value)
Definition: CreateDeliverabilityTestReportRequest.h:114
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithFromEmailAddress
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(Aws::String &&value)
Definition: CreateDeliverabilityTestReportRequest.h:138
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithFromEmailAddress
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(const Aws::String &value)
Definition: CreateDeliverabilityTestReportRequest.h:132
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::GetContent
const EmailContent & GetContent() const
Definition: CreateDeliverabilityTestReportRequest.h:151
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithReportName
CreateDeliverabilityTestReportRequest & WithReportName(const char *value)
Definition: CreateDeliverabilityTestReportRequest.h:95
EmailContent.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetContent
void SetContent(const EmailContent &value)
Definition: CreateDeliverabilityTestReportRequest.h:163
AWSString.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithContent
CreateDeliverabilityTestReportRequest & WithContent(EmailContent &&value)
Definition: CreateDeliverabilityTestReportRequest.h:181
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::AddTags
CreateDeliverabilityTestReportRequest & AddTags(Tag &&value)
Definition: CreateDeliverabilityTestReportRequest.h:230
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithReportName
CreateDeliverabilityTestReportRequest & WithReportName(Aws::String &&value)
Definition: CreateDeliverabilityTestReportRequest.h:89
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::WithFromEmailAddress
CreateDeliverabilityTestReportRequest & WithFromEmailAddress(const char *value)
Definition: CreateDeliverabilityTestReportRequest.h:144
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetContent
void SetContent(EmailContent &&value)
Definition: CreateDeliverabilityTestReportRequest.h:169
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::AddTags
CreateDeliverabilityTestReportRequest & AddTags(const Tag &value)
Definition: CreateDeliverabilityTestReportRequest.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::EmailContent
Definition: EmailContent.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Tag
Definition: Tag.h:53
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::GetReportName
const Aws::String & GetReportName() const
Definition: CreateDeliverabilityTestReportRequest.h:53
SESV2Request.h
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateDeliverabilityTestReportRequest.h:188
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetFromEmailAddress
void SetFromEmailAddress(const char *value)
Definition: CreateDeliverabilityTestReportRequest.h:126
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateDeliverabilityTestReportRequest.h:206
Aws::SESV2::Model::CreateDeliverabilityTestReportRequest::SetFromEmailAddress
void SetFromEmailAddress(Aws::String &&value)
Definition: CreateDeliverabilityTestReportRequest.h:120