AWS SDK for C++  1.9.175
AWS SDK for C++
StartMultiplexRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "StartMultiplex"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
42 
46  inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
47 
51  inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
52 
56  inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
57 
61  inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
62 
66  inline StartMultiplexRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
67 
71  inline StartMultiplexRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
72 
76  inline StartMultiplexRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_multiplexId;
81  bool m_multiplexIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace MediaLive
86 } // namespace Aws
Aws::MediaLive::Model::StartMultiplexRequest::MultiplexIdHasBeenSet
bool MultiplexIdHasBeenSet() const
Definition: StartMultiplexRequest.h:46
Aws::MediaLive::Model::StartMultiplexRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartMultiplexRequest.h:33
Aws::MediaLive::Model::StartMultiplexRequest::WithMultiplexId
StartMultiplexRequest & WithMultiplexId(const char *value)
Definition: StartMultiplexRequest.h:76
Aws::MediaLive::Model::StartMultiplexRequest::WithMultiplexId
StartMultiplexRequest & WithMultiplexId(const Aws::String &value)
Definition: StartMultiplexRequest.h:66
Aws::MediaLive::Model::StartMultiplexRequest::SetMultiplexId
void SetMultiplexId(const Aws::String &value)
Definition: StartMultiplexRequest.h:51
Aws::MediaLive::Model::StartMultiplexRequest::SetMultiplexId
void SetMultiplexId(Aws::String &&value)
Definition: StartMultiplexRequest.h:56
Aws::MediaLive::Model::StartMultiplexRequest::GetMultiplexId
const Aws::String & GetMultiplexId() const
Definition: StartMultiplexRequest.h:41
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::StartMultiplexRequest::WithMultiplexId
StartMultiplexRequest & WithMultiplexId(Aws::String &&value)
Definition: StartMultiplexRequest.h:71
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::StartMultiplexRequest::SetMultiplexId
void SetMultiplexId(const char *value)
Definition: StartMultiplexRequest.h:61
AWSString.h
Aws::MediaLive::Model::StartMultiplexRequest::StartMultiplexRequest
StartMultiplexRequest()
Aws
Definition: AccessManagementClient.h:15
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::StartMultiplexRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::StartMultiplexRequest
Definition: StartMultiplexRequest.h:25
MediaLive_EXPORTS.h