AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename FormatT = Aws::String>
60 void SetFormat(FormatT&& value) { m_formatHasBeenSet = true; m_format = std::forward<FormatT>(value); }
61 template<typename FormatT = Aws::String>
62 CaptionFormat& WithFormat(FormatT&& value) { SetFormat(std::forward<FormatT>(value)); return *this;}
64
66
81 inline const Aws::String& GetPattern() const { return m_pattern; }
82 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
83 template<typename PatternT = Aws::String>
84 void SetPattern(PatternT&& value) { m_patternHasBeenSet = true; m_pattern = std::forward<PatternT>(value); }
85 template<typename PatternT = Aws::String>
86 CaptionFormat& WithPattern(PatternT&& value) { SetPattern(std::forward<PatternT>(value)); return *this;}
88
90
94 inline const Encryption& GetEncryption() const { return m_encryption; }
95 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
96 template<typename EncryptionT = Encryption>
97 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
98 template<typename EncryptionT = Encryption>
99 CaptionFormat& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
101 private:
102
103 Aws::String m_format;
104 bool m_formatHasBeenSet = false;
105
106 Aws::String m_pattern;
107 bool m_patternHasBeenSet = false;
108
109 Encryption m_encryption;
110 bool m_encryptionHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ElasticTranscoder
115} // namespace Aws
CaptionFormat & WithFormat(FormatT &&value)
CaptionFormat & WithEncryption(EncryptionT &&value)
CaptionFormat & WithPattern(PatternT &&value)
AWS_ELASTICTRANSCODER_API CaptionFormat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API CaptionFormat()=default
AWS_ELASTICTRANSCODER_API CaptionFormat(Aws::Utils::Json::JsonView jsonValue)
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