AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
Complaint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
27class Complaint {
28 public:
29 AWS_SESV2_API Complaint() = default;
30 AWS_SESV2_API Complaint(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetComplaintSubType() const { return m_complaintSubType; }
42 inline bool ComplaintSubTypeHasBeenSet() const { return m_complaintSubTypeHasBeenSet; }
43 template <typename ComplaintSubTypeT = Aws::String>
44 void SetComplaintSubType(ComplaintSubTypeT&& value) {
45 m_complaintSubTypeHasBeenSet = true;
46 m_complaintSubType = std::forward<ComplaintSubTypeT>(value);
47 }
48 template <typename ComplaintSubTypeT = Aws::String>
49 Complaint& WithComplaintSubType(ComplaintSubTypeT&& value) {
50 SetComplaintSubType(std::forward<ComplaintSubTypeT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetComplaintFeedbackType() const { return m_complaintFeedbackType; }
61 inline bool ComplaintFeedbackTypeHasBeenSet() const { return m_complaintFeedbackTypeHasBeenSet; }
62 template <typename ComplaintFeedbackTypeT = Aws::String>
63 void SetComplaintFeedbackType(ComplaintFeedbackTypeT&& value) {
64 m_complaintFeedbackTypeHasBeenSet = true;
65 m_complaintFeedbackType = std::forward<ComplaintFeedbackTypeT>(value);
66 }
67 template <typename ComplaintFeedbackTypeT = Aws::String>
68 Complaint& WithComplaintFeedbackType(ComplaintFeedbackTypeT&& value) {
69 SetComplaintFeedbackType(std::forward<ComplaintFeedbackTypeT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_complaintSubType;
75
76 Aws::String m_complaintFeedbackType;
77 bool m_complaintSubTypeHasBeenSet = false;
78 bool m_complaintFeedbackTypeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SESV2
83} // namespace Aws
bool ComplaintFeedbackTypeHasBeenSet() const
Definition Complaint.h:61
const Aws::String & GetComplaintSubType() const
Definition Complaint.h:41
Complaint & WithComplaintFeedbackType(ComplaintFeedbackTypeT &&value)
Definition Complaint.h:68
bool ComplaintSubTypeHasBeenSet() const
Definition Complaint.h:42
AWS_SESV2_API Complaint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComplaintFeedbackType() const
Definition Complaint.h:60
void SetComplaintFeedbackType(ComplaintFeedbackTypeT &&value)
Definition Complaint.h:63
AWS_SESV2_API Complaint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplaintSubType(ComplaintSubTypeT &&value)
Definition Complaint.h:44
Complaint & WithComplaintSubType(ComplaintSubTypeT &&value)
Definition Complaint.h:49
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API Complaint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue