AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
EvaluationReviewConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationReviewNotificationRecipient.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API EvaluationReviewConfiguration() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 return m_reviewNotificationRecipients;
41 }
42 inline bool ReviewNotificationRecipientsHasBeenSet() const { return m_reviewNotificationRecipientsHasBeenSet; }
43 template <typename ReviewNotificationRecipientsT = Aws::Vector<EvaluationReviewNotificationRecipient>>
44 void SetReviewNotificationRecipients(ReviewNotificationRecipientsT&& value) {
45 m_reviewNotificationRecipientsHasBeenSet = true;
46 m_reviewNotificationRecipients = std::forward<ReviewNotificationRecipientsT>(value);
47 }
48 template <typename ReviewNotificationRecipientsT = Aws::Vector<EvaluationReviewNotificationRecipient>>
49 EvaluationReviewConfiguration& WithReviewNotificationRecipients(ReviewNotificationRecipientsT&& value) {
50 SetReviewNotificationRecipients(std::forward<ReviewNotificationRecipientsT>(value));
51 return *this;
52 }
53 template <typename ReviewNotificationRecipientsT = EvaluationReviewNotificationRecipient>
54 EvaluationReviewConfiguration& AddReviewNotificationRecipients(ReviewNotificationRecipientsT&& value) {
55 m_reviewNotificationRecipientsHasBeenSet = true;
56 m_reviewNotificationRecipients.emplace_back(std::forward<ReviewNotificationRecipientsT>(value));
57 return *this;
58 }
60
62
66 inline int GetEligibilityDays() const { return m_eligibilityDays; }
67 inline bool EligibilityDaysHasBeenSet() const { return m_eligibilityDaysHasBeenSet; }
68 inline void SetEligibilityDays(int value) {
69 m_eligibilityDaysHasBeenSet = true;
70 m_eligibilityDays = value;
71 }
73 SetEligibilityDays(value);
74 return *this;
75 }
77 private:
78 Aws::Vector<EvaluationReviewNotificationRecipient> m_reviewNotificationRecipients;
79
80 int m_eligibilityDays{0};
81 bool m_reviewNotificationRecipientsHasBeenSet = false;
82 bool m_eligibilityDaysHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Connect
87} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EvaluationReviewNotificationRecipient > & GetReviewNotificationRecipients() const
EvaluationReviewConfiguration & AddReviewNotificationRecipients(ReviewNotificationRecipientsT &&value)
EvaluationReviewConfiguration & WithEligibilityDays(int value)
EvaluationReviewConfiguration & WithReviewNotificationRecipients(ReviewNotificationRecipientsT &&value)
AWS_CONNECT_API EvaluationReviewConfiguration()=default
void SetReviewNotificationRecipients(ReviewNotificationRecipientsT &&value)
AWS_CONNECT_API EvaluationReviewConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationReviewConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue