AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Media.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TranscribeService
22{
23namespace Model
24{
25
35 class Media
36 {
37 public:
38 AWS_TRANSCRIBESERVICE_API Media();
39 AWS_TRANSCRIBESERVICE_API Media(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Media& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline const Aws::String& GetMediaFileUri() const{ return m_mediaFileUri; }
55 inline bool MediaFileUriHasBeenSet() const { return m_mediaFileUriHasBeenSet; }
56 inline void SetMediaFileUri(const Aws::String& value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri = value; }
57 inline void SetMediaFileUri(Aws::String&& value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri = std::move(value); }
58 inline void SetMediaFileUri(const char* value) { m_mediaFileUriHasBeenSet = true; m_mediaFileUri.assign(value); }
59 inline Media& WithMediaFileUri(const Aws::String& value) { SetMediaFileUri(value); return *this;}
60 inline Media& WithMediaFileUri(Aws::String&& value) { SetMediaFileUri(std::move(value)); return *this;}
61 inline Media& WithMediaFileUri(const char* value) { SetMediaFileUri(value); return *this;}
63
65
76 inline const Aws::String& GetRedactedMediaFileUri() const{ return m_redactedMediaFileUri; }
77 inline bool RedactedMediaFileUriHasBeenSet() const { return m_redactedMediaFileUriHasBeenSet; }
78 inline void SetRedactedMediaFileUri(const Aws::String& value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri = value; }
79 inline void SetRedactedMediaFileUri(Aws::String&& value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri = std::move(value); }
80 inline void SetRedactedMediaFileUri(const char* value) { m_redactedMediaFileUriHasBeenSet = true; m_redactedMediaFileUri.assign(value); }
81 inline Media& WithRedactedMediaFileUri(const Aws::String& value) { SetRedactedMediaFileUri(value); return *this;}
82 inline Media& WithRedactedMediaFileUri(Aws::String&& value) { SetRedactedMediaFileUri(std::move(value)); return *this;}
83 inline Media& WithRedactedMediaFileUri(const char* value) { SetRedactedMediaFileUri(value); return *this;}
85 private:
86
87 Aws::String m_mediaFileUri;
88 bool m_mediaFileUriHasBeenSet = false;
89
90 Aws::String m_redactedMediaFileUri;
91 bool m_redactedMediaFileUriHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace TranscribeService
96} // namespace Aws
Media & WithMediaFileUri(Aws::String &&value)
Definition Media.h:60
void SetMediaFileUri(const char *value)
Definition Media.h:58
Media & WithRedactedMediaFileUri(const Aws::String &value)
Definition Media.h:81
bool RedactedMediaFileUriHasBeenSet() const
Definition Media.h:77
void SetRedactedMediaFileUri(const char *value)
Definition Media.h:80
void SetRedactedMediaFileUri(const Aws::String &value)
Definition Media.h:78
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMediaFileUri(Aws::String &&value)
Definition Media.h:57
void SetRedactedMediaFileUri(Aws::String &&value)
Definition Media.h:79
Media & WithMediaFileUri(const char *value)
Definition Media.h:61
AWS_TRANSCRIBESERVICE_API Media(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Media & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Media()
Media & WithRedactedMediaFileUri(Aws::String &&value)
Definition Media.h:82
const Aws::String & GetRedactedMediaFileUri() const
Definition Media.h:76
Media & WithMediaFileUri(const Aws::String &value)
Definition Media.h:59
Media & WithRedactedMediaFileUri(const char *value)
Definition Media.h:83
void SetMediaFileUri(const Aws::String &value)
Definition Media.h:56
const Aws::String & GetMediaFileUri() const
Definition Media.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue