AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewDetails.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/ReviewStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SESV2_API ReviewDetails();
37 AWS_SESV2_API ReviewDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const ReviewStatus& GetStatus() const{ return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(const ReviewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
56 inline void SetStatus(ReviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
57 inline ReviewDetails& WithStatus(const ReviewStatus& value) { SetStatus(value); return *this;}
58 inline ReviewDetails& WithStatus(ReviewStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetCaseId() const{ return m_caseId; }
66 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
67 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
68 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
69 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
70 inline ReviewDetails& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
71 inline ReviewDetails& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
72 inline ReviewDetails& WithCaseId(const char* value) { SetCaseId(value); return *this;}
74 private:
75
76 ReviewStatus m_status;
77 bool m_statusHasBeenSet = false;
78
79 Aws::String m_caseId;
80 bool m_caseIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SESV2
85} // namespace Aws
void SetCaseId(const Aws::String &value)
AWS_SESV2_API ReviewDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewDetails & WithStatus(const ReviewStatus &value)
ReviewDetails & WithCaseId(const char *value)
void SetCaseId(Aws::String &&value)
void SetStatus(ReviewStatus &&value)
ReviewDetails & WithCaseId(const Aws::String &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCaseId(const char *value)
AWS_SESV2_API ReviewDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ReviewStatus &value)
const Aws::String & GetCaseId() const
const ReviewStatus & GetStatus() const
ReviewDetails & WithCaseId(Aws::String &&value)
ReviewDetails & WithStatus(ReviewStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue