AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PersistentChat.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/RehydrationType.h>
9#include <aws/core/utils/memory/stl/AWSString.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
36 {
37 public:
38 AWS_CONNECT_API PersistentChat() = default;
39 AWS_CONNECT_API PersistentChat(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
59 inline RehydrationType GetRehydrationType() const { return m_rehydrationType; }
60 inline bool RehydrationTypeHasBeenSet() const { return m_rehydrationTypeHasBeenSet; }
61 inline void SetRehydrationType(RehydrationType value) { m_rehydrationTypeHasBeenSet = true; m_rehydrationType = value; }
64
66
69 inline const Aws::String& GetSourceContactId() const { return m_sourceContactId; }
70 inline bool SourceContactIdHasBeenSet() const { return m_sourceContactIdHasBeenSet; }
71 template<typename SourceContactIdT = Aws::String>
72 void SetSourceContactId(SourceContactIdT&& value) { m_sourceContactIdHasBeenSet = true; m_sourceContactId = std::forward<SourceContactIdT>(value); }
73 template<typename SourceContactIdT = Aws::String>
74 PersistentChat& WithSourceContactId(SourceContactIdT&& value) { SetSourceContactId(std::forward<SourceContactIdT>(value)); return *this;}
76 private:
77
79 bool m_rehydrationTypeHasBeenSet = false;
80
81 Aws::String m_sourceContactId;
82 bool m_sourceContactIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Connect
87} // namespace Aws
void SetSourceContactId(SourceContactIdT &&value)
void SetRehydrationType(RehydrationType value)
AWS_CONNECT_API PersistentChat & operator=(Aws::Utils::Json::JsonView jsonValue)
PersistentChat & WithRehydrationType(RehydrationType value)
AWS_CONNECT_API PersistentChat()=default
const Aws::String & GetSourceContactId() const
RehydrationType GetRehydrationType() const
AWS_CONNECT_API PersistentChat(Aws::Utils::Json::JsonView jsonValue)
PersistentChat & WithSourceContactId(SourceContactIdT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue