AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSourceLocationResult.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 UpdateSourceLocationResult();
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 UpdateSourceLocationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
63 inline UpdateSourceLocationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
64 inline UpdateSourceLocationResult& 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 UpdateSourceLocationResult& 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 UpdateSourceLocationResult& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurations.push_back(value); return *this; }
124 inline UpdateSourceLocationResult& 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 UpdateSourceLocationResult& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
137 inline UpdateSourceLocationResult& 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 UpdateSourceLocationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
153 inline UpdateSourceLocationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
154 inline UpdateSourceLocationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
155 inline UpdateSourceLocationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
156 inline UpdateSourceLocationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
157 inline UpdateSourceLocationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
158 inline UpdateSourceLocationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
159 inline UpdateSourceLocationResult& 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 UpdateSourceLocationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline UpdateSourceLocationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline UpdateSourceLocationResult& 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
UpdateSourceLocationResult & WithArn(Aws::String &&value)
void SetAccessConfiguration(const AccessConfiguration &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateSourceLocationResult & WithSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
UpdateSourceLocationResult & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
UpdateSourceLocationResult & WithSourceLocationName(const Aws::String &value)
UpdateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
UpdateSourceLocationResult & WithRequestId(Aws::String &&value)
UpdateSourceLocationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateSourceLocationResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateSourceLocationResult & AddTags(const char *key, Aws::String &&value)
UpdateSourceLocationResult & WithArn(const char *value)
UpdateSourceLocationResult & AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration &&value)
UpdateSourceLocationResult & WithAccessConfiguration(AccessConfiguration &&value)
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
UpdateSourceLocationResult & WithAccessConfiguration(const AccessConfiguration &value)
UpdateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
UpdateSourceLocationResult & AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration &value)
void SetSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSourceLocationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSourceLocationResult & WithArn(const Aws::String &value)
void SetSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
UpdateSourceLocationResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateSourceLocationResult & WithSourceLocationName(Aws::String &&value)
UpdateSourceLocationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSourceLocationResult & AddTags(const char *key, const char *value)
UpdateSourceLocationResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateSourceLocationResult & WithRequestId(const char *value)
UpdateSourceLocationResult & WithSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateSourceLocationResult & WithHttpConfiguration(HttpConfiguration &&value)
UpdateSourceLocationResult & WithHttpConfiguration(const HttpConfiguration &value)
UpdateSourceLocationResult & WithSourceLocationName(const char *value)
UpdateSourceLocationResult & AddTags(Aws::String &&key, const char *value)
UpdateSourceLocationResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateSourceLocationResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateSourceLocationResult & WithRequestId(const Aws::String &value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
AWS_MEDIATAILOR_API UpdateSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_MEDIATAILOR_API UpdateSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
UpdateSourceLocationResult & 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