AWS SDK for C++  0.14.3
AWS SDK for C++
AudioCodecOptions.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ElasticTranscoder
29 {
30 namespace Model
31 {
32 
37  {
38  public:
41  AudioCodecOptions& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
59  inline const Aws::String& GetProfile() const{ return m_profile; }
60 
76  inline void SetProfile(const Aws::String& value) { m_profileHasBeenSet = true; m_profile = value; }
77 
93  inline void SetProfile(Aws::String&& value) { m_profileHasBeenSet = true; m_profile = value; }
94 
110  inline void SetProfile(const char* value) { m_profileHasBeenSet = true; m_profile.assign(value); }
111 
127  inline AudioCodecOptions& WithProfile(const Aws::String& value) { SetProfile(value); return *this;}
128 
144  inline AudioCodecOptions& WithProfile(Aws::String&& value) { SetProfile(value); return *this;}
145 
161  inline AudioCodecOptions& WithProfile(const char* value) { SetProfile(value); return *this;}
162 
171  inline const Aws::String& GetBitDepth() const{ return m_bitDepth; }
172 
181  inline void SetBitDepth(const Aws::String& value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
182 
191  inline void SetBitDepth(Aws::String&& value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
192 
201  inline void SetBitDepth(const char* value) { m_bitDepthHasBeenSet = true; m_bitDepth.assign(value); }
202 
211  inline AudioCodecOptions& WithBitDepth(const Aws::String& value) { SetBitDepth(value); return *this;}
212 
221  inline AudioCodecOptions& WithBitDepth(Aws::String&& value) { SetBitDepth(value); return *this;}
222 
231  inline AudioCodecOptions& WithBitDepth(const char* value) { SetBitDepth(value); return *this;}
232 
238  inline const Aws::String& GetBitOrder() const{ return m_bitOrder; }
239 
245  inline void SetBitOrder(const Aws::String& value) { m_bitOrderHasBeenSet = true; m_bitOrder = value; }
246 
252  inline void SetBitOrder(Aws::String&& value) { m_bitOrderHasBeenSet = true; m_bitOrder = value; }
253 
259  inline void SetBitOrder(const char* value) { m_bitOrderHasBeenSet = true; m_bitOrder.assign(value); }
260 
266  inline AudioCodecOptions& WithBitOrder(const Aws::String& value) { SetBitOrder(value); return *this;}
267 
273  inline AudioCodecOptions& WithBitOrder(Aws::String&& value) { SetBitOrder(value); return *this;}
274 
280  inline AudioCodecOptions& WithBitOrder(const char* value) { SetBitOrder(value); return *this;}
281 
288  inline const Aws::String& GetSigned() const{ return m_signed; }
289 
296  inline void SetSigned(const Aws::String& value) { m_signedHasBeenSet = true; m_signed = value; }
297 
304  inline void SetSigned(Aws::String&& value) { m_signedHasBeenSet = true; m_signed = value; }
305 
312  inline void SetSigned(const char* value) { m_signedHasBeenSet = true; m_signed.assign(value); }
313 
320  inline AudioCodecOptions& WithSigned(const Aws::String& value) { SetSigned(value); return *this;}
321 
328  inline AudioCodecOptions& WithSigned(Aws::String&& value) { SetSigned(value); return *this;}
329 
336  inline AudioCodecOptions& WithSigned(const char* value) { SetSigned(value); return *this;}
337 
338  private:
339  Aws::String m_profile;
340  bool m_profileHasBeenSet;
341  Aws::String m_bitDepth;
342  bool m_bitDepthHasBeenSet;
343  Aws::String m_bitOrder;
344  bool m_bitOrderHasBeenSet;
345  Aws::String m_signed;
346  bool m_signedHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace ElasticTranscoder
351 } // namespace Aws
AudioCodecOptions & WithBitOrder(const Aws::String &value)
AudioCodecOptions & WithBitOrder(Aws::String &&value)
AudioCodecOptions & WithProfile(const Aws::String &value)
AudioCodecOptions & WithBitDepth(const Aws::String &value)
AudioCodecOptions & WithSigned(const char *value)
AudioCodecOptions & WithSigned(const Aws::String &value)
AudioCodecOptions & WithProfile(const char *value)
#define AWS_ELASTICTRANSCODER_API
AudioCodecOptions & WithSigned(Aws::String &&value)
AudioCodecOptions & WithBitDepth(const char *value)
AudioCodecOptions & WithBitDepth(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AudioCodecOptions & WithBitOrder(const char *value)
AudioCodecOptions & WithProfile(Aws::String &&value)
JSON (JavaScript Object Notation).