AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMultiplexProgramRequest.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
13namespace Aws
14{
15namespace MediaLive
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIALIVE_API UpdateMultiplexProgramRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateMultiplexProgram"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
44 inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
45 inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
46 inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
47 inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
48 inline UpdateMultiplexProgramRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
49 inline UpdateMultiplexProgramRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
50 inline UpdateMultiplexProgramRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
52
54
57 inline const MultiplexProgramSettings& GetMultiplexProgramSettings() const{ return m_multiplexProgramSettings; }
58 inline bool MultiplexProgramSettingsHasBeenSet() const { return m_multiplexProgramSettingsHasBeenSet; }
59 inline void SetMultiplexProgramSettings(const MultiplexProgramSettings& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = value; }
60 inline void SetMultiplexProgramSettings(MultiplexProgramSettings&& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = std::move(value); }
64
66
69 inline const Aws::String& GetProgramName() const{ return m_programName; }
70 inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
71 inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
72 inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
73 inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
74 inline UpdateMultiplexProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
75 inline UpdateMultiplexProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
76 inline UpdateMultiplexProgramRequest& WithProgramName(const char* value) { SetProgramName(value); return *this;}
78 private:
79
80 Aws::String m_multiplexId;
81 bool m_multiplexIdHasBeenSet = false;
82
83 MultiplexProgramSettings m_multiplexProgramSettings;
84 bool m_multiplexProgramSettingsHasBeenSet = false;
85
86 Aws::String m_programName;
87 bool m_programNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaLive
92} // namespace Aws
UpdateMultiplexProgramRequest & WithMultiplexId(const Aws::String &value)
UpdateMultiplexProgramRequest & WithMultiplexId(Aws::String &&value)
void SetMultiplexProgramSettings(MultiplexProgramSettings &&value)
UpdateMultiplexProgramRequest & WithProgramName(Aws::String &&value)
UpdateMultiplexProgramRequest & WithMultiplexProgramSettings(const MultiplexProgramSettings &value)
UpdateMultiplexProgramRequest & WithMultiplexProgramSettings(MultiplexProgramSettings &&value)
UpdateMultiplexProgramRequest & WithProgramName(const char *value)
UpdateMultiplexProgramRequest & WithProgramName(const Aws::String &value)
void SetMultiplexProgramSettings(const MultiplexProgramSettings &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
const MultiplexProgramSettings & GetMultiplexProgramSettings() const
UpdateMultiplexProgramRequest & WithMultiplexId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String