AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeSourceLocationResult.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 DescribeSourceLocationResult& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;}
59 
63  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
90 
94  inline DescribeSourceLocationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
95 
99  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
121 
125  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;}
147 
151  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;}
173 
177  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
199 
203  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
230 
234  inline DescribeSourceLocationResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
235 
239  inline DescribeSourceLocationResult& 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 DescribeSourceLocationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
261 
265  inline DescribeSourceLocationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
266 
270  inline DescribeSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
271 
275  inline DescribeSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
276 
280  inline DescribeSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
281 
285  inline DescribeSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
286 
290  inline DescribeSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
291 
295  inline DescribeSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
296 
300  inline DescribeSourceLocationResult& 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::Utils::DateTime
Definition: DateTime.h:55
HttpConfiguration.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithLastModifiedTime
DescribeSourceLocationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeSourceLocationResult.h:203
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeSourceLocationResult.h:255
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: DescribeSourceLocationResult.h:141
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeSourceLocationResult.h:250
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithLastModifiedTime
DescribeSourceLocationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeSourceLocationResult.h:198
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithDefaultSegmentDeliveryConfiguration
DescribeSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: DescribeSourceLocationResult.h:146
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeSourceLocationResult.h:193
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetAccessConfiguration
void SetAccessConfiguration(AccessConfiguration &&value)
Definition: DescribeSourceLocationResult.h:53
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithAccessConfiguration
DescribeSourceLocationResult & WithAccessConfiguration(const AccessConfiguration &value)
Definition: DescribeSourceLocationResult.h:58
Aws::MediaTailor::Model::DescribeSourceLocationResult
Definition: DescribeSourceLocationResult.h:33
DateTime.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: DescribeSourceLocationResult.h:214
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeSourceLocationResult.h:183
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithArn
DescribeSourceLocationResult & WithArn(Aws::String &&value)
Definition: DescribeSourceLocationResult.h:94
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithArn
DescribeSourceLocationResult & WithArn(const Aws::String &value)
Definition: DescribeSourceLocationResult.h:89
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithAccessConfiguration
DescribeSourceLocationResult & WithAccessConfiguration(AccessConfiguration &&value)
Definition: DescribeSourceLocationResult.h:63
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetArn
void SetArn(const char *value)
Definition: DescribeSourceLocationResult.h:84
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(const char *key, const char *value)
Definition: DescribeSourceLocationResult.h:300
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithTags
DescribeSourceLocationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeSourceLocationResult.h:260
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeSourceLocationResult.h:105
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetHttpConfiguration
void SetHttpConfiguration(HttpConfiguration &&value)
Definition: DescribeSourceLocationResult.h:167
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithCreationTime
DescribeSourceLocationResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeSourceLocationResult.h:125
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithTags
DescribeSourceLocationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeSourceLocationResult.h:265
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeSourceLocationResult.h:74
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(Aws::String &&key, const char *value)
Definition: DescribeSourceLocationResult.h:295
Aws::MediaTailor::Model::DescribeSourceLocationResult::DescribeSourceLocationResult
DescribeSourceLocationResult()
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: DescribeSourceLocationResult.h:280
Aws::MediaTailor::Model::DescribeSourceLocationResult::DescribeSourceLocationResult
DescribeSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetDefaultSegmentDeliveryConfiguration
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
Definition: DescribeSourceLocationResult.h:131
Aws::MediaTailor::Model::AccessConfiguration
Definition: AccessConfiguration.h:33
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: DescribeSourceLocationResult.h:136
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeSourceLocationResult.h:188
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: DescribeSourceLocationResult.h:224
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(const char *key, Aws::String &&value)
Definition: DescribeSourceLocationResult.h:290
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: DescribeSourceLocationResult.h:275
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithSourceLocationName
DescribeSourceLocationResult & WithSourceLocationName(Aws::String &&value)
Definition: DescribeSourceLocationResult.h:234
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: DescribeSourceLocationResult.h:270
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeSourceLocationResult.h:115
AccessConfiguration.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetAccessConfiguration
const AccessConfiguration & GetAccessConfiguration() const
Definition: DescribeSourceLocationResult.h:43
AWSString.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithHttpConfiguration
DescribeSourceLocationResult & WithHttpConfiguration(const HttpConfiguration &value)
Definition: DescribeSourceLocationResult.h:172
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithSourceLocationName
DescribeSourceLocationResult & WithSourceLocationName(const char *value)
Definition: DescribeSourceLocationResult.h:239
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetHttpConfiguration
const HttpConfiguration & GetHttpConfiguration() const
Definition: DescribeSourceLocationResult.h:157
Aws::MediaTailor::Model::HttpConfiguration
Definition: HttpConfiguration.h:32
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DefaultSegmentDeliveryConfiguration
Definition: DefaultSegmentDeliveryConfiguration.h:38
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: DescribeSourceLocationResult.h:209
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithCreationTime
DescribeSourceLocationResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeSourceLocationResult.h:120
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeSourceLocationResult.h:79
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithArn
DescribeSourceLocationResult & WithArn(const char *value)
Definition: DescribeSourceLocationResult.h:99
Aws::MediaTailor::Model::DescribeSourceLocationResult::AddTags
DescribeSourceLocationResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: DescribeSourceLocationResult.h:285
Aws::MediaTailor::Model::DescribeSourceLocationResult::operator=
DescribeSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: DescribeSourceLocationResult.h:245
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetHttpConfiguration
void SetHttpConfiguration(const HttpConfiguration &value)
Definition: DescribeSourceLocationResult.h:162
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeSourceLocationResult.h:110
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithSourceLocationName
DescribeSourceLocationResult & WithSourceLocationName(const Aws::String &value)
Definition: DescribeSourceLocationResult.h:229
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DescribeSourceLocationResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeSourceLocationResult.h:69
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithDefaultSegmentDeliveryConfiguration
DescribeSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: DescribeSourceLocationResult.h:151
DefaultSegmentDeliveryConfiguration.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::WithHttpConfiguration
DescribeSourceLocationResult & WithHttpConfiguration(HttpConfiguration &&value)
Definition: DescribeSourceLocationResult.h:177
AWSMap.h
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetAccessConfiguration
void SetAccessConfiguration(const AccessConfiguration &value)
Definition: DescribeSourceLocationResult.h:48
Aws::MediaTailor::Model::DescribeSourceLocationResult::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: DescribeSourceLocationResult.h:219
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19