AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Websocket.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConnectParticipant
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECTPARTICIPANT_API Websocket();
35 AWS_CONNECTPARTICIPANT_API Websocket(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONNECTPARTICIPANT_API Websocket& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUrl() const{ return m_url; }
45 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
46 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
47 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
48 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
49 inline Websocket& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
50 inline Websocket& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
51 inline Websocket& WithUrl(const char* value) { SetUrl(value); return *this;}
53
55
60 inline const Aws::String& GetConnectionExpiry() const{ return m_connectionExpiry; }
61 inline bool ConnectionExpiryHasBeenSet() const { return m_connectionExpiryHasBeenSet; }
62 inline void SetConnectionExpiry(const Aws::String& value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry = value; }
63 inline void SetConnectionExpiry(Aws::String&& value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry = std::move(value); }
64 inline void SetConnectionExpiry(const char* value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry.assign(value); }
65 inline Websocket& WithConnectionExpiry(const Aws::String& value) { SetConnectionExpiry(value); return *this;}
66 inline Websocket& WithConnectionExpiry(Aws::String&& value) { SetConnectionExpiry(std::move(value)); return *this;}
67 inline Websocket& WithConnectionExpiry(const char* value) { SetConnectionExpiry(value); return *this;}
69 private:
70
71 Aws::String m_url;
72 bool m_urlHasBeenSet = false;
73
74 Aws::String m_connectionExpiry;
75 bool m_connectionExpiryHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ConnectParticipant
80} // namespace Aws
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API Websocket & operator=(Aws::Utils::Json::JsonView jsonValue)
Websocket & WithConnectionExpiry(Aws::String &&value)
Definition Websocket.h:66
void SetConnectionExpiry(const char *value)
Definition Websocket.h:64
void SetConnectionExpiry(const Aws::String &value)
Definition Websocket.h:62
Websocket & WithUrl(const Aws::String &value)
Definition Websocket.h:49
AWS_CONNECTPARTICIPANT_API Websocket(Aws::Utils::Json::JsonView jsonValue)
Websocket & WithConnectionExpiry(const char *value)
Definition Websocket.h:67
void SetUrl(const Aws::String &value)
Definition Websocket.h:46
void SetConnectionExpiry(Aws::String &&value)
Definition Websocket.h:63
const Aws::String & GetConnectionExpiry() const
Definition Websocket.h:60
Websocket & WithUrl(const char *value)
Definition Websocket.h:51
const Aws::String & GetUrl() const
Definition Websocket.h:44
AWS_CONNECTPARTICIPANT_API Websocket()
Websocket & WithConnectionExpiry(const Aws::String &value)
Definition Websocket.h:65
Websocket & WithUrl(Aws::String &&value)
Definition Websocket.h:50
void SetUrl(Aws::String &&value)
Definition Websocket.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue