AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioSelector.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/AudioSelectorSettings.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 AudioSelector();
36 AWS_MEDIALIVE_API AudioSelector(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API AudioSelector& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline AudioSelector& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline AudioSelector& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline AudioSelector& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const AudioSelectorSettings& GetSelectorSettings() const{ return m_selectorSettings; }
61 inline bool SelectorSettingsHasBeenSet() const { return m_selectorSettingsHasBeenSet; }
62 inline void SetSelectorSettings(const AudioSelectorSettings& value) { m_selectorSettingsHasBeenSet = true; m_selectorSettings = value; }
63 inline void SetSelectorSettings(AudioSelectorSettings&& value) { m_selectorSettingsHasBeenSet = true; m_selectorSettings = std::move(value); }
64 inline AudioSelector& WithSelectorSettings(const AudioSelectorSettings& value) { SetSelectorSettings(value); return *this;}
65 inline AudioSelector& WithSelectorSettings(AudioSelectorSettings&& value) { SetSelectorSettings(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
72 AudioSelectorSettings m_selectorSettings;
73 bool m_selectorSettingsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MediaLive
78} // namespace Aws
AudioSelector & WithName(const char *value)
void SetSelectorSettings(AudioSelectorSettings &&value)
void SetName(const Aws::String &value)
void SetSelectorSettings(const AudioSelectorSettings &value)
const Aws::String & GetName() const
AudioSelector & WithSelectorSettings(AudioSelectorSettings &&value)
void SetName(Aws::String &&value)
AWS_MEDIALIVE_API AudioSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
const AudioSelectorSettings & GetSelectorSettings() const
AudioSelector & WithName(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AudioSelector & WithName(Aws::String &&value)
AudioSelector & WithSelectorSettings(const AudioSelectorSettings &value)
AWS_MEDIALIVE_API AudioSelector(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue