AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSourceLocationResult.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 CreateSourceLocationResult();
40
41
43
47 inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
48 inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfiguration = value; }
49 inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfiguration = std::move(value); }
53
55
58 inline const Aws::String& GetArn() const{ return m_arn; }
59 inline void SetArn(const Aws::String& value) { m_arn = value; }
60 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
61 inline void SetArn(const char* value) { m_arn.assign(value); }
62 inline CreateSourceLocationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline CreateSourceLocationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline CreateSourceLocationResult& WithArn(const char* value) { SetArn(value); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
72 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
73 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
75 inline CreateSourceLocationResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
77
79
82 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
83 inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfiguration = value; }
84 inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfiguration = std::move(value); }
88
90
93 inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
94 inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfiguration = value; }
95 inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfiguration = std::move(value); }
99
101
104 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
105 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
106 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
110
112
118 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const{ return m_segmentDeliveryConfigurations; }
119 inline void SetSegmentDeliveryConfigurations(const Aws::Vector<SegmentDeliveryConfiguration>& value) { m_segmentDeliveryConfigurations = value; }
120 inline void SetSegmentDeliveryConfigurations(Aws::Vector<SegmentDeliveryConfiguration>&& value) { m_segmentDeliveryConfigurations = std::move(value); }
123 inline CreateSourceLocationResult& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurations.push_back(value); return *this; }
124 inline CreateSourceLocationResult& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { m_segmentDeliveryConfigurations.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
132 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationName = value; }
133 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationName = std::move(value); }
134 inline void SetSourceLocationName(const char* value) { m_sourceLocationName.assign(value); }
136 inline CreateSourceLocationResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
137 inline CreateSourceLocationResult& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
139
141
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
149 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
150 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
152 inline CreateSourceLocationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
153 inline CreateSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
154 inline CreateSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
156 inline CreateSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
157 inline CreateSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
158 inline CreateSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
159 inline CreateSourceLocationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
166 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
167 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
168 inline CreateSourceLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline CreateSourceLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline CreateSourceLocationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
172 private:
173
174 AccessConfiguration m_accessConfiguration;
175
176 Aws::String m_arn;
177
178 Aws::Utils::DateTime m_creationTime;
179
180 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
181
182 HttpConfiguration m_httpConfiguration;
183
184 Aws::Utils::DateTime m_lastModifiedTime;
185
186 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
187
188 Aws::String m_sourceLocationName;
189
191
192 Aws::String m_requestId;
193 };
194
195} // namespace Model
196} // namespace MediaTailor
197} // namespace Aws
CreateSourceLocationResult & WithArn(const char *value)
CreateSourceLocationResult & WithRequestId(const Aws::String &value)
CreateSourceLocationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSourceLocationResult & WithHttpConfiguration(const HttpConfiguration &value)
CreateSourceLocationResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSourceLocationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
CreateSourceLocationResult & WithSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
CreateSourceLocationResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateSourceLocationResult & WithSourceLocationName(Aws::String &&value)
AWS_MEDIATAILOR_API CreateSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceLocationResult & AddTags(Aws::String &&key, const Aws::String &value)
AWS_MEDIATAILOR_API CreateSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSourceLocationResult & AddTags(const char *key, const char *value)
CreateSourceLocationResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateSourceLocationResult & WithSourceLocationName(const Aws::String &value)
void SetSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
CreateSourceLocationResult & WithAccessConfiguration(const AccessConfiguration &value)
CreateSourceLocationResult & AddTags(Aws::String &&key, const char *value)
CreateSourceLocationResult & WithSourceLocationName(const char *value)
CreateSourceLocationResult & WithHttpConfiguration(HttpConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
CreateSourceLocationResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateSourceLocationResult & WithSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSourceLocationResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateSourceLocationResult & AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration &value)
CreateSourceLocationResult & WithRequestId(const char *value)
CreateSourceLocationResult & AddTags(const char *key, Aws::String &&value)
CreateSourceLocationResult & WithRequestId(Aws::String &&value)
CreateSourceLocationResult & WithArn(Aws::String &&value)
CreateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
CreateSourceLocationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
CreateSourceLocationResult & WithAccessConfiguration(AccessConfiguration &&value)
CreateSourceLocationResult & WithArn(const Aws::String &value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
CreateSourceLocationResult & AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration &&value)
void SetSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
void SetAccessConfiguration(const AccessConfiguration &value)
CreateSourceLocationResult & WithLastModifiedTime(const Aws::Utils::DateTime &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