AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StaticKeySettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.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 StaticKeySettings();
36 AWS_MEDIALIVE_API StaticKeySettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const InputLocation& GetKeyProviderServer() const{ return m_keyProviderServer; }
46 inline bool KeyProviderServerHasBeenSet() const { return m_keyProviderServerHasBeenSet; }
47 inline void SetKeyProviderServer(const InputLocation& value) { m_keyProviderServerHasBeenSet = true; m_keyProviderServer = value; }
48 inline void SetKeyProviderServer(InputLocation&& value) { m_keyProviderServerHasBeenSet = true; m_keyProviderServer = std::move(value); }
49 inline StaticKeySettings& WithKeyProviderServer(const InputLocation& value) { SetKeyProviderServer(value); return *this;}
50 inline StaticKeySettings& WithKeyProviderServer(InputLocation&& value) { SetKeyProviderServer(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetStaticKeyValue() const{ return m_staticKeyValue; }
58 inline bool StaticKeyValueHasBeenSet() const { return m_staticKeyValueHasBeenSet; }
59 inline void SetStaticKeyValue(const Aws::String& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = value; }
60 inline void SetStaticKeyValue(Aws::String&& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = std::move(value); }
61 inline void SetStaticKeyValue(const char* value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue.assign(value); }
62 inline StaticKeySettings& WithStaticKeyValue(const Aws::String& value) { SetStaticKeyValue(value); return *this;}
63 inline StaticKeySettings& WithStaticKeyValue(Aws::String&& value) { SetStaticKeyValue(std::move(value)); return *this;}
64 inline StaticKeySettings& WithStaticKeyValue(const char* value) { SetStaticKeyValue(value); return *this;}
66 private:
67
68 InputLocation m_keyProviderServer;
69 bool m_keyProviderServerHasBeenSet = false;
70
71 Aws::String m_staticKeyValue;
72 bool m_staticKeyValueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MediaLive
77} // namespace Aws
void SetKeyProviderServer(const InputLocation &value)
void SetKeyProviderServer(InputLocation &&value)
StaticKeySettings & WithStaticKeyValue(const char *value)
StaticKeySettings & WithKeyProviderServer(InputLocation &&value)
void SetStaticKeyValue(Aws::String &&value)
AWS_MEDIALIVE_API StaticKeySettings(Aws::Utils::Json::JsonView jsonValue)
StaticKeySettings & WithStaticKeyValue(Aws::String &&value)
const Aws::String & GetStaticKeyValue() const
void SetStaticKeyValue(const Aws::String &value)
StaticKeySettings & WithStaticKeyValue(const Aws::String &value)
const InputLocation & GetKeyProviderServer() const
AWS_MEDIALIVE_API StaticKeySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
StaticKeySettings & WithKeyProviderServer(const InputLocation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue