AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKeyFormat(const Aws::String& value) { m_keyFormatHasBeenSet = true; m_keyFormat = value; }
50 inline void SetKeyFormat(Aws::String&& value) { m_keyFormatHasBeenSet = true; m_keyFormat = std::move(value); }
51 inline void SetKeyFormat(const char* value) { m_keyFormatHasBeenSet = true; m_keyFormat.assign(value); }
52 inline StaticKeyProvider& WithKeyFormat(const Aws::String& value) { SetKeyFormat(value); return *this;}
53 inline StaticKeyProvider& WithKeyFormat(Aws::String&& value) { SetKeyFormat(std::move(value)); return *this;}
54 inline StaticKeyProvider& WithKeyFormat(const char* value) { SetKeyFormat(value); return *this;}
56
58
62 inline const Aws::String& GetKeyFormatVersions() const{ return m_keyFormatVersions; }
63 inline bool KeyFormatVersionsHasBeenSet() const { return m_keyFormatVersionsHasBeenSet; }
64 inline void SetKeyFormatVersions(const Aws::String& value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions = value; }
65 inline void SetKeyFormatVersions(Aws::String&& value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions = std::move(value); }
66 inline void SetKeyFormatVersions(const char* value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions.assign(value); }
67 inline StaticKeyProvider& WithKeyFormatVersions(const Aws::String& value) { SetKeyFormatVersions(value); return *this;}
68 inline StaticKeyProvider& WithKeyFormatVersions(Aws::String&& value) { SetKeyFormatVersions(std::move(value)); return *this;}
69 inline StaticKeyProvider& WithKeyFormatVersions(const char* value) { SetKeyFormatVersions(value); return *this;}
71
73
77 inline const Aws::String& GetStaticKeyValue() const{ return m_staticKeyValue; }
78 inline bool StaticKeyValueHasBeenSet() const { return m_staticKeyValueHasBeenSet; }
79 inline void SetStaticKeyValue(const Aws::String& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = value; }
80 inline void SetStaticKeyValue(Aws::String&& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = std::move(value); }
81 inline void SetStaticKeyValue(const char* value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue.assign(value); }
82 inline StaticKeyProvider& WithStaticKeyValue(const Aws::String& value) { SetStaticKeyValue(value); return *this;}
83 inline StaticKeyProvider& WithStaticKeyValue(Aws::String&& value) { SetStaticKeyValue(std::move(value)); return *this;}
84 inline StaticKeyProvider& WithStaticKeyValue(const char* value) { SetStaticKeyValue(value); return *this;}
86
88
92 inline const Aws::String& GetUrl() const{ return m_url; }
93 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
94 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
95 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
96 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
97 inline StaticKeyProvider& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
98 inline StaticKeyProvider& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
99 inline StaticKeyProvider& WithUrl(const char* value) { SetUrl(value); return *this;}
101 private:
102
103 Aws::String m_keyFormat;
104 bool m_keyFormatHasBeenSet = false;
105
106 Aws::String m_keyFormatVersions;
107 bool m_keyFormatVersionsHasBeenSet = false;
108
109 Aws::String m_staticKeyValue;
110 bool m_staticKeyValueHasBeenSet = false;
111
112 Aws::String m_url;
113 bool m_urlHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace MediaConvert
118} // namespace Aws
StaticKeyProvider & WithStaticKeyValue(const char *value)
AWS_MEDIACONVERT_API StaticKeyProvider(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKeyFormatVersions() const
StaticKeyProvider & WithUrl(const char *value)
void SetStaticKeyValue(const Aws::String &value)
StaticKeyProvider & WithUrl(const Aws::String &value)
StaticKeyProvider & WithStaticKeyValue(Aws::String &&value)
AWS_MEDIACONVERT_API StaticKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
StaticKeyProvider & WithStaticKeyValue(const Aws::String &value)
StaticKeyProvider & WithKeyFormatVersions(Aws::String &&value)
StaticKeyProvider & WithKeyFormat(const char *value)
StaticKeyProvider & WithUrl(Aws::String &&value)
void SetKeyFormatVersions(const Aws::String &value)
StaticKeyProvider & WithKeyFormat(Aws::String &&value)
StaticKeyProvider & WithKeyFormat(const Aws::String &value)
StaticKeyProvider & WithKeyFormatVersions(const Aws::String &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStaticKeyValue() const
StaticKeyProvider & WithKeyFormatVersions(const char *value)
void SetKeyFormat(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue