AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EvaluationReviewNotificationRecipient.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EvaluationReviewNotificationRecipientType.h>
9#include <aws/connect/model/EvaluationReviewNotificationRecipientValue.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
30 public:
31 AWS_CONNECT_API EvaluationReviewNotificationRecipient() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline EvaluationReviewNotificationRecipientType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
56 inline const EvaluationReviewNotificationRecipientValue& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template <typename ValueT = EvaluationReviewNotificationRecipientValue>
59 void SetValue(ValueT&& value) {
60 m_valueHasBeenSet = true;
61 m_value = std::forward<ValueT>(value);
62 }
63 template <typename ValueT = EvaluationReviewNotificationRecipientValue>
65 SetValue(std::forward<ValueT>(value));
66 return *this;
67 }
69 private:
71
72 EvaluationReviewNotificationRecipientValue m_value;
73 bool m_typeHasBeenSet = false;
74 bool m_valueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
EvaluationReviewNotificationRecipient & WithType(EvaluationReviewNotificationRecipientType value)
EvaluationReviewNotificationRecipient & WithValue(ValueT &&value)
AWS_CONNECT_API EvaluationReviewNotificationRecipient & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationReviewNotificationRecipient(Aws::Utils::Json::JsonView jsonValue)
const EvaluationReviewNotificationRecipientValue & GetValue() const
Aws::Utils::Json::JsonValue JsonValue