AWS SDK for C++  1.9.105
AWS SDK for C++
CreateSourceLocationResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace MediaTailor
29 {
30 namespace Model
31 {
33  {
34  public:
38 
39 
43  inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
44 
48  inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfiguration = value; }
49 
53  inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfiguration = std::move(value); }
54 
58  inline CreateSourceLocationResult& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;}
59 
63  inline CreateSourceLocationResult& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;}
64 
65 
69  inline const Aws::String& GetArn() const{ return m_arn; }
70 
74  inline void SetArn(const Aws::String& value) { m_arn = value; }
75 
79  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
80 
84  inline void SetArn(const char* value) { m_arn.assign(value); }
85 
89  inline CreateSourceLocationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
90 
94  inline CreateSourceLocationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
95 
99  inline CreateSourceLocationResult& WithArn(const char* value) { SetArn(value); return *this;}
100 
101 
105  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
106 
110  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
111 
115  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
116 
120  inline CreateSourceLocationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
121 
125  inline CreateSourceLocationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
126 
127 
131  inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
132 
136  inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfiguration = value; }
137 
141  inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfiguration = std::move(value); }
142 
146  inline CreateSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;}
147 
151  inline CreateSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { SetDefaultSegmentDeliveryConfiguration(std::move(value)); return *this;}
152 
153 
157  inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
158 
162  inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfiguration = value; }
163 
167  inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfiguration = std::move(value); }
168 
172  inline CreateSourceLocationResult& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;}
173 
177  inline CreateSourceLocationResult& WithHttpConfiguration(HttpConfiguration&& value) { SetHttpConfiguration(std::move(value)); return *this;}
178 
179 
183  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
184 
188  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
189 
193  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
194 
198  inline CreateSourceLocationResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
199 
203  inline CreateSourceLocationResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
204 
205 
209  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
210 
214  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
215 
219  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
220 
224  inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
225 
229  inline CreateSourceLocationResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
230 
234  inline CreateSourceLocationResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
235 
239  inline CreateSourceLocationResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
240 
241 
245  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
246 
250  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
251 
255  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
256 
260  inline CreateSourceLocationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
261 
265  inline CreateSourceLocationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
266 
270  inline CreateSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
271 
275  inline CreateSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
276 
280  inline CreateSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
281 
285  inline CreateSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
286 
290  inline CreateSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
291 
295  inline CreateSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
296 
300  inline CreateSourceLocationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
301 
302  private:
303 
304  AccessConfiguration m_accessConfiguration;
305 
306  Aws::String m_arn;
307 
308  Aws::Utils::DateTime m_creationTime;
309 
310  DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
311 
312  HttpConfiguration m_httpConfiguration;
313 
314  Aws::Utils::DateTime m_lastModifiedTime;
315 
316  Aws::String m_sourceLocationName;
317 
319  };
320 
321 } // namespace Model
322 } // namespace MediaTailor
323 } // namespace Aws
Aws::MediaTailor::Model::CreateSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: CreateSourceLocationResult.h:219
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MediaTailor::Model::CreateSourceLocationResult::WithArn
CreateSourceLocationResult & WithArn(const Aws::String &value)
Definition: CreateSourceLocationResult.h:89
Aws::MediaTailor::Model::CreateSourceLocationResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateSourceLocationResult.h:245
HttpConfiguration.h
Aws::MediaTailor::Model::CreateSourceLocationResult::WithDefaultSegmentDeliveryConfiguration
CreateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: CreateSourceLocationResult.h:151
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::CreateSourceLocationResult::SetAccessConfiguration
void SetAccessConfiguration(const AccessConfiguration &value)
Definition: CreateSourceLocationResult.h:48
Aws::MediaTailor::Model::CreateSourceLocationResult::WithTags
CreateSourceLocationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSourceLocationResult.h:260
Aws::MediaTailor::Model::CreateSourceLocationResult::GetArn
const Aws::String & GetArn() const
Definition: CreateSourceLocationResult.h:69
Aws::MediaTailor::Model::CreateSourceLocationResult::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: CreateSourceLocationResult.h:136
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::CreateSourceLocationResult::WithCreationTime
CreateSourceLocationResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateSourceLocationResult.h:125
DateTime.h
Aws::MediaTailor::Model::CreateSourceLocationResult::WithLastModifiedTime
CreateSourceLocationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateSourceLocationResult.h:198
Aws::MediaTailor::Model::CreateSourceLocationResult::WithArn
CreateSourceLocationResult & WithArn(const char *value)
Definition: CreateSourceLocationResult.h:99
Aws::MediaTailor::Model::CreateSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: CreateSourceLocationResult.h:214
Aws::MediaTailor::Model::CreateSourceLocationResult::WithSourceLocationName
CreateSourceLocationResult & WithSourceLocationName(const Aws::String &value)
Definition: CreateSourceLocationResult.h:229
Aws::MediaTailor::Model::CreateSourceLocationResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: CreateSourceLocationResult.h:183
Aws::MediaTailor::Model::CreateSourceLocationResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateSourceLocationResult.h:193
Aws::MediaTailor::Model::CreateSourceLocationResult::CreateSourceLocationResult
CreateSourceLocationResult()
Aws::MediaTailor::Model::CreateSourceLocationResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateSourceLocationResult.h:79
Aws::MediaTailor::Model::CreateSourceLocationResult::WithAccessConfiguration
CreateSourceLocationResult & WithAccessConfiguration(const AccessConfiguration &value)
Definition: CreateSourceLocationResult.h:58
Aws::MediaTailor::Model::CreateSourceLocationResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateSourceLocationResult.h:74
Aws::MediaTailor::Model::CreateSourceLocationResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: CreateSourceLocationResult.h:188
Aws::MediaTailor::Model::CreateSourceLocationResult::CreateSourceLocationResult
CreateSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::CreateSourceLocationResult::SetHttpConfiguration
void SetHttpConfiguration(HttpConfiguration &&value)
Definition: CreateSourceLocationResult.h:167
Aws::MediaTailor::Model::CreateSourceLocationResult::WithCreationTime
CreateSourceLocationResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateSourceLocationResult.h:120
Aws::MediaTailor::Model::CreateSourceLocationResult::operator=
CreateSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::CreateSourceLocationResult::WithHttpConfiguration
CreateSourceLocationResult & WithHttpConfiguration(const HttpConfiguration &value)
Definition: CreateSourceLocationResult.h:172
Aws::MediaTailor::Model::CreateSourceLocationResult::SetAccessConfiguration
void SetAccessConfiguration(AccessConfiguration &&value)
Definition: CreateSourceLocationResult.h:53
Aws::MediaTailor::Model::CreateSourceLocationResult::GetDefaultSegmentDeliveryConfiguration
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
Definition: CreateSourceLocationResult.h:131
Aws::MediaTailor::Model::AccessConfiguration
Definition: AccessConfiguration.h:33
Aws::MediaTailor::Model::CreateSourceLocationResult::WithLastModifiedTime
CreateSourceLocationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: CreateSourceLocationResult.h:203
Aws::MediaTailor::Model::CreateSourceLocationResult::WithDefaultSegmentDeliveryConfiguration
CreateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: CreateSourceLocationResult.h:146
Aws::MediaTailor::Model::CreateSourceLocationResult::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: CreateSourceLocationResult.h:141
Aws::MediaTailor::Model::CreateSourceLocationResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: CreateSourceLocationResult.h:105
AccessConfiguration.h
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(const char *key, Aws::String &&value)
Definition: CreateSourceLocationResult.h:290
AWSString.h
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(const char *key, const char *value)
Definition: CreateSourceLocationResult.h:300
Aws::MediaTailor::Model::CreateSourceLocationResult::WithArn
CreateSourceLocationResult & WithArn(Aws::String &&value)
Definition: CreateSourceLocationResult.h:94
Aws::MediaTailor::Model::CreateSourceLocationResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: CreateSourceLocationResult.h:110
Aws::MediaTailor::Model::HttpConfiguration
Definition: HttpConfiguration.h:32
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateSourceLocationResult.h:275
Aws::MediaTailor::Model::DefaultSegmentDeliveryConfiguration
Definition: DefaultSegmentDeliveryConfiguration.h:38
Aws::MediaTailor::Model::CreateSourceLocationResult::WithAccessConfiguration
CreateSourceLocationResult & WithAccessConfiguration(AccessConfiguration &&value)
Definition: CreateSourceLocationResult.h:63
Aws::MediaTailor::Model::CreateSourceLocationResult::WithSourceLocationName
CreateSourceLocationResult & WithSourceLocationName(Aws::String &&value)
Definition: CreateSourceLocationResult.h:234
Aws::MediaTailor::Model::CreateSourceLocationResult::WithSourceLocationName
CreateSourceLocationResult & WithSourceLocationName(const char *value)
Definition: CreateSourceLocationResult.h:239
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateSourceLocationResult.h:270
Aws::MediaTailor::Model::CreateSourceLocationResult::WithHttpConfiguration
CreateSourceLocationResult & WithHttpConfiguration(HttpConfiguration &&value)
Definition: CreateSourceLocationResult.h:177
Aws::MediaTailor::Model::CreateSourceLocationResult
Definition: CreateSourceLocationResult.h:33
Aws::MediaTailor::Model::CreateSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: CreateSourceLocationResult.h:224
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::CreateSourceLocationResult::SetArn
void SetArn(const char *value)
Definition: CreateSourceLocationResult.h:84
Aws::MediaTailor::Model::CreateSourceLocationResult::SetHttpConfiguration
void SetHttpConfiguration(const HttpConfiguration &value)
Definition: CreateSourceLocationResult.h:162
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateSourceLocationResult.h:285
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::CreateSourceLocationResult::WithTags
CreateSourceLocationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSourceLocationResult.h:265
Aws::MediaTailor::Model::CreateSourceLocationResult::GetAccessConfiguration
const AccessConfiguration & GetAccessConfiguration() const
Definition: CreateSourceLocationResult.h:43
Aws::MediaTailor::Model::CreateSourceLocationResult::GetHttpConfiguration
const HttpConfiguration & GetHttpConfiguration() const
Definition: CreateSourceLocationResult.h:157
Aws::MediaTailor::Model::CreateSourceLocationResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: CreateSourceLocationResult.h:115
Aws::MediaTailor::Model::CreateSourceLocationResult::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: CreateSourceLocationResult.h:209
DefaultSegmentDeliveryConfiguration.h
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(Aws::String &&key, const char *value)
Definition: CreateSourceLocationResult.h:295
AWSMap.h
Aws::MediaTailor::Model::CreateSourceLocationResult::AddTags
CreateSourceLocationResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateSourceLocationResult.h:280
Aws::MediaTailor::Model::CreateSourceLocationResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateSourceLocationResult.h:250
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::MediaTailor::Model::CreateSourceLocationResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateSourceLocationResult.h:255