AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMultiplexProgramRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/MultiplexProgramSettings.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace MediaLive
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIALIVE_API CreateMultiplexProgramRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateMultiplexProgram"; }
36
37 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
45 inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
46 inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
47 inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
48 inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
49 inline CreateMultiplexProgramRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
50 inline CreateMultiplexProgramRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
51 inline CreateMultiplexProgramRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
53
55
58 inline const MultiplexProgramSettings& GetMultiplexProgramSettings() const{ return m_multiplexProgramSettings; }
59 inline bool MultiplexProgramSettingsHasBeenSet() const { return m_multiplexProgramSettingsHasBeenSet; }
60 inline void SetMultiplexProgramSettings(const MultiplexProgramSettings& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = value; }
61 inline void SetMultiplexProgramSettings(MultiplexProgramSettings&& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = std::move(value); }
65
67
70 inline const Aws::String& GetProgramName() const{ return m_programName; }
71 inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
72 inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
73 inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
74 inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
75 inline CreateMultiplexProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
76 inline CreateMultiplexProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
77 inline CreateMultiplexProgramRequest& WithProgramName(const char* value) { SetProgramName(value); return *this;}
79
81
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
87 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
90 inline CreateMultiplexProgramRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline CreateMultiplexProgramRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline CreateMultiplexProgramRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_multiplexId;
97 bool m_multiplexIdHasBeenSet = false;
98
99 MultiplexProgramSettings m_multiplexProgramSettings;
100 bool m_multiplexProgramSettingsHasBeenSet = false;
101
102 Aws::String m_programName;
103 bool m_programNameHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace MediaLive
111} // namespace Aws
CreateMultiplexProgramRequest & WithRequestId(const char *value)
CreateMultiplexProgramRequest & WithMultiplexId(Aws::String &&value)
void SetMultiplexProgramSettings(const MultiplexProgramSettings &value)
void SetMultiplexProgramSettings(MultiplexProgramSettings &&value)
CreateMultiplexProgramRequest & WithMultiplexProgramSettings(const MultiplexProgramSettings &value)
const MultiplexProgramSettings & GetMultiplexProgramSettings() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreateMultiplexProgramRequest & WithMultiplexProgramSettings(MultiplexProgramSettings &&value)
CreateMultiplexProgramRequest & WithProgramName(const Aws::String &value)
CreateMultiplexProgramRequest & WithRequestId(Aws::String &&value)
CreateMultiplexProgramRequest & WithMultiplexId(const char *value)
CreateMultiplexProgramRequest & WithProgramName(const char *value)
CreateMultiplexProgramRequest & WithMultiplexId(const Aws::String &value)
CreateMultiplexProgramRequest & WithRequestId(const Aws::String &value)
CreateMultiplexProgramRequest & WithProgramName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String