AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceEndpointListItem.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/ChannelProtocol.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 KinesisVideo
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KINESISVIDEO_API ResourceEndpointListItem();
41 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const ChannelProtocol& GetProtocol() const{ return m_protocol; }
50 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
51 inline void SetProtocol(const ChannelProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
52 inline void SetProtocol(ChannelProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
53 inline ResourceEndpointListItem& WithProtocol(const ChannelProtocol& value) { SetProtocol(value); return *this;}
54 inline ResourceEndpointListItem& WithProtocol(ChannelProtocol&& value) { SetProtocol(std::move(value)); return *this;}
56
58
62 inline const Aws::String& GetResourceEndpoint() const{ return m_resourceEndpoint; }
63 inline bool ResourceEndpointHasBeenSet() const { return m_resourceEndpointHasBeenSet; }
64 inline void SetResourceEndpoint(const Aws::String& value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint = value; }
65 inline void SetResourceEndpoint(Aws::String&& value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint = std::move(value); }
66 inline void SetResourceEndpoint(const char* value) { m_resourceEndpointHasBeenSet = true; m_resourceEndpoint.assign(value); }
68 inline ResourceEndpointListItem& WithResourceEndpoint(Aws::String&& value) { SetResourceEndpoint(std::move(value)); return *this;}
69 inline ResourceEndpointListItem& WithResourceEndpoint(const char* value) { SetResourceEndpoint(value); return *this;}
71 private:
72
73 ChannelProtocol m_protocol;
74 bool m_protocolHasBeenSet = false;
75
76 Aws::String m_resourceEndpoint;
77 bool m_resourceEndpointHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace KinesisVideo
82} // namespace Aws
AWS_KINESISVIDEO_API ResourceEndpointListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceEndpointListItem & WithProtocol(const ChannelProtocol &value)
ResourceEndpointListItem & WithResourceEndpoint(const char *value)
ResourceEndpointListItem & WithResourceEndpoint(const Aws::String &value)
ResourceEndpointListItem & WithResourceEndpoint(Aws::String &&value)
AWS_KINESISVIDEO_API ResourceEndpointListItem(Aws::Utils::Json::JsonView jsonValue)
ResourceEndpointListItem & WithProtocol(ChannelProtocol &&value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue