AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LanguageWithScore.h
1
6#pragma once
7#include <aws/transcribestreaming/TranscribeStreamingService_EXPORTS.h>
8#include <aws/transcribestreaming/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 TranscribeStreamingService
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore();
39 AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; }
49 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
50 inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
51 inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
52 inline LanguageWithScore& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;}
53 inline LanguageWithScore& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
55
57
62 inline double GetScore() const{ return m_score; }
63 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
64 inline void SetScore(double value) { m_scoreHasBeenSet = true; m_score = value; }
65 inline LanguageWithScore& WithScore(double value) { SetScore(value); return *this;}
67 private:
68
69 LanguageCode m_languageCode;
70 bool m_languageCodeHasBeenSet = false;
71
72 double m_score;
73 bool m_scoreHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace TranscribeStreamingService
78} // namespace Aws
AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore & operator=(Aws::Utils::Json::JsonView jsonValue)
LanguageWithScore & WithLanguageCode(LanguageCode &&value)
AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore()
LanguageWithScore & WithLanguageCode(const LanguageCode &value)
AWS_TRANSCRIBESTREAMINGSERVICE_API LanguageWithScore(Aws::Utils::Json::JsonView jsonValue)
AWS_TRANSCRIBESTREAMINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue