AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Complaint.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SESV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SESV2_API Complaint();
35 AWS_SESV2_API Complaint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetComplaintSubType() const{ return m_complaintSubType; }
48 inline bool ComplaintSubTypeHasBeenSet() const { return m_complaintSubTypeHasBeenSet; }
49 inline void SetComplaintSubType(const Aws::String& value) { m_complaintSubTypeHasBeenSet = true; m_complaintSubType = value; }
50 inline void SetComplaintSubType(Aws::String&& value) { m_complaintSubTypeHasBeenSet = true; m_complaintSubType = std::move(value); }
51 inline void SetComplaintSubType(const char* value) { m_complaintSubTypeHasBeenSet = true; m_complaintSubType.assign(value); }
52 inline Complaint& WithComplaintSubType(const Aws::String& value) { SetComplaintSubType(value); return *this;}
53 inline Complaint& WithComplaintSubType(Aws::String&& value) { SetComplaintSubType(std::move(value)); return *this;}
54 inline Complaint& WithComplaintSubType(const char* value) { SetComplaintSubType(value); return *this;}
56
58
62 inline const Aws::String& GetComplaintFeedbackType() const{ return m_complaintFeedbackType; }
63 inline bool ComplaintFeedbackTypeHasBeenSet() const { return m_complaintFeedbackTypeHasBeenSet; }
64 inline void SetComplaintFeedbackType(const Aws::String& value) { m_complaintFeedbackTypeHasBeenSet = true; m_complaintFeedbackType = value; }
65 inline void SetComplaintFeedbackType(Aws::String&& value) { m_complaintFeedbackTypeHasBeenSet = true; m_complaintFeedbackType = std::move(value); }
66 inline void SetComplaintFeedbackType(const char* value) { m_complaintFeedbackTypeHasBeenSet = true; m_complaintFeedbackType.assign(value); }
67 inline Complaint& WithComplaintFeedbackType(const Aws::String& value) { SetComplaintFeedbackType(value); return *this;}
68 inline Complaint& WithComplaintFeedbackType(Aws::String&& value) { SetComplaintFeedbackType(std::move(value)); return *this;}
69 inline Complaint& WithComplaintFeedbackType(const char* value) { SetComplaintFeedbackType(value); return *this;}
71 private:
72
73 Aws::String m_complaintSubType;
74 bool m_complaintSubTypeHasBeenSet = false;
75
76 Aws::String m_complaintFeedbackType;
77 bool m_complaintFeedbackTypeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SESV2
82} // namespace Aws
Complaint & WithComplaintSubType(const char *value)
Definition Complaint.h:54
void SetComplaintFeedbackType(Aws::String &&value)
Definition Complaint.h:65
Complaint & WithComplaintFeedbackType(const Aws::String &value)
Definition Complaint.h:67
Complaint & WithComplaintFeedbackType(const char *value)
Definition Complaint.h:69
bool ComplaintFeedbackTypeHasBeenSet() const
Definition Complaint.h:63
Complaint & WithComplaintFeedbackType(Aws::String &&value)
Definition Complaint.h:68
const Aws::String & GetComplaintSubType() const
Definition Complaint.h:47
bool ComplaintSubTypeHasBeenSet() const
Definition Complaint.h:48
void SetComplaintSubType(const Aws::String &value)
Definition Complaint.h:49
void SetComplaintFeedbackType(const Aws::String &value)
Definition Complaint.h:64
AWS_SESV2_API Complaint(Aws::Utils::Json::JsonView jsonValue)
Complaint & WithComplaintSubType(Aws::String &&value)
Definition Complaint.h:53
const Aws::String & GetComplaintFeedbackType() const
Definition Complaint.h:62
AWS_SESV2_API Complaint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplaintSubType(const char *value)
Definition Complaint.h:51
void SetComplaintSubType(Aws::String &&value)
Definition Complaint.h:50
Complaint & WithComplaintSubType(const Aws::String &value)
Definition Complaint.h:52
void SetComplaintFeedbackType(const char *value)
Definition Complaint.h:66
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue