AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioLanguageSelection.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/AudioLanguageSelectionPolicy.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 MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API AudioLanguageSelection();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLanguageCode() const{ return m_languageCode; }
46 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
47 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
48 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
49 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
50 inline AudioLanguageSelection& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
51 inline AudioLanguageSelection& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
52 inline AudioLanguageSelection& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
54
56
64 inline const AudioLanguageSelectionPolicy& GetLanguageSelectionPolicy() const{ return m_languageSelectionPolicy; }
65 inline bool LanguageSelectionPolicyHasBeenSet() const { return m_languageSelectionPolicyHasBeenSet; }
66 inline void SetLanguageSelectionPolicy(const AudioLanguageSelectionPolicy& value) { m_languageSelectionPolicyHasBeenSet = true; m_languageSelectionPolicy = value; }
67 inline void SetLanguageSelectionPolicy(AudioLanguageSelectionPolicy&& value) { m_languageSelectionPolicyHasBeenSet = true; m_languageSelectionPolicy = std::move(value); }
71 private:
72
73 Aws::String m_languageCode;
74 bool m_languageCodeHasBeenSet = false;
75
76 AudioLanguageSelectionPolicy m_languageSelectionPolicy;
77 bool m_languageSelectionPolicyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
AudioLanguageSelection & WithLanguageSelectionPolicy(AudioLanguageSelectionPolicy &&value)
void SetLanguageSelectionPolicy(AudioLanguageSelectionPolicy &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AudioLanguageSelection & WithLanguageCode(const Aws::String &value)
const AudioLanguageSelectionPolicy & GetLanguageSelectionPolicy() const
void SetLanguageSelectionPolicy(const AudioLanguageSelectionPolicy &value)
AudioLanguageSelection & WithLanguageSelectionPolicy(const AudioLanguageSelectionPolicy &value)
AWS_MEDIALIVE_API AudioLanguageSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioLanguageSelection & WithLanguageCode(Aws::String &&value)
AudioLanguageSelection & WithLanguageCode(const char *value)
AWS_MEDIALIVE_API AudioLanguageSelection(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue