AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StaticKeyProvider.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 MediaConvert
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONVERT_API StaticKeyProvider() = default;
36 AWS_MEDIACONVERT_API StaticKeyProvider(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API StaticKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetKeyFormat() const { return m_keyFormat; }
48 inline bool KeyFormatHasBeenSet() const { return m_keyFormatHasBeenSet; }
49 template<typename KeyFormatT = Aws::String>
50 void SetKeyFormat(KeyFormatT&& value) { m_keyFormatHasBeenSet = true; m_keyFormat = std::forward<KeyFormatT>(value); }
51 template<typename KeyFormatT = Aws::String>
52 StaticKeyProvider& WithKeyFormat(KeyFormatT&& value) { SetKeyFormat(std::forward<KeyFormatT>(value)); return *this;}
54
56
60 inline const Aws::String& GetKeyFormatVersions() const { return m_keyFormatVersions; }
61 inline bool KeyFormatVersionsHasBeenSet() const { return m_keyFormatVersionsHasBeenSet; }
62 template<typename KeyFormatVersionsT = Aws::String>
63 void SetKeyFormatVersions(KeyFormatVersionsT&& value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions = std::forward<KeyFormatVersionsT>(value); }
64 template<typename KeyFormatVersionsT = Aws::String>
65 StaticKeyProvider& WithKeyFormatVersions(KeyFormatVersionsT&& value) { SetKeyFormatVersions(std::forward<KeyFormatVersionsT>(value)); return *this;}
67
69
73 inline const Aws::String& GetStaticKeyValue() const { return m_staticKeyValue; }
74 inline bool StaticKeyValueHasBeenSet() const { return m_staticKeyValueHasBeenSet; }
75 template<typename StaticKeyValueT = Aws::String>
76 void SetStaticKeyValue(StaticKeyValueT&& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = std::forward<StaticKeyValueT>(value); }
77 template<typename StaticKeyValueT = Aws::String>
78 StaticKeyProvider& WithStaticKeyValue(StaticKeyValueT&& value) { SetStaticKeyValue(std::forward<StaticKeyValueT>(value)); return *this;}
80
82
86 inline const Aws::String& GetUrl() const { return m_url; }
87 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
88 template<typename UrlT = Aws::String>
89 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
90 template<typename UrlT = Aws::String>
91 StaticKeyProvider& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
93 private:
94
95 Aws::String m_keyFormat;
96 bool m_keyFormatHasBeenSet = false;
97
98 Aws::String m_keyFormatVersions;
99 bool m_keyFormatVersionsHasBeenSet = false;
100
101 Aws::String m_staticKeyValue;
102 bool m_staticKeyValueHasBeenSet = false;
103
104 Aws::String m_url;
105 bool m_urlHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MediaConvert
110} // namespace Aws
AWS_MEDIACONVERT_API StaticKeyProvider(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKeyFormatVersions() const
StaticKeyProvider & WithKeyFormatVersions(KeyFormatVersionsT &&value)
void SetKeyFormatVersions(KeyFormatVersionsT &&value)
StaticKeyProvider & WithStaticKeyValue(StaticKeyValueT &&value)
StaticKeyProvider & WithUrl(UrlT &&value)
AWS_MEDIACONVERT_API StaticKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStaticKeyValue(StaticKeyValueT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
StaticKeyProvider & WithKeyFormat(KeyFormatT &&value)
const Aws::String & GetStaticKeyValue() const
AWS_MEDIACONVERT_API StaticKeyProvider()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue