AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaptionFormat.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/Encryption.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 ElasticTranscoder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICTRANSCODER_API CaptionFormat();
37 AWS_ELASTICTRANSCODER_API CaptionFormat(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API CaptionFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline const Aws::String& GetFormat() const{ return m_format; }
58 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
59 inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; }
60 inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
61 inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); }
62 inline CaptionFormat& WithFormat(const Aws::String& value) { SetFormat(value); return *this;}
63 inline CaptionFormat& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;}
64 inline CaptionFormat& WithFormat(const char* value) { SetFormat(value); return *this;}
66
68
83 inline const Aws::String& GetPattern() const{ return m_pattern; }
84 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
85 inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
86 inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
87 inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
88 inline CaptionFormat& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
89 inline CaptionFormat& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
90 inline CaptionFormat& WithPattern(const char* value) { SetPattern(value); return *this;}
92
94
98 inline const Encryption& GetEncryption() const{ return m_encryption; }
99 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
100 inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
101 inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
102 inline CaptionFormat& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
103 inline CaptionFormat& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_format;
108 bool m_formatHasBeenSet = false;
109
110 Aws::String m_pattern;
111 bool m_patternHasBeenSet = false;
112
113 Encryption m_encryption;
114 bool m_encryptionHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace ElasticTranscoder
119} // namespace Aws
CaptionFormat & WithEncryption(Encryption &&value)
CaptionFormat & WithFormat(const Aws::String &value)
CaptionFormat & WithEncryption(const Encryption &value)
AWS_ELASTICTRANSCODER_API CaptionFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(const Aws::String &value)
AWS_ELASTICTRANSCODER_API CaptionFormat()
void SetEncryption(const Encryption &value)
CaptionFormat & WithPattern(const char *value)
CaptionFormat & WithPattern(Aws::String &&value)
CaptionFormat & WithFormat(Aws::String &&value)
void SetPattern(const Aws::String &value)
AWS_ELASTICTRANSCODER_API CaptionFormat(Aws::Utils::Json::JsonView jsonValue)
CaptionFormat & WithFormat(const char *value)
CaptionFormat & WithPattern(const Aws::String &value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue