AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSourceLocationResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/AccessConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediatailor/model/DefaultSegmentDeliveryConfiguration.h>
12#include <aws/mediatailor/model/HttpConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mediatailor/model/SegmentDeliveryConfiguration.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace MediaTailor
31{
32namespace Model
33{
35 {
36 public:
37 AWS_MEDIATAILOR_API DescribeSourceLocationResult();
40
41
43
46 inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
47 inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfiguration = value; }
48 inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfiguration = std::move(value); }
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline void SetArn(const Aws::String& value) { m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arn.assign(value); }
61 inline DescribeSourceLocationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline DescribeSourceLocationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline DescribeSourceLocationResult& WithArn(const char* value) { SetArn(value); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
71 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
72 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
74 inline DescribeSourceLocationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
76
78
81 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
82 inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfiguration = value; }
83 inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfiguration = std::move(value); }
87
89
92 inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
93 inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfiguration = value; }
94 inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfiguration = std::move(value); }
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
104 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
105 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
109
111
115 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const{ return m_segmentDeliveryConfigurations; }
116 inline void SetSegmentDeliveryConfigurations(const Aws::Vector<SegmentDeliveryConfiguration>& value) { m_segmentDeliveryConfigurations = value; }
117 inline void SetSegmentDeliveryConfigurations(Aws::Vector<SegmentDeliveryConfiguration>&& value) { m_segmentDeliveryConfigurations = std::move(value); }
120 inline DescribeSourceLocationResult& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurations.push_back(value); return *this; }
121 inline DescribeSourceLocationResult& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { m_segmentDeliveryConfigurations.push_back(std::move(value)); return *this; }
123
125
128 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
129 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
130 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
131 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
134 inline DescribeSourceLocationResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
136
138
145 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
146 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
147 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
149 inline DescribeSourceLocationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
150 inline DescribeSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
151 inline DescribeSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
152 inline DescribeSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
153 inline DescribeSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
154 inline DescribeSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
155 inline DescribeSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
156 inline DescribeSourceLocationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline DescribeSourceLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline DescribeSourceLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline DescribeSourceLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 AccessConfiguration m_accessConfiguration;
172
173 Aws::String m_arn;
174
175 Aws::Utils::DateTime m_creationTime;
176
177 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
178
179 HttpConfiguration m_httpConfiguration;
180
181 Aws::Utils::DateTime m_lastModifiedTime;
182
183 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
184
185 Aws::String m_sourceLocationName;
186
188
189 Aws::String m_requestId;
190 };
191
192} // namespace Model
193} // namespace MediaTailor
194} // namespace Aws
DescribeSourceLocationResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeSourceLocationResult & WithHttpConfiguration(const HttpConfiguration &value)
void SetSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
DescribeSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
DescribeSourceLocationResult & WithRequestId(const char *value)
DescribeSourceLocationResult & WithSourceLocationName(Aws::String &&value)
DescribeSourceLocationResult & WithSourceLocationName(const char *value)
DescribeSourceLocationResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSourceLocationResult & WithArn(Aws::String &&value)
DescribeSourceLocationResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeSourceLocationResult & WithSourceLocationName(const Aws::String &value)
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
DescribeSourceLocationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_MEDIATAILOR_API DescribeSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSourceLocationResult & WithRequestId(const Aws::String &value)
DescribeSourceLocationResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeSourceLocationResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeSourceLocationResult & WithSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
DescribeSourceLocationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
DescribeSourceLocationResult & WithArn(const Aws::String &value)
DescribeSourceLocationResult & AddTags(Aws::String &&key, const char *value)
AWS_MEDIATAILOR_API DescribeSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
DescribeSourceLocationResult & WithHttpConfiguration(HttpConfiguration &&value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
DescribeSourceLocationResult & WithAccessConfiguration(AccessConfiguration &&value)
DescribeSourceLocationResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeSourceLocationResult & WithArn(const char *value)
DescribeSourceLocationResult & AddTags(const char *key, const char *value)
DescribeSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
DescribeSourceLocationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeSourceLocationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeSourceLocationResult & WithRequestId(Aws::String &&value)
DescribeSourceLocationResult & WithAccessConfiguration(const AccessConfiguration &value)
DescribeSourceLocationResult & WithSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
DescribeSourceLocationResult & AddTags(const char *key, Aws::String &&value)
DescribeSourceLocationResult & AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration &value)
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
DescribeSourceLocationResult & AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue