AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ContactConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ParticipantRole.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API ContactConfiguration() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContactId() const { return m_contactId; }
47 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
48 template<typename ContactIdT = Aws::String>
49 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
50 template<typename ContactIdT = Aws::String>
51 ContactConfiguration& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
53
55
60 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
61 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
62 inline void SetParticipantRole(ParticipantRole value) { m_participantRoleHasBeenSet = true; m_participantRole = value; }
65
67
71 inline bool GetIncludeRawMessage() const { return m_includeRawMessage; }
72 inline bool IncludeRawMessageHasBeenSet() const { return m_includeRawMessageHasBeenSet; }
73 inline void SetIncludeRawMessage(bool value) { m_includeRawMessageHasBeenSet = true; m_includeRawMessage = value; }
74 inline ContactConfiguration& WithIncludeRawMessage(bool value) { SetIncludeRawMessage(value); return *this;}
76 private:
77
78 Aws::String m_contactId;
79 bool m_contactIdHasBeenSet = false;
80
82 bool m_participantRoleHasBeenSet = false;
83
84 bool m_includeRawMessage{false};
85 bool m_includeRawMessageHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Connect
90} // namespace Aws
AWS_CONNECT_API ContactConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactConfiguration & WithContactId(ContactIdT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactConfiguration & WithParticipantRole(ParticipantRole value)
ContactConfiguration & WithIncludeRawMessage(bool value)
AWS_CONNECT_API ContactConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue