AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMultiplexRequest.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/AWSVector.h>
10#include <aws/medialive/model/MultiplexSettings.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace MediaLive
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_MEDIALIVE_API CreateMultiplexRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateMultiplex"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
47 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
48 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
49 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
52 inline CreateMultiplexRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
53 inline CreateMultiplexRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
54 inline CreateMultiplexRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
56
58
61 inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
62 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
63 inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
64 inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
66 inline CreateMultiplexRequest& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline CreateMultiplexRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline CreateMultiplexRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline CreateMultiplexRequest& WithName(const char* value) { SetName(value); return *this;}
82
84
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
90 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
93 inline CreateMultiplexRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateMultiplexRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateMultiplexRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97
99
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreateMultiplexRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
107 inline CreateMultiplexRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreateMultiplexRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline CreateMultiplexRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreateMultiplexRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline CreateMultiplexRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline CreateMultiplexRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreateMultiplexRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline CreateMultiplexRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::Vector<Aws::String> m_availabilityZones;
119 bool m_availabilityZonesHasBeenSet = false;
120
121 MultiplexSettings m_multiplexSettings;
122 bool m_multiplexSettingsHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_requestId;
128 bool m_requestIdHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace MediaLive
136} // namespace Aws
CreateMultiplexRequest & WithName(const char *value)
CreateMultiplexRequest & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMultiplexRequest & WithMultiplexSettings(const MultiplexSettings &value)
void SetMultiplexSettings(MultiplexSettings &&value)
CreateMultiplexRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateMultiplexRequest & WithRequestId(const char *value)
void SetMultiplexSettings(const MultiplexSettings &value)
CreateMultiplexRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateMultiplexRequest & AddTags(const Aws::String &key, Aws::String &&value)
const MultiplexSettings & GetMultiplexSettings() const
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateMultiplexRequest & WithRequestId(const Aws::String &value)
CreateMultiplexRequest & AddAvailabilityZones(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateMultiplexRequest & AddTags(Aws::String &&key, const char *value)
CreateMultiplexRequest & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateMultiplexRequest & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreateMultiplexRequest & AddTags(const char *key, const char *value)
CreateMultiplexRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultiplexRequest & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateMultiplexRequest & WithMultiplexSettings(MultiplexSettings &&value)
CreateMultiplexRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
CreateMultiplexRequest & WithName(Aws::String &&value)
CreateMultiplexRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateMultiplexRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultiplexRequest & AddAvailabilityZones(const char *value)
CreateMultiplexRequest & AddAvailabilityZones(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
std::vector< T, Aws::Allocator< T > > Vector