AWS SDK for C++  1.9.158
AWS SDK for C++
StaticKeyProvider.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetKeyFormat() const{ return m_keyFormat; }
47 
53  inline bool KeyFormatHasBeenSet() const { return m_keyFormatHasBeenSet; }
54 
60  inline void SetKeyFormat(const Aws::String& value) { m_keyFormatHasBeenSet = true; m_keyFormat = value; }
61 
67  inline void SetKeyFormat(Aws::String&& value) { m_keyFormatHasBeenSet = true; m_keyFormat = std::move(value); }
68 
74  inline void SetKeyFormat(const char* value) { m_keyFormatHasBeenSet = true; m_keyFormat.assign(value); }
75 
81  inline StaticKeyProvider& WithKeyFormat(const Aws::String& value) { SetKeyFormat(value); return *this;}
82 
88  inline StaticKeyProvider& WithKeyFormat(Aws::String&& value) { SetKeyFormat(std::move(value)); return *this;}
89 
95  inline StaticKeyProvider& WithKeyFormat(const char* value) { SetKeyFormat(value); return *this;}
96 
97 
102  inline const Aws::String& GetKeyFormatVersions() const{ return m_keyFormatVersions; }
103 
108  inline bool KeyFormatVersionsHasBeenSet() const { return m_keyFormatVersionsHasBeenSet; }
109 
114  inline void SetKeyFormatVersions(const Aws::String& value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions = value; }
115 
120  inline void SetKeyFormatVersions(Aws::String&& value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions = std::move(value); }
121 
126  inline void SetKeyFormatVersions(const char* value) { m_keyFormatVersionsHasBeenSet = true; m_keyFormatVersions.assign(value); }
127 
132  inline StaticKeyProvider& WithKeyFormatVersions(const Aws::String& value) { SetKeyFormatVersions(value); return *this;}
133 
138  inline StaticKeyProvider& WithKeyFormatVersions(Aws::String&& value) { SetKeyFormatVersions(std::move(value)); return *this;}
139 
144  inline StaticKeyProvider& WithKeyFormatVersions(const char* value) { SetKeyFormatVersions(value); return *this;}
145 
146 
151  inline const Aws::String& GetStaticKeyValue() const{ return m_staticKeyValue; }
152 
157  inline bool StaticKeyValueHasBeenSet() const { return m_staticKeyValueHasBeenSet; }
158 
163  inline void SetStaticKeyValue(const Aws::String& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = value; }
164 
169  inline void SetStaticKeyValue(Aws::String&& value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue = std::move(value); }
170 
175  inline void SetStaticKeyValue(const char* value) { m_staticKeyValueHasBeenSet = true; m_staticKeyValue.assign(value); }
176 
181  inline StaticKeyProvider& WithStaticKeyValue(const Aws::String& value) { SetStaticKeyValue(value); return *this;}
182 
187  inline StaticKeyProvider& WithStaticKeyValue(Aws::String&& value) { SetStaticKeyValue(std::move(value)); return *this;}
188 
193  inline StaticKeyProvider& WithStaticKeyValue(const char* value) { SetStaticKeyValue(value); return *this;}
194 
195 
200  inline const Aws::String& GetUrl() const{ return m_url; }
201 
206  inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
207 
212  inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
213 
218  inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
219 
224  inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
225 
230  inline StaticKeyProvider& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
231 
236  inline StaticKeyProvider& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
237 
242  inline StaticKeyProvider& WithUrl(const char* value) { SetUrl(value); return *this;}
243 
244  private:
245 
246  Aws::String m_keyFormat;
247  bool m_keyFormatHasBeenSet;
248 
249  Aws::String m_keyFormatVersions;
250  bool m_keyFormatVersionsHasBeenSet;
251 
252  Aws::String m_staticKeyValue;
253  bool m_staticKeyValueHasBeenSet;
254 
255  Aws::String m_url;
256  bool m_urlHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace MediaConvert
261 } // namespace Aws
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormat
void SetKeyFormat(Aws::String &&value)
Definition: StaticKeyProvider.h:67
Aws::MediaConvert::Model::StaticKeyProvider::WithStaticKeyValue
StaticKeyProvider & WithStaticKeyValue(const Aws::String &value)
Definition: StaticKeyProvider.h:181
Aws::MediaConvert::Model::StaticKeyProvider::SetStaticKeyValue
void SetStaticKeyValue(const char *value)
Definition: StaticKeyProvider.h:175
Aws::MediaConvert::Model::StaticKeyProvider::WithUrl
StaticKeyProvider & WithUrl(Aws::String &&value)
Definition: StaticKeyProvider.h:236
Aws::MediaConvert::Model::StaticKeyProvider::StaticKeyProvider
StaticKeyProvider(Aws::Utils::Json::JsonView jsonValue)
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormat
void SetKeyFormat(const char *value)
Definition: StaticKeyProvider.h:74
Aws::MediaConvert::Model::StaticKeyProvider::WithUrl
StaticKeyProvider & WithUrl(const char *value)
Definition: StaticKeyProvider.h:242
Aws::MediaConvert::Model::StaticKeyProvider::UrlHasBeenSet
bool UrlHasBeenSet() const
Definition: StaticKeyProvider.h:206
Aws::MediaConvert::Model::StaticKeyProvider::GetKeyFormatVersions
const Aws::String & GetKeyFormatVersions() const
Definition: StaticKeyProvider.h:102
Aws::MediaConvert::Model::StaticKeyProvider::WithStaticKeyValue
StaticKeyProvider & WithStaticKeyValue(const char *value)
Definition: StaticKeyProvider.h:193
Aws::MediaConvert::Model::StaticKeyProvider
Definition: StaticKeyProvider.h:33
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormatVersions
StaticKeyProvider & WithKeyFormatVersions(const Aws::String &value)
Definition: StaticKeyProvider.h:132
Aws::MediaConvert::Model::StaticKeyProvider::SetStaticKeyValue
void SetStaticKeyValue(Aws::String &&value)
Definition: StaticKeyProvider.h:169
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormatVersions
StaticKeyProvider & WithKeyFormatVersions(const char *value)
Definition: StaticKeyProvider.h:144
Aws::MediaConvert::Model::StaticKeyProvider::KeyFormatVersionsHasBeenSet
bool KeyFormatVersionsHasBeenSet() const
Definition: StaticKeyProvider.h:108
Aws::MediaConvert::Model::StaticKeyProvider::WithStaticKeyValue
StaticKeyProvider & WithStaticKeyValue(Aws::String &&value)
Definition: StaticKeyProvider.h:187
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormat
StaticKeyProvider & WithKeyFormat(const Aws::String &value)
Definition: StaticKeyProvider.h:81
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormatVersions
StaticKeyProvider & WithKeyFormatVersions(Aws::String &&value)
Definition: StaticKeyProvider.h:138
Aws::MediaConvert::Model::StaticKeyProvider::SetUrl
void SetUrl(const char *value)
Definition: StaticKeyProvider.h:224
Aws::MediaConvert::Model::StaticKeyProvider::KeyFormatHasBeenSet
bool KeyFormatHasBeenSet() const
Definition: StaticKeyProvider.h:53
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormatVersions
void SetKeyFormatVersions(Aws::String &&value)
Definition: StaticKeyProvider.h:120
Aws::MediaConvert::Model::StaticKeyProvider::GetKeyFormat
const Aws::String & GetKeyFormat() const
Definition: StaticKeyProvider.h:46
Aws::MediaConvert::Model::StaticKeyProvider::StaticKeyValueHasBeenSet
bool StaticKeyValueHasBeenSet() const
Definition: StaticKeyProvider.h:157
Aws::MediaConvert::Model::StaticKeyProvider::GetStaticKeyValue
const Aws::String & GetStaticKeyValue() const
Definition: StaticKeyProvider.h:151
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormat
StaticKeyProvider & WithKeyFormat(Aws::String &&value)
Definition: StaticKeyProvider.h:88
Aws::MediaConvert::Model::StaticKeyProvider::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::StaticKeyProvider::operator=
StaticKeyProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::StaticKeyProvider::SetStaticKeyValue
void SetStaticKeyValue(const Aws::String &value)
Definition: StaticKeyProvider.h:163
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::MediaConvert::Model::StaticKeyProvider::SetUrl
void SetUrl(const Aws::String &value)
Definition: StaticKeyProvider.h:212
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormatVersions
void SetKeyFormatVersions(const Aws::String &value)
Definition: StaticKeyProvider.h:114
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormat
void SetKeyFormat(const Aws::String &value)
Definition: StaticKeyProvider.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::StaticKeyProvider::StaticKeyProvider
StaticKeyProvider()
Aws::MediaConvert::Model::StaticKeyProvider::SetUrl
void SetUrl(Aws::String &&value)
Definition: StaticKeyProvider.h:218
Aws::MediaConvert::Model::StaticKeyProvider::SetKeyFormatVersions
void SetKeyFormatVersions(const char *value)
Definition: StaticKeyProvider.h:126
Aws::MediaConvert::Model::StaticKeyProvider::WithUrl
StaticKeyProvider & WithUrl(const Aws::String &value)
Definition: StaticKeyProvider.h:230
Aws::MediaConvert::Model::StaticKeyProvider::WithKeyFormat
StaticKeyProvider & WithKeyFormat(const char *value)
Definition: StaticKeyProvider.h:95
Aws::MediaConvert::Model::StaticKeyProvider::GetUrl
const Aws::String & GetUrl() const
Definition: StaticKeyProvider.h:200