AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const RehydrationType& GetRehydrationType() const{ return m_rehydrationType; }
60 inline bool RehydrationTypeHasBeenSet() const { return m_rehydrationTypeHasBeenSet; }
61 inline void SetRehydrationType(const RehydrationType& value) { m_rehydrationTypeHasBeenSet = true; m_rehydrationType = value; }
62 inline void SetRehydrationType(RehydrationType&& value) { m_rehydrationTypeHasBeenSet = true; m_rehydrationType = std::move(value); }
63 inline PersistentChat& WithRehydrationType(const RehydrationType& value) { SetRehydrationType(value); return *this;}
64 inline PersistentChat& WithRehydrationType(RehydrationType&& value) { SetRehydrationType(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetSourceContactId() const{ return m_sourceContactId; }
72 inline bool SourceContactIdHasBeenSet() const { return m_sourceContactIdHasBeenSet; }
73 inline void SetSourceContactId(const Aws::String& value) { m_sourceContactIdHasBeenSet = true; m_sourceContactId = value; }
74 inline void SetSourceContactId(Aws::String&& value) { m_sourceContactIdHasBeenSet = true; m_sourceContactId = std::move(value); }
75 inline void SetSourceContactId(const char* value) { m_sourceContactIdHasBeenSet = true; m_sourceContactId.assign(value); }
76 inline PersistentChat& WithSourceContactId(const Aws::String& value) { SetSourceContactId(value); return *this;}
77 inline PersistentChat& WithSourceContactId(Aws::String&& value) { SetSourceContactId(std::move(value)); return *this;}
78 inline PersistentChat& WithSourceContactId(const char* value) { SetSourceContactId(value); return *this;}
80 private:
81
82 RehydrationType m_rehydrationType;
83 bool m_rehydrationTypeHasBeenSet = false;
84
85 Aws::String m_sourceContactId;
86 bool m_sourceContactIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
PersistentChat & WithSourceContactId(const Aws::String &value)
PersistentChat & WithSourceContactId(const char *value)
void SetSourceContactId(const Aws::String &value)
AWS_CONNECT_API PersistentChat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRehydrationType(const RehydrationType &value)
const Aws::String & GetSourceContactId() const
PersistentChat & WithRehydrationType(RehydrationType &&value)
void SetSourceContactId(const char *value)
void SetSourceContactId(Aws::String &&value)
PersistentChat & WithRehydrationType(const RehydrationType &value)
PersistentChat & WithSourceContactId(Aws::String &&value)
AWS_CONNECT_API PersistentChat(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRehydrationType(RehydrationType &&value)
const RehydrationType & GetRehydrationType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue