AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
StaticKeyProvider.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
29 public:
30 AWS_MEDIACONVERT_API StaticKeyProvider() = default;
31 AWS_MEDIACONVERT_API StaticKeyProvider(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONVERT_API StaticKeyProvider& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetKeyFormat() const { return m_keyFormat; }
42 inline bool KeyFormatHasBeenSet() const { return m_keyFormatHasBeenSet; }
43 template <typename KeyFormatT = Aws::String>
44 void SetKeyFormat(KeyFormatT&& value) {
45 m_keyFormatHasBeenSet = true;
46 m_keyFormat = std::forward<KeyFormatT>(value);
47 }
48 template <typename KeyFormatT = Aws::String>
49 StaticKeyProvider& WithKeyFormat(KeyFormatT&& value) {
50 SetKeyFormat(std::forward<KeyFormatT>(value));
51 return *this;
52 }
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) {
64 m_keyFormatVersionsHasBeenSet = true;
65 m_keyFormatVersions = std::forward<KeyFormatVersionsT>(value);
66 }
67 template <typename KeyFormatVersionsT = Aws::String>
68 StaticKeyProvider& WithKeyFormatVersions(KeyFormatVersionsT&& value) {
69 SetKeyFormatVersions(std::forward<KeyFormatVersionsT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetStaticKeyValue() const { return m_staticKeyValue; }
80 inline bool StaticKeyValueHasBeenSet() const { return m_staticKeyValueHasBeenSet; }
81 template <typename StaticKeyValueT = Aws::String>
82 void SetStaticKeyValue(StaticKeyValueT&& value) {
83 m_staticKeyValueHasBeenSet = true;
84 m_staticKeyValue = std::forward<StaticKeyValueT>(value);
85 }
86 template <typename StaticKeyValueT = Aws::String>
87 StaticKeyProvider& WithStaticKeyValue(StaticKeyValueT&& value) {
88 SetStaticKeyValue(std::forward<StaticKeyValueT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetUrl() const { return m_url; }
99 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
100 template <typename UrlT = Aws::String>
101 void SetUrl(UrlT&& value) {
102 m_urlHasBeenSet = true;
103 m_url = std::forward<UrlT>(value);
104 }
105 template <typename UrlT = Aws::String>
106 StaticKeyProvider& WithUrl(UrlT&& value) {
107 SetUrl(std::forward<UrlT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_keyFormat;
113
114 Aws::String m_keyFormatVersions;
115
116 Aws::String m_staticKeyValue;
117
118 Aws::String m_url;
119 bool m_keyFormatHasBeenSet = false;
120 bool m_keyFormatVersionsHasBeenSet = false;
121 bool m_staticKeyValueHasBeenSet = false;
122 bool m_urlHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace MediaConvert
127} // 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