AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LanguageCodeItem.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/model/LanguageCode.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 {
36 public:
37 AWS_TRANSCRIBESERVICE_API LanguageCodeItem();
38 AWS_TRANSCRIBESERVICE_API LanguageCodeItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TRANSCRIBESERVICE_API LanguageCodeItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
48 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
49 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
50 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
51 inline LanguageCodeItem& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
52 inline LanguageCodeItem& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
54
56
60 inline double GetDurationInSeconds() const{ return m_durationInSeconds; }
61 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
62 inline void SetDurationInSeconds(double value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
63 inline LanguageCodeItem& WithDurationInSeconds(double value) { SetDurationInSeconds(value); return *this;}
65 private:
66
67 LanguageCode m_languageCode;
68 bool m_languageCodeHasBeenSet = false;
69
70 double m_durationInSeconds;
71 bool m_durationInSecondsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace TranscribeService
76} // namespace Aws
AWS_TRANSCRIBESERVICE_API LanguageCodeItem(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRANSCRIBESERVICE_API LanguageCodeItem()
AWS_TRANSCRIBESERVICE_API LanguageCodeItem & operator=(Aws::Utils::Json::JsonView jsonValue)
LanguageCodeItem & WithDurationInSeconds(double value)
void SetLanguageCode(const LanguageCode &value)
LanguageCodeItem & WithLanguageCode(const LanguageCode &value)
LanguageCodeItem & WithLanguageCode(LanguageCode &&value)
Aws::Utils::Json::JsonValue JsonValue