AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API KeyProviderSettings() = default;
30 AWS_MEDIALIVE_API KeyProviderSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const StaticKeySettings& GetStaticKeySettings() const { return m_staticKeySettings; }
37 inline bool StaticKeySettingsHasBeenSet() const { return m_staticKeySettingsHasBeenSet; }
38 template <typename StaticKeySettingsT = StaticKeySettings>
39 void SetStaticKeySettings(StaticKeySettingsT&& value) {
40 m_staticKeySettingsHasBeenSet = true;
41 m_staticKeySettings = std::forward<StaticKeySettingsT>(value);
42 }
43 template <typename StaticKeySettingsT = StaticKeySettings>
44 KeyProviderSettings& WithStaticKeySettings(StaticKeySettingsT&& value) {
45 SetStaticKeySettings(std::forward<StaticKeySettingsT>(value));
46 return *this;
47 }
49 private:
50 StaticKeySettings m_staticKeySettings;
51 bool m_staticKeySettingsHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace MediaLive
56} // 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