7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
44 template<
typename DeviceNameT = Aws::String>
45 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
46 template<
typename DeviceNameT = Aws::String>
57 template<
typename StreamNameT = Aws::String>
58 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet =
true; m_streamName = std::forward<StreamNameT>(value); }
59 template<
typename StreamNameT = Aws::String>
77 template<
typename MediaTypeT = Aws::String>
78 void SetMediaType(MediaTypeT&& value) { m_mediaTypeHasBeenSet =
true; m_mediaType = std::forward<MediaTypeT>(value); }
79 template<
typename MediaTypeT = Aws::String>
94 template<
typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<
typename KmsKeyIdT = Aws::String>
124 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
130 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
136 bool m_deviceNameHasBeenSet =
false;
139 bool m_streamNameHasBeenSet =
false;
142 bool m_mediaTypeHasBeenSet =
false;
145 bool m_kmsKeyIdHasBeenSet =
false;
147 int m_dataRetentionInHours{0};
148 bool m_dataRetentionInHoursHasBeenSet =
false;
151 bool m_tagsHasBeenSet =
false;
AWS_KINESISVIDEO_API CreateStreamRequest()=default
virtual const char * GetServiceRequestName() const override
const Aws::String & GetMediaType() const
const Aws::String & GetKmsKeyId() const
CreateStreamRequest & WithStreamName(StreamNameT &&value)
CreateStreamRequest & WithDeviceName(DeviceNameT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetDeviceName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DeviceNameHasBeenSet() const
CreateStreamRequest & WithMediaType(MediaTypeT &&value)
CreateStreamRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateStreamRequest & WithDataRetentionInHours(int value)
void SetMediaType(MediaTypeT &&value)
void SetDeviceName(DeviceNameT &&value)
CreateStreamRequest & WithTags(TagsT &&value)
CreateStreamRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool MediaTypeHasBeenSet() const
int GetDataRetentionInHours() const
void SetKmsKeyId(KmsKeyIdT &&value)
void SetTags(TagsT &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
bool KmsKeyIdHasBeenSet() const
bool DataRetentionInHoursHasBeenSet() const
void SetDataRetentionInHours(int value)
const Aws::String & GetStreamName() const
bool StreamNameHasBeenSet() const
void SetStreamName(StreamNameT &&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