AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaSourceConfig.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisvideo/model/MediaUriType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisVideo
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KINESISVIDEO_API MediaSourceConfig();
38 AWS_KINESISVIDEO_API MediaSourceConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISVIDEO_API MediaSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetMediaUriSecretArn() const{ return m_mediaUriSecretArn; }
49 inline bool MediaUriSecretArnHasBeenSet() const { return m_mediaUriSecretArnHasBeenSet; }
50 inline void SetMediaUriSecretArn(const Aws::String& value) { m_mediaUriSecretArnHasBeenSet = true; m_mediaUriSecretArn = value; }
51 inline void SetMediaUriSecretArn(Aws::String&& value) { m_mediaUriSecretArnHasBeenSet = true; m_mediaUriSecretArn = std::move(value); }
52 inline void SetMediaUriSecretArn(const char* value) { m_mediaUriSecretArnHasBeenSet = true; m_mediaUriSecretArn.assign(value); }
53 inline MediaSourceConfig& WithMediaUriSecretArn(const Aws::String& value) { SetMediaUriSecretArn(value); return *this;}
54 inline MediaSourceConfig& WithMediaUriSecretArn(Aws::String&& value) { SetMediaUriSecretArn(std::move(value)); return *this;}
55 inline MediaSourceConfig& WithMediaUriSecretArn(const char* value) { SetMediaUriSecretArn(value); return *this;}
57
59
64 inline const MediaUriType& GetMediaUriType() const{ return m_mediaUriType; }
65 inline bool MediaUriTypeHasBeenSet() const { return m_mediaUriTypeHasBeenSet; }
66 inline void SetMediaUriType(const MediaUriType& value) { m_mediaUriTypeHasBeenSet = true; m_mediaUriType = value; }
67 inline void SetMediaUriType(MediaUriType&& value) { m_mediaUriTypeHasBeenSet = true; m_mediaUriType = std::move(value); }
68 inline MediaSourceConfig& WithMediaUriType(const MediaUriType& value) { SetMediaUriType(value); return *this;}
69 inline MediaSourceConfig& WithMediaUriType(MediaUriType&& value) { SetMediaUriType(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_mediaUriSecretArn;
74 bool m_mediaUriSecretArnHasBeenSet = false;
75
76 MediaUriType m_mediaUriType;
77 bool m_mediaUriTypeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace KinesisVideo
82} // namespace Aws
const Aws::String & GetMediaUriSecretArn() const
AWS_KINESISVIDEO_API MediaSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaSourceConfig & WithMediaUriSecretArn(Aws::String &&value)
MediaSourceConfig & WithMediaUriType(const MediaUriType &value)
MediaSourceConfig & WithMediaUriType(MediaUriType &&value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API MediaSourceConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMediaUriType(const MediaUriType &value)
MediaSourceConfig & WithMediaUriSecretArn(const Aws::String &value)
MediaSourceConfig & WithMediaUriSecretArn(const char *value)
const MediaUriType & GetMediaUriType() const
void SetMediaUriSecretArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue