AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EvaluationContactParticipant.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactParticipantRole.h>
9#include <aws/core/utils/memory/stl/AWSString.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 EvaluationContactParticipant() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ContactParticipantRole GetContactParticipantRole() const { return m_contactParticipantRole; }
41 inline bool ContactParticipantRoleHasBeenSet() const { return m_contactParticipantRoleHasBeenSet; }
43 m_contactParticipantRoleHasBeenSet = true;
44 m_contactParticipantRole = value;
45 }
48 return *this;
49 }
51
53
56 inline const Aws::String& GetContactParticipantId() const { return m_contactParticipantId; }
57 inline bool ContactParticipantIdHasBeenSet() const { return m_contactParticipantIdHasBeenSet; }
58 template <typename ContactParticipantIdT = Aws::String>
59 void SetContactParticipantId(ContactParticipantIdT&& value) {
60 m_contactParticipantIdHasBeenSet = true;
61 m_contactParticipantId = std::forward<ContactParticipantIdT>(value);
62 }
63 template <typename ContactParticipantIdT = Aws::String>
65 SetContactParticipantId(std::forward<ContactParticipantIdT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_contactParticipantId;
73 bool m_contactParticipantRoleHasBeenSet = false;
74 bool m_contactParticipantIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API EvaluationContactParticipant & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationContactParticipant(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API EvaluationContactParticipant()=default
EvaluationContactParticipant & WithContactParticipantRole(ContactParticipantRole value)
EvaluationContactParticipant & WithContactParticipantId(ContactParticipantIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue