AWS SDK for C++  1.9.105
AWS SDK for C++
SourceLocation.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23  class JsonView;
24 } // namespace Json
25 } // namespace Utils
26 namespace MediaTailor
27 {
28 namespace Model
29 {
30 
38  {
39  public:
44 
45 
49  inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
50 
54  inline bool AccessConfigurationHasBeenSet() const { return m_accessConfigurationHasBeenSet; }
55 
59  inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = value; }
60 
64  inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::move(value); }
65 
69  inline SourceLocation& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;}
70 
74  inline SourceLocation& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;}
75 
76 
80  inline const Aws::String& GetArn() const{ return m_arn; }
81 
85  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
86 
90  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
91 
95  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
96 
100  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
101 
105  inline SourceLocation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
106 
110  inline SourceLocation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
111 
115  inline SourceLocation& WithArn(const char* value) { SetArn(value); return *this;}
116 
117 
121  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
122 
126  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
127 
131  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
132 
136  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
137 
141  inline SourceLocation& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
142 
146  inline SourceLocation& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
147 
148 
152  inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
153 
157  inline bool DefaultSegmentDeliveryConfigurationHasBeenSet() const { return m_defaultSegmentDeliveryConfigurationHasBeenSet; }
158 
162  inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = value; }
163 
167  inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::move(value); }
168 
172  inline SourceLocation& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;}
173 
177  inline SourceLocation& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { SetDefaultSegmentDeliveryConfiguration(std::move(value)); return *this;}
178 
179 
183  inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
184 
188  inline bool HttpConfigurationHasBeenSet() const { return m_httpConfigurationHasBeenSet; }
189 
193  inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = value; }
194 
198  inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::move(value); }
199 
203  inline SourceLocation& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;}
204 
208  inline SourceLocation& WithHttpConfiguration(HttpConfiguration&& value) { SetHttpConfiguration(std::move(value)); return *this;}
209 
210 
214  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
215 
219  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
220 
224  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
225 
229  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
230 
234  inline SourceLocation& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
235 
239  inline SourceLocation& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
240 
241 
245  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
246 
250  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
251 
255  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
256 
260  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
261 
265  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
266 
270  inline SourceLocation& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
271 
275  inline SourceLocation& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
276 
280  inline SourceLocation& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
281 
282 
286  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
287 
291  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
292 
296  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
297 
301  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
302 
306  inline SourceLocation& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
307 
311  inline SourceLocation& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
312 
316  inline SourceLocation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
317 
321  inline SourceLocation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
322 
326  inline SourceLocation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
327 
331  inline SourceLocation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
332 
336  inline SourceLocation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
337 
341  inline SourceLocation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
342 
346  inline SourceLocation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
347 
348  private:
349 
350  AccessConfiguration m_accessConfiguration;
351  bool m_accessConfigurationHasBeenSet;
352 
353  Aws::String m_arn;
354  bool m_arnHasBeenSet;
355 
356  Aws::Utils::DateTime m_creationTime;
357  bool m_creationTimeHasBeenSet;
358 
359  DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
360  bool m_defaultSegmentDeliveryConfigurationHasBeenSet;
361 
362  HttpConfiguration m_httpConfiguration;
363  bool m_httpConfigurationHasBeenSet;
364 
365  Aws::Utils::DateTime m_lastModifiedTime;
366  bool m_lastModifiedTimeHasBeenSet;
367 
368  Aws::String m_sourceLocationName;
369  bool m_sourceLocationNameHasBeenSet;
370 
372  bool m_tagsHasBeenSet;
373  };
374 
375 } // namespace Model
376 } // namespace MediaTailor
377 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
HttpConfiguration.h
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(const char *key, const char *value)
Definition: SourceLocation.h:346
Aws::MediaTailor::Model::SourceLocation::operator=
SourceLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SourceLocation::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: SourceLocation.h:260
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::SourceLocation::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: SourceLocation.h:224
Aws::MediaTailor::Model::SourceLocation::WithAccessConfiguration
SourceLocation & WithAccessConfiguration(const AccessConfiguration &value)
Definition: SourceLocation.h:69
Aws::MediaTailor::Model::SourceLocation::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: SourceLocation.h:162
Aws::MediaTailor::Model::SourceLocation::WithAccessConfiguration
SourceLocation & WithAccessConfiguration(AccessConfiguration &&value)
Definition: SourceLocation.h:74
Aws::MediaTailor::Model::SourceLocation::WithCreationTime
SourceLocation & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: SourceLocation.h:141
Aws::MediaTailor::Model::SourceLocation::WithArn
SourceLocation & WithArn(Aws::String &&value)
Definition: SourceLocation.h:110
DateTime.h
Aws::MediaTailor::Model::SourceLocation::AccessConfigurationHasBeenSet
bool AccessConfigurationHasBeenSet() const
Definition: SourceLocation.h:54
Aws::MediaTailor::Model::SourceLocation::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: SourceLocation.h:265
Aws::MediaTailor::Model::SourceLocation::GetAccessConfiguration
const AccessConfiguration & GetAccessConfiguration() const
Definition: SourceLocation.h:49
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(Aws::String &&key, Aws::String &&value)
Definition: SourceLocation.h:331
Aws::MediaTailor::Model::SourceLocation
Definition: SourceLocation.h:38
Aws::MediaTailor::Model::SourceLocation::WithSourceLocationName
SourceLocation & WithSourceLocationName(const Aws::String &value)
Definition: SourceLocation.h:270
Aws::MediaTailor::Model::SourceLocation::DefaultSegmentDeliveryConfigurationHasBeenSet
bool DefaultSegmentDeliveryConfigurationHasBeenSet() const
Definition: SourceLocation.h:157
Aws::MediaTailor::Model::SourceLocation::SetHttpConfiguration
void SetHttpConfiguration(HttpConfiguration &&value)
Definition: SourceLocation.h:198
Aws::MediaTailor::Model::SourceLocation::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SourceLocation.h:301
Aws::MediaTailor::Model::SourceLocation::WithTags
SourceLocation & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SourceLocation.h:306
Aws::MediaTailor::Model::SourceLocation::GetArn
const Aws::String & GetArn() const
Definition: SourceLocation.h:80
Aws::MediaTailor::Model::SourceLocation::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: SourceLocation.h:214
Aws::MediaTailor::Model::SourceLocation::WithDefaultSegmentDeliveryConfiguration
SourceLocation & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: SourceLocation.h:172
Aws::MediaTailor::Model::SourceLocation::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: SourceLocation.h:85
Aws::MediaTailor::Model::SourceLocation::WithSourceLocationName
SourceLocation & WithSourceLocationName(const char *value)
Definition: SourceLocation.h:280
Aws::MediaTailor::Model::SourceLocation::WithArn
SourceLocation & WithArn(const char *value)
Definition: SourceLocation.h:115
Aws::MediaTailor::Model::SourceLocation::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: SourceLocation.h:286
Aws::MediaTailor::Model::SourceLocation::HttpConfigurationHasBeenSet
bool HttpConfigurationHasBeenSet() const
Definition: SourceLocation.h:188
Aws::MediaTailor::Model::AccessConfiguration
Definition: AccessConfiguration.h:33
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(Aws::String &&key, const Aws::String &value)
Definition: SourceLocation.h:321
Aws::MediaTailor::Model::SourceLocation::WithDefaultSegmentDeliveryConfiguration
SourceLocation & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: SourceLocation.h:177
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(const Aws::String &key, Aws::String &&value)
Definition: SourceLocation.h:326
Aws::MediaTailor::Model::SourceLocation::SourceLocation
SourceLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaTailor::Model::SourceLocation::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: SourceLocation.h:126
Aws::MediaTailor::Model::SourceLocation::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: SourceLocation.h:136
AccessConfiguration.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaTailor::Model::SourceLocation::GetDefaultSegmentDeliveryConfiguration
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
Definition: SourceLocation.h:152
AWSString.h
Aws::MediaTailor::Model::SourceLocation::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: SourceLocation.h:219
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaTailor::Model::SourceLocation::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: SourceLocation.h:255
Aws::MediaTailor::Model::SourceLocation::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: SourceLocation.h:250
Aws::MediaTailor::Model::SourceLocation::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: SourceLocation.h:296
Aws::MediaTailor::Model::SourceLocation::SetAccessConfiguration
void SetAccessConfiguration(AccessConfiguration &&value)
Definition: SourceLocation.h:64
Aws::MediaTailor::Model::SourceLocation::WithLastModifiedTime
SourceLocation & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: SourceLocation.h:239
Aws::MediaTailor::Model::HttpConfiguration
Definition: HttpConfiguration.h:32
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::SourceLocation::WithHttpConfiguration
SourceLocation & WithHttpConfiguration(HttpConfiguration &&value)
Definition: SourceLocation.h:208
Aws::MediaTailor::Model::DefaultSegmentDeliveryConfiguration
Definition: DefaultSegmentDeliveryConfiguration.h:38
Aws::MediaTailor::Model::SourceLocation::SetArn
void SetArn(const Aws::String &value)
Definition: SourceLocation.h:90
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(const char *key, Aws::String &&value)
Definition: SourceLocation.h:336
Aws::MediaTailor::Model::SourceLocation::WithCreationTime
SourceLocation & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: SourceLocation.h:146
Aws::MediaTailor::Model::SourceLocation::SetArn
void SetArn(const char *value)
Definition: SourceLocation.h:100
Aws::MediaTailor::Model::SourceLocation::SourceLocation
SourceLocation()
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::SourceLocation::WithSourceLocationName
SourceLocation & WithSourceLocationName(Aws::String &&value)
Definition: SourceLocation.h:275
Aws::MediaTailor::Model::SourceLocation::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: SourceLocation.h:167
Aws::MediaTailor::Model::SourceLocation::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: SourceLocation.h:291
Aws::MediaTailor::Model::SourceLocation::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: SourceLocation.h:121
Aws::MediaTailor::Model::SourceLocation::WithTags
SourceLocation & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: SourceLocation.h:311
Aws::MediaTailor::Model::SourceLocation::GetHttpConfiguration
const HttpConfiguration & GetHttpConfiguration() const
Definition: SourceLocation.h:183
Aws::MediaTailor::Model::SourceLocation::WithLastModifiedTime
SourceLocation & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: SourceLocation.h:234
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::SourceLocation::SetAccessConfiguration
void SetAccessConfiguration(const AccessConfiguration &value)
Definition: SourceLocation.h:59
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(const Aws::String &key, const Aws::String &value)
Definition: SourceLocation.h:316
Aws::MediaTailor::Model::SourceLocation::SetArn
void SetArn(Aws::String &&value)
Definition: SourceLocation.h:95
Aws::MediaTailor::Model::SourceLocation::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: SourceLocation.h:245
Aws::MediaTailor::Model::SourceLocation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
DefaultSegmentDeliveryConfiguration.h
AWSMap.h
Aws::MediaTailor::Model::SourceLocation::AddTags
SourceLocation & AddTags(Aws::String &&key, const char *value)
Definition: SourceLocation.h:341
Aws::MediaTailor::Model::SourceLocation::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: SourceLocation.h:131
Aws::MediaTailor::Model::SourceLocation::SetHttpConfiguration
void SetHttpConfiguration(const HttpConfiguration &value)
Definition: SourceLocation.h:193
Aws::MediaTailor::Model::SourceLocation::WithArn
SourceLocation & WithArn(const Aws::String &value)
Definition: SourceLocation.h:105
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::SourceLocation::WithHttpConfiguration
SourceLocation & WithHttpConfiguration(const HttpConfiguration &value)
Definition: SourceLocation.h:203
Aws::MediaTailor::Model::SourceLocation::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: SourceLocation.h:229