AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename UrlT = Aws::String>
47 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
48 template<typename UrlT = Aws::String>
49 Websocket& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
51
53
58 inline const Aws::String& GetConnectionExpiry() const { return m_connectionExpiry; }
59 inline bool ConnectionExpiryHasBeenSet() const { return m_connectionExpiryHasBeenSet; }
60 template<typename ConnectionExpiryT = Aws::String>
61 void SetConnectionExpiry(ConnectionExpiryT&& value) { m_connectionExpiryHasBeenSet = true; m_connectionExpiry = std::forward<ConnectionExpiryT>(value); }
62 template<typename ConnectionExpiryT = Aws::String>
63 Websocket& WithConnectionExpiry(ConnectionExpiryT&& value) { SetConnectionExpiry(std::forward<ConnectionExpiryT>(value)); return *this;}
65 private:
66
67 Aws::String m_url;
68 bool m_urlHasBeenSet = false;
69
70 Aws::String m_connectionExpiry;
71 bool m_connectionExpiryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ConnectParticipant
76} // namespace Aws
Websocket & WithUrl(UrlT &&value)
Definition Websocket.h:49
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API Websocket & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTPARTICIPANT_API Websocket()=default
AWS_CONNECTPARTICIPANT_API Websocket(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConnectionExpiry() const
Definition Websocket.h:58
const Aws::String & GetUrl() const
Definition Websocket.h:44
Websocket & WithConnectionExpiry(ConnectionExpiryT &&value)
Definition Websocket.h:63
void SetConnectionExpiry(ConnectionExpiryT &&value)
Definition Websocket.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue