AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMultiplexRequest.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/MultiplexSettings.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/medialive/model/MultiplexProgramPacketIdentifiersMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaLive
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIALIVE_API UpdateMultiplexRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateMultiplex"; }
37
38 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
46 inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
47 inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
48 inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
49 inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
50 inline UpdateMultiplexRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
51 inline UpdateMultiplexRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
52 inline UpdateMultiplexRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
54
56
59 inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
60 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
61 inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
62 inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
64 inline UpdateMultiplexRequest& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline UpdateMultiplexRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline UpdateMultiplexRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline UpdateMultiplexRequest& WithName(const char* value) { SetName(value); return *this;}
80
82
83 inline const Aws::Map<Aws::String, MultiplexProgramPacketIdentifiersMap>& GetPacketIdentifiersMapping() const{ return m_packetIdentifiersMapping; }
84 inline bool PacketIdentifiersMappingHasBeenSet() const { return m_packetIdentifiersMappingHasBeenSet; }
85 inline void SetPacketIdentifiersMapping(const Aws::Map<Aws::String, MultiplexProgramPacketIdentifiersMap>& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping = value; }
86 inline void SetPacketIdentifiersMapping(Aws::Map<Aws::String, MultiplexProgramPacketIdentifiersMap>&& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping = std::move(value); }
89 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(const Aws::String& key, const MultiplexProgramPacketIdentifiersMap& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(key, value); return *this; }
90 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(Aws::String&& key, const MultiplexProgramPacketIdentifiersMap& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(std::move(key), value); return *this; }
91 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(const Aws::String& key, MultiplexProgramPacketIdentifiersMap&& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(key, std::move(value)); return *this; }
92 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(Aws::String&& key, MultiplexProgramPacketIdentifiersMap&& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(std::move(key), std::move(value)); return *this; }
93 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(const char* key, MultiplexProgramPacketIdentifiersMap&& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(key, std::move(value)); return *this; }
94 inline UpdateMultiplexRequest& AddPacketIdentifiersMapping(const char* key, const MultiplexProgramPacketIdentifiersMap& value) { m_packetIdentifiersMappingHasBeenSet = true; m_packetIdentifiersMapping.emplace(key, value); return *this; }
96 private:
97
98 Aws::String m_multiplexId;
99 bool m_multiplexIdHasBeenSet = false;
100
101 MultiplexSettings m_multiplexSettings;
102 bool m_multiplexSettingsHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
108 bool m_packetIdentifiersMappingHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MediaLive
113} // namespace Aws
UpdateMultiplexRequest & AddPacketIdentifiersMapping(const char *key, MultiplexProgramPacketIdentifiersMap &&value)
virtual const char * GetServiceRequestName() const override
UpdateMultiplexRequest & WithMultiplexSettings(MultiplexSettings &&value)
UpdateMultiplexRequest & WithPacketIdentifiersMapping(const Aws::Map< Aws::String, MultiplexProgramPacketIdentifiersMap > &value)
UpdateMultiplexRequest & WithName(const Aws::String &value)
void SetPacketIdentifiersMapping(const Aws::Map< Aws::String, MultiplexProgramPacketIdentifiersMap > &value)
UpdateMultiplexRequest & AddPacketIdentifiersMapping(const char *key, const MultiplexProgramPacketIdentifiersMap &value)
UpdateMultiplexRequest & WithPacketIdentifiersMapping(Aws::Map< Aws::String, MultiplexProgramPacketIdentifiersMap > &&value)
void SetMultiplexSettings(MultiplexSettings &&value)
UpdateMultiplexRequest & AddPacketIdentifiersMapping(Aws::String &&key, MultiplexProgramPacketIdentifiersMap &&value)
UpdateMultiplexRequest & WithName(Aws::String &&value)
UpdateMultiplexRequest & WithMultiplexId(const char *value)
UpdateMultiplexRequest & WithName(const char *value)
UpdateMultiplexRequest & WithMultiplexId(const Aws::String &value)
void SetPacketIdentifiersMapping(Aws::Map< Aws::String, MultiplexProgramPacketIdentifiersMap > &&value)
const MultiplexSettings & GetMultiplexSettings() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
UpdateMultiplexRequest & AddPacketIdentifiersMapping(const Aws::String &key, MultiplexProgramPacketIdentifiersMap &&value)
UpdateMultiplexRequest & AddPacketIdentifiersMapping(Aws::String &&key, const MultiplexProgramPacketIdentifiersMap &value)
UpdateMultiplexRequest & WithMultiplexSettings(const MultiplexSettings &value)
UpdateMultiplexRequest & AddPacketIdentifiersMapping(const Aws::String &key, const MultiplexProgramPacketIdentifiersMap &value)
const Aws::Map< Aws::String, MultiplexProgramPacketIdentifiersMap > & GetPacketIdentifiersMapping() const
void SetMultiplexSettings(const MultiplexSettings &value)
UpdateMultiplexRequest & WithMultiplexId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String