AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelARN(const Aws::String& value) { m_channelARNHasBeenSet = true; m_channelARN = value; }
44 inline void SetChannelARN(Aws::String&& value) { m_channelARNHasBeenSet = true; m_channelARN = std::move(value); }
45 inline void SetChannelARN(const char* value) { m_channelARNHasBeenSet = true; m_channelARN.assign(value); }
46 inline GetIceServerConfigRequest& WithChannelARN(const Aws::String& value) { SetChannelARN(value); return *this;}
47 inline GetIceServerConfigRequest& WithChannelARN(Aws::String&& value) { SetChannelARN(std::move(value)); return *this;}
48 inline GetIceServerConfigRequest& WithChannelARN(const char* value) { SetChannelARN(value); return *this;}
50
52
56 inline const Aws::String& GetClientId() const{ return m_clientId; }
57 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
58 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
59 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
60 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
61 inline GetIceServerConfigRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
62 inline GetIceServerConfigRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
63 inline GetIceServerConfigRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
65
67
71 inline const Service& GetService() const{ return m_service; }
72 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
73 inline void SetService(const Service& value) { m_serviceHasBeenSet = true; m_service = value; }
74 inline void SetService(Service&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
75 inline GetIceServerConfigRequest& WithService(const Service& value) { SetService(value); return *this;}
76 inline GetIceServerConfigRequest& WithService(Service&& value) { SetService(std::move(value)); return *this;}
78
80
83 inline const Aws::String& GetUsername() const{ return m_username; }
84 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
85 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
86 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
87 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
88 inline GetIceServerConfigRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
89 inline GetIceServerConfigRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
90 inline GetIceServerConfigRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
92 private:
93
94 Aws::String m_channelARN;
95 bool m_channelARNHasBeenSet = false;
96
97 Aws::String m_clientId;
98 bool m_clientIdHasBeenSet = false;
99
100 Service m_service;
101 bool m_serviceHasBeenSet = false;
102
103 Aws::String m_username;
104 bool m_usernameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace KinesisVideoSignalingChannels
109} // namespace Aws
AWS_KINESISVIDEOSIGNALINGCHANNELS_API Aws::String SerializePayload() const override
GetIceServerConfigRequest & WithClientId(const Aws::String &value)
AWS_KINESISVIDEOSIGNALINGCHANNELS_API GetIceServerConfigRequest()
GetIceServerConfigRequest & WithChannelARN(const Aws::String &value)
GetIceServerConfigRequest & WithUsername(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String