AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
KeyProviderSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/StaticKeySettings.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 MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API KeyProviderSettings() = default;
35 AWS_MEDIALIVE_API KeyProviderSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const StaticKeySettings& GetStaticKeySettings() const { return m_staticKeySettings; }
43 inline bool StaticKeySettingsHasBeenSet() const { return m_staticKeySettingsHasBeenSet; }
44 template<typename StaticKeySettingsT = StaticKeySettings>
45 void SetStaticKeySettings(StaticKeySettingsT&& value) { m_staticKeySettingsHasBeenSet = true; m_staticKeySettings = std::forward<StaticKeySettingsT>(value); }
46 template<typename StaticKeySettingsT = StaticKeySettings>
47 KeyProviderSettings& WithStaticKeySettings(StaticKeySettingsT&& value) { SetStaticKeySettings(std::forward<StaticKeySettingsT>(value)); return *this;}
49 private:
50
51 StaticKeySettings m_staticKeySettings;
52 bool m_staticKeySettingsHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace MediaLive
57} // namespace Aws
AWS_MEDIALIVE_API KeyProviderSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API KeyProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
KeyProviderSettings & WithStaticKeySettings(StaticKeySettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const StaticKeySettings & GetStaticKeySettings() const
void SetStaticKeySettings(StaticKeySettingsT &&value)
AWS_MEDIALIVE_API KeyProviderSettings()=default
Aws::Utils::Json::JsonValue JsonValue