1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/medialive/MediaLive_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <aws/medialive/model/NielsenWatermarksCbetStepaside.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Utils 15 { 16 namespace Json 17 { 18 class JsonValue; 19 class JsonView; 20 } // namespace Json 21 } // namespace Utils 22 namespace MediaLive 23 { 24 namespace Model 25 { 26 27 /** 28 * Nielsen CBET<p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NielsenCBET">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_MEDIALIVE_API NielsenCBET 33 { 34 public: 35 NielsenCBET(); 36 NielsenCBET(Aws::Utils::Json::JsonView jsonValue); 37 NielsenCBET& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * Enter the CBET check digits to use in the watermark. 43 */ GetCbetCheckDigitString()44 inline const Aws::String& GetCbetCheckDigitString() const{ return m_cbetCheckDigitString; } 45 46 /** 47 * Enter the CBET check digits to use in the watermark. 48 */ CbetCheckDigitStringHasBeenSet()49 inline bool CbetCheckDigitStringHasBeenSet() const { return m_cbetCheckDigitStringHasBeenSet; } 50 51 /** 52 * Enter the CBET check digits to use in the watermark. 53 */ SetCbetCheckDigitString(const Aws::String & value)54 inline void SetCbetCheckDigitString(const Aws::String& value) { m_cbetCheckDigitStringHasBeenSet = true; m_cbetCheckDigitString = value; } 55 56 /** 57 * Enter the CBET check digits to use in the watermark. 58 */ SetCbetCheckDigitString(Aws::String && value)59 inline void SetCbetCheckDigitString(Aws::String&& value) { m_cbetCheckDigitStringHasBeenSet = true; m_cbetCheckDigitString = std::move(value); } 60 61 /** 62 * Enter the CBET check digits to use in the watermark. 63 */ SetCbetCheckDigitString(const char * value)64 inline void SetCbetCheckDigitString(const char* value) { m_cbetCheckDigitStringHasBeenSet = true; m_cbetCheckDigitString.assign(value); } 65 66 /** 67 * Enter the CBET check digits to use in the watermark. 68 */ WithCbetCheckDigitString(const Aws::String & value)69 inline NielsenCBET& WithCbetCheckDigitString(const Aws::String& value) { SetCbetCheckDigitString(value); return *this;} 70 71 /** 72 * Enter the CBET check digits to use in the watermark. 73 */ WithCbetCheckDigitString(Aws::String && value)74 inline NielsenCBET& WithCbetCheckDigitString(Aws::String&& value) { SetCbetCheckDigitString(std::move(value)); return *this;} 75 76 /** 77 * Enter the CBET check digits to use in the watermark. 78 */ WithCbetCheckDigitString(const char * value)79 inline NielsenCBET& WithCbetCheckDigitString(const char* value) { SetCbetCheckDigitString(value); return *this;} 80 81 82 /** 83 * Determines the method of CBET insertion mode when prior encoding is detected on 84 * the same layer. 85 */ GetCbetStepaside()86 inline const NielsenWatermarksCbetStepaside& GetCbetStepaside() const{ return m_cbetStepaside; } 87 88 /** 89 * Determines the method of CBET insertion mode when prior encoding is detected on 90 * the same layer. 91 */ CbetStepasideHasBeenSet()92 inline bool CbetStepasideHasBeenSet() const { return m_cbetStepasideHasBeenSet; } 93 94 /** 95 * Determines the method of CBET insertion mode when prior encoding is detected on 96 * the same layer. 97 */ SetCbetStepaside(const NielsenWatermarksCbetStepaside & value)98 inline void SetCbetStepaside(const NielsenWatermarksCbetStepaside& value) { m_cbetStepasideHasBeenSet = true; m_cbetStepaside = value; } 99 100 /** 101 * Determines the method of CBET insertion mode when prior encoding is detected on 102 * the same layer. 103 */ SetCbetStepaside(NielsenWatermarksCbetStepaside && value)104 inline void SetCbetStepaside(NielsenWatermarksCbetStepaside&& value) { m_cbetStepasideHasBeenSet = true; m_cbetStepaside = std::move(value); } 105 106 /** 107 * Determines the method of CBET insertion mode when prior encoding is detected on 108 * the same layer. 109 */ WithCbetStepaside(const NielsenWatermarksCbetStepaside & value)110 inline NielsenCBET& WithCbetStepaside(const NielsenWatermarksCbetStepaside& value) { SetCbetStepaside(value); return *this;} 111 112 /** 113 * Determines the method of CBET insertion mode when prior encoding is detected on 114 * the same layer. 115 */ WithCbetStepaside(NielsenWatermarksCbetStepaside && value)116 inline NielsenCBET& WithCbetStepaside(NielsenWatermarksCbetStepaside&& value) { SetCbetStepaside(std::move(value)); return *this;} 117 118 119 /** 120 * Enter the CBET Source ID (CSID) to use in the watermark 121 */ GetCsid()122 inline const Aws::String& GetCsid() const{ return m_csid; } 123 124 /** 125 * Enter the CBET Source ID (CSID) to use in the watermark 126 */ CsidHasBeenSet()127 inline bool CsidHasBeenSet() const { return m_csidHasBeenSet; } 128 129 /** 130 * Enter the CBET Source ID (CSID) to use in the watermark 131 */ SetCsid(const Aws::String & value)132 inline void SetCsid(const Aws::String& value) { m_csidHasBeenSet = true; m_csid = value; } 133 134 /** 135 * Enter the CBET Source ID (CSID) to use in the watermark 136 */ SetCsid(Aws::String && value)137 inline void SetCsid(Aws::String&& value) { m_csidHasBeenSet = true; m_csid = std::move(value); } 138 139 /** 140 * Enter the CBET Source ID (CSID) to use in the watermark 141 */ SetCsid(const char * value)142 inline void SetCsid(const char* value) { m_csidHasBeenSet = true; m_csid.assign(value); } 143 144 /** 145 * Enter the CBET Source ID (CSID) to use in the watermark 146 */ WithCsid(const Aws::String & value)147 inline NielsenCBET& WithCsid(const Aws::String& value) { SetCsid(value); return *this;} 148 149 /** 150 * Enter the CBET Source ID (CSID) to use in the watermark 151 */ WithCsid(Aws::String && value)152 inline NielsenCBET& WithCsid(Aws::String&& value) { SetCsid(std::move(value)); return *this;} 153 154 /** 155 * Enter the CBET Source ID (CSID) to use in the watermark 156 */ WithCsid(const char * value)157 inline NielsenCBET& WithCsid(const char* value) { SetCsid(value); return *this;} 158 159 private: 160 161 Aws::String m_cbetCheckDigitString; 162 bool m_cbetCheckDigitStringHasBeenSet; 163 164 NielsenWatermarksCbetStepaside m_cbetStepaside; 165 bool m_cbetStepasideHasBeenSet; 166 167 Aws::String m_csid; 168 bool m_csidHasBeenSet; 169 }; 170 171 } // namespace Model 172 } // namespace MediaLive 173 } // namespace Aws 174