AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetIceServerConfigRequest.h
1
6#pragma once
7#include <aws/kinesis-video-signaling/KinesisVideoSignalingChannels_EXPORTS.h>
8#include <aws/kinesis-video-signaling/KinesisVideoSignalingChannelsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis-video-signaling/model/Service.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideoSignalingChannels
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEOSIGNALINGCHANNELS_API GetIceServerConfigRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetIceServerConfig"; }
32
33 AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetChannelARN() const { return m_channelARN; }
42 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
43 template<typename ChannelARNT = Aws::String>
44 void SetChannelARN(ChannelARNT&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::forward<ChannelARNT>(value); }
45 template<typename ChannelARNT = Aws::String>
46 GetIceServerConfigRequest& WithChannelARN(ChannelARNT&& value) { SetChannelARN(std::forward<ChannelARNT>(value)); return *this;}
48
50
54 inline const Aws::String& GetClientId() const { return m_clientId; }
55 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
56 template<typename ClientIdT = Aws::String>
57 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet = true; m_clientId = std::forward<ClientIdT>(value); }
58 template<typename ClientIdT = Aws::String>
59 GetIceServerConfigRequest& WithClientId(ClientIdT&& value) { SetClientId(std::forward<ClientIdT>(value)); return *this;}
61
63
67 inline Service GetService() const { return m_service; }
68 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
69 inline void SetService(Service value) { m_serviceHasBeenSet = true; m_service = value; }
70 inline GetIceServerConfigRequest& WithService(Service value) { SetService(value); return *this;}
72
74
77 inline const Aws::String& GetUsername() const { return m_username; }
78 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
79 template<typename UsernameT = Aws::String>
80 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
81 template<typename UsernameT = Aws::String>
82 GetIceServerConfigRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
84 private:
85
86 Aws::String m_channelARN;
87 bool m_channelARNHasBeenSet = false;
88
89 Aws::String m_clientId;
90 bool m_clientIdHasBeenSet = false;
91
92 Service m_service{Service::NOT_SET};
93 bool m_serviceHasBeenSet = false;
94
95 Aws::String m_username;
96 bool m_usernameHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace KinesisVideoSignalingChannels
101} // namespace Aws
AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::String SerializePayload() const override
AWS_KINESISVIDEOSIGNALINGCHANNELS_API GetIceServerConfigRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String