AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateMultiplexRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaLive
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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 "UpdateMultiplex"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
43 
47  inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
48 
52  inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
53 
57  inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
58 
62  inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
63 
67  inline UpdateMultiplexRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
68 
72  inline UpdateMultiplexRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
73 
77  inline UpdateMultiplexRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
78 
79 
83  inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
84 
88  inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
89 
93  inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
94 
98  inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
99 
103  inline UpdateMultiplexRequest& WithMultiplexSettings(const MultiplexSettings& value) { SetMultiplexSettings(value); return *this;}
104 
108  inline UpdateMultiplexRequest& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
109 
110 
114  inline const Aws::String& GetName() const{ return m_name; }
115 
119  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 
124  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
125 
129  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
130 
134  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
135 
139  inline UpdateMultiplexRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
140 
144  inline UpdateMultiplexRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
145 
149  inline UpdateMultiplexRequest& WithName(const char* value) { SetName(value); return *this;}
150 
151  private:
152 
153  Aws::String m_multiplexId;
154  bool m_multiplexIdHasBeenSet;
155 
156  MultiplexSettings m_multiplexSettings;
157  bool m_multiplexSettingsHasBeenSet;
158 
159  Aws::String m_name;
160  bool m_nameHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace MediaLive
165 } // namespace Aws
UpdateMultiplexRequest & WithMultiplexId(const char *value)
UpdateMultiplexRequest & WithName(const Aws::String &value)
void SetMultiplexSettings(MultiplexSettings &&value)
UpdateMultiplexRequest & WithName(const char *value)
UpdateMultiplexRequest & WithMultiplexSettings(MultiplexSettings &&value)
UpdateMultiplexRequest & WithMultiplexId(Aws::String &&value)
UpdateMultiplexRequest & WithMultiplexId(const Aws::String &value)
UpdateMultiplexRequest & WithName(Aws::String &&value)
#define AWS_MEDIALIVE_API
virtual const char * GetServiceRequestName() const override
UpdateMultiplexRequest & WithMultiplexSettings(const MultiplexSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const MultiplexSettings & GetMultiplexSettings() const
void SetMultiplexSettings(const MultiplexSettings &value)