AWS SDK for C++  1.9.156
AWS SDK for C++
ReviewDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
52  inline const ReviewStatus& GetStatus() const{ return m_status; }
53 
64  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 
76  inline void SetStatus(const ReviewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 
88  inline void SetStatus(ReviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
89 
100  inline ReviewDetails& WithStatus(const ReviewStatus& value) { SetStatus(value); return *this;}
101 
112  inline ReviewDetails& WithStatus(ReviewStatus&& value) { SetStatus(std::move(value)); return *this;}
113 
114 
118  inline const Aws::String& GetCaseId() const{ return m_caseId; }
119 
123  inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
124 
128  inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
129 
133  inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
134 
138  inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
139 
143  inline ReviewDetails& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
144 
148  inline ReviewDetails& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
149 
153  inline ReviewDetails& WithCaseId(const char* value) { SetCaseId(value); return *this;}
154 
155  private:
156 
157  ReviewStatus m_status;
158  bool m_statusHasBeenSet;
159 
160  Aws::String m_caseId;
161  bool m_caseIdHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace SESV2
166 } // namespace Aws
Aws::SESV2::Model::ReviewDetails::ReviewDetails
ReviewDetails()
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ReviewStatus
ReviewStatus
Definition: ReviewStatus.h:17
Aws::SESV2::Model::ReviewDetails::WithStatus
ReviewDetails & WithStatus(ReviewStatus &&value)
Definition: ReviewDetails.h:112
Aws::SESV2::Model::ReviewDetails::WithCaseId
ReviewDetails & WithCaseId(const Aws::String &value)
Definition: ReviewDetails.h:143
Aws::SESV2::Model::ReviewDetails::GetCaseId
const Aws::String & GetCaseId() const
Definition: ReviewDetails.h:118
Aws::SESV2::Model::ReviewDetails::SetStatus
void SetStatus(const ReviewStatus &value)
Definition: ReviewDetails.h:76
Aws::SESV2::Model::ReviewDetails::WithStatus
ReviewDetails & WithStatus(const ReviewStatus &value)
Definition: ReviewDetails.h:100
Aws::SESV2::Model::ReviewDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ReviewDetails::SetCaseId
void SetCaseId(const Aws::String &value)
Definition: ReviewDetails.h:128
Aws::SESV2::Model::ReviewDetails::SetCaseId
void SetCaseId(Aws::String &&value)
Definition: ReviewDetails.h:133
Aws::SESV2::Model::ReviewDetails::CaseIdHasBeenSet
bool CaseIdHasBeenSet() const
Definition: ReviewDetails.h:123
Aws::SESV2::Model::ReviewDetails::SetCaseId
void SetCaseId(const char *value)
Definition: ReviewDetails.h:138
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::ReviewDetails::WithCaseId
ReviewDetails & WithCaseId(Aws::String &&value)
Definition: ReviewDetails.h:148
AWSString.h
Aws::SESV2::Model::ReviewDetails::GetStatus
const ReviewStatus & GetStatus() const
Definition: ReviewDetails.h:52
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::ReviewDetails::WithCaseId
ReviewDetails & WithCaseId(const char *value)
Definition: ReviewDetails.h:153
Aws::SESV2::Model::ReviewDetails::ReviewDetails
ReviewDetails(Aws::Utils::Json::JsonView jsonValue)
SESV2_EXPORTS.h
Aws::SESV2::Model::ReviewDetails
Definition: ReviewDetails.h:34
Aws::SESV2::Model::ReviewDetails::SetStatus
void SetStatus(ReviewStatus &&value)
Definition: ReviewDetails.h:88
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ReviewDetails::operator=
ReviewDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ReviewDetails::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ReviewDetails.h:64
ReviewStatus.h