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>
46 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
61 inline void SetStreamName(
const char* value) { m_streamNameHasBeenSet =
true; m_streamName.assign(value); }
83 inline void SetMediaType(
const char* value) { m_mediaTypeHasBeenSet =
true; m_mediaType.assign(value); }
102 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
142 inline CreateStreamRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
147 bool m_deviceNameHasBeenSet =
false;
150 bool m_streamNameHasBeenSet =
false;
153 bool m_mediaTypeHasBeenSet =
false;
156 bool m_kmsKeyIdHasBeenSet =
false;
158 int m_dataRetentionInHours;
159 bool m_dataRetentionInHoursHasBeenSet =
false;
162 bool m_tagsHasBeenSet =
false;
CreateStreamRequest & WithStreamName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateStreamRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateStreamRequest & WithDeviceName(Aws::String &&value)
const Aws::String & GetMediaType() const
const Aws::String & GetKmsKeyId() const
CreateStreamRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateStreamRequest & WithMediaType(Aws::String &&value)
CreateStreamRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool TagsHasBeenSet() const
void SetStreamName(const char *value)
void SetStreamName(const Aws::String &value)
void SetStreamName(Aws::String &&value)
CreateStreamRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetDeviceName() const
void SetDeviceName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DeviceNameHasBeenSet() const
CreateStreamRequest & WithKmsKeyId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateStreamRequest & WithDataRetentionInHours(int value)
void SetKmsKeyId(const char *value)
CreateStreamRequest & AddTags(const char *key, Aws::String &&value)
CreateStreamRequest & WithDeviceName(const char *value)
AWS_KINESISVIDEO_API CreateStreamRequest()
CreateStreamRequest & AddTags(const char *key, const char *value)
bool MediaTypeHasBeenSet() const
CreateStreamRequest & WithKmsKeyId(const Aws::String &value)
int GetDataRetentionInHours() const
CreateStreamRequest & WithDeviceName(const Aws::String &value)
CreateStreamRequest & WithMediaType(const Aws::String &value)
CreateStreamRequest & AddTags(Aws::String &&key, const char *value)
CreateStreamRequest & WithKmsKeyId(Aws::String &&value)
CreateStreamRequest & WithStreamName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetDeviceName(Aws::String &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
bool KmsKeyIdHasBeenSet() const
CreateStreamRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool DataRetentionInHoursHasBeenSet() const
void SetMediaType(Aws::String &&value)
void SetDeviceName(const char *value)
void SetDataRetentionInHours(int value)
CreateStreamRequest & WithStreamName(Aws::String &&value)
const Aws::String & GetStreamName() const
CreateStreamRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
bool StreamNameHasBeenSet() const
void SetMediaType(const char *value)
void SetMediaType(const Aws::String &value)
CreateStreamRequest & WithMediaType(const char *value)
void SetKmsKeyId(const 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