AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewReport.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mturk-requester/model/ReviewResultDetail.h>
10#include <aws/mturk-requester/model/ReviewActionDetail.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MTurk
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MTURK_API ReviewReport();
38 AWS_MTURK_API ReviewReport(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<ReviewResultDetail>& GetReviewResults() const{ return m_reviewResults; }
49 inline bool ReviewResultsHasBeenSet() const { return m_reviewResultsHasBeenSet; }
50 inline void SetReviewResults(const Aws::Vector<ReviewResultDetail>& value) { m_reviewResultsHasBeenSet = true; m_reviewResults = value; }
51 inline void SetReviewResults(Aws::Vector<ReviewResultDetail>&& value) { m_reviewResultsHasBeenSet = true; m_reviewResults = std::move(value); }
53 inline ReviewReport& WithReviewResults(Aws::Vector<ReviewResultDetail>&& value) { SetReviewResults(std::move(value)); return *this;}
54 inline ReviewReport& AddReviewResults(const ReviewResultDetail& value) { m_reviewResultsHasBeenSet = true; m_reviewResults.push_back(value); return *this; }
55 inline ReviewReport& AddReviewResults(ReviewResultDetail&& value) { m_reviewResultsHasBeenSet = true; m_reviewResults.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::Vector<ReviewActionDetail>& GetReviewActions() const{ return m_reviewActions; }
64 inline bool ReviewActionsHasBeenSet() const { return m_reviewActionsHasBeenSet; }
65 inline void SetReviewActions(const Aws::Vector<ReviewActionDetail>& value) { m_reviewActionsHasBeenSet = true; m_reviewActions = value; }
66 inline void SetReviewActions(Aws::Vector<ReviewActionDetail>&& value) { m_reviewActionsHasBeenSet = true; m_reviewActions = std::move(value); }
68 inline ReviewReport& WithReviewActions(Aws::Vector<ReviewActionDetail>&& value) { SetReviewActions(std::move(value)); return *this;}
69 inline ReviewReport& AddReviewActions(const ReviewActionDetail& value) { m_reviewActionsHasBeenSet = true; m_reviewActions.push_back(value); return *this; }
70 inline ReviewReport& AddReviewActions(ReviewActionDetail&& value) { m_reviewActionsHasBeenSet = true; m_reviewActions.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::Vector<ReviewResultDetail> m_reviewResults;
75 bool m_reviewResultsHasBeenSet = false;
76
77 Aws::Vector<ReviewActionDetail> m_reviewActions;
78 bool m_reviewActionsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace MTurk
83} // namespace Aws
ReviewReport & WithReviewActions(const Aws::Vector< ReviewActionDetail > &value)
ReviewReport & WithReviewResults(Aws::Vector< ReviewResultDetail > &&value)
ReviewReport & WithReviewActions(Aws::Vector< ReviewActionDetail > &&value)
ReviewReport & AddReviewResults(const ReviewResultDetail &value)
void SetReviewResults(const Aws::Vector< ReviewResultDetail > &value)
AWS_MTURK_API ReviewReport(Aws::Utils::Json::JsonView jsonValue)
void SetReviewActions(const Aws::Vector< ReviewActionDetail > &value)
ReviewReport & AddReviewActions(ReviewActionDetail &&value)
const Aws::Vector< ReviewResultDetail > & GetReviewResults() const
void SetReviewActions(Aws::Vector< ReviewActionDetail > &&value)
const Aws::Vector< ReviewActionDetail > & GetReviewActions() const
ReviewReport & AddReviewActions(const ReviewActionDetail &value)
ReviewReport & WithReviewResults(const Aws::Vector< ReviewResultDetail > &value)
void SetReviewResults(Aws::Vector< ReviewResultDetail > &&value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewReport & AddReviewResults(ReviewResultDetail &&value)
AWS_MTURK_API ReviewReport & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue