AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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
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
32 public:
33 AWS_CONNECT_API PersistentChat() = default;
34 AWS_CONNECT_API PersistentChat(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
53 inline RehydrationType GetRehydrationType() const { return m_rehydrationType; }
54 inline bool RehydrationTypeHasBeenSet() const { return m_rehydrationTypeHasBeenSet; }
56 m_rehydrationTypeHasBeenSet = true;
57 m_rehydrationType = value;
58 }
60 SetRehydrationType(value);
61 return *this;
62 }
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) {
73 m_sourceContactIdHasBeenSet = true;
74 m_sourceContactId = std::forward<SourceContactIdT>(value);
75 }
76 template <typename SourceContactIdT = Aws::String>
77 PersistentChat& WithSourceContactId(SourceContactIdT&& value) {
78 SetSourceContactId(std::forward<SourceContactIdT>(value));
79 return *this;
80 }
82 private:
84
85 Aws::String m_sourceContactId;
86 bool m_rehydrationTypeHasBeenSet = false;
87 bool m_sourceContactIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Connect
92} // 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