AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ContactConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantRole.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 ContactConfiguration() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetContactId() const { return m_contactId; }
41 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
42 template <typename ContactIdT = Aws::String>
43 void SetContactId(ContactIdT&& value) {
44 m_contactIdHasBeenSet = true;
45 m_contactId = std::forward<ContactIdT>(value);
46 }
47 template <typename ContactIdT = Aws::String>
48 ContactConfiguration& WithContactId(ContactIdT&& value) {
49 SetContactId(std::forward<ContactIdT>(value));
50 return *this;
51 }
53
55
60 inline ParticipantRole GetParticipantRole() const { return m_participantRole; }
61 inline bool ParticipantRoleHasBeenSet() const { return m_participantRoleHasBeenSet; }
63 m_participantRoleHasBeenSet = true;
64 m_participantRole = value;
65 }
67 SetParticipantRole(value);
68 return *this;
69 }
71
73
77 inline bool GetIncludeRawMessage() const { return m_includeRawMessage; }
78 inline bool IncludeRawMessageHasBeenSet() const { return m_includeRawMessageHasBeenSet; }
79 inline void SetIncludeRawMessage(bool value) {
80 m_includeRawMessageHasBeenSet = true;
81 m_includeRawMessage = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_contactId;
90
92
93 bool m_includeRawMessage{false};
94 bool m_contactIdHasBeenSet = false;
95 bool m_participantRoleHasBeenSet = false;
96 bool m_includeRawMessageHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // 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