AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
47 inline const AccessConfiguration& GetAccessConfiguration() const { return m_accessConfiguration; }
48 template<typename AccessConfigurationT = AccessConfiguration>
49 void SetAccessConfiguration(AccessConfigurationT&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::forward<AccessConfigurationT>(value); }
50 template<typename AccessConfigurationT = AccessConfiguration>
51 UpdateSourceLocationResult& WithAccessConfiguration(AccessConfigurationT&& value) { SetAccessConfiguration(std::forward<AccessConfigurationT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 UpdateSourceLocationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
70 template<typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 UpdateSourceLocationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
75
77
80 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const { return m_defaultSegmentDeliveryConfiguration; }
81 template<typename DefaultSegmentDeliveryConfigurationT = DefaultSegmentDeliveryConfiguration>
82 void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::forward<DefaultSegmentDeliveryConfigurationT>(value); }
83 template<typename DefaultSegmentDeliveryConfigurationT = DefaultSegmentDeliveryConfiguration>
84 UpdateSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT&& value) { SetDefaultSegmentDeliveryConfiguration(std::forward<DefaultSegmentDeliveryConfigurationT>(value)); return *this;}
86
88
91 inline const HttpConfiguration& GetHttpConfiguration() const { return m_httpConfiguration; }
92 template<typename HttpConfigurationT = HttpConfiguration>
93 void SetHttpConfiguration(HttpConfigurationT&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::forward<HttpConfigurationT>(value); }
94 template<typename HttpConfigurationT = HttpConfiguration>
95 UpdateSourceLocationResult& WithHttpConfiguration(HttpConfigurationT&& value) { SetHttpConfiguration(std::forward<HttpConfigurationT>(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
103 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
104 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
105 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
106 UpdateSourceLocationResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
108
110
116 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const { return m_segmentDeliveryConfigurations; }
117 template<typename SegmentDeliveryConfigurationsT = Aws::Vector<SegmentDeliveryConfiguration>>
118 void SetSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = std::forward<SegmentDeliveryConfigurationsT>(value); }
119 template<typename SegmentDeliveryConfigurationsT = Aws::Vector<SegmentDeliveryConfiguration>>
120 UpdateSourceLocationResult& WithSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { SetSegmentDeliveryConfigurations(std::forward<SegmentDeliveryConfigurationsT>(value)); return *this;}
121 template<typename SegmentDeliveryConfigurationsT = SegmentDeliveryConfiguration>
122 UpdateSourceLocationResult& AddSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.emplace_back(std::forward<SegmentDeliveryConfigurationsT>(value)); return *this; }
124
126
129 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
130 template<typename SourceLocationNameT = Aws::String>
131 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
132 template<typename SourceLocationNameT = Aws::String>
133 UpdateSourceLocationResult& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
135
137
144 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
145 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
147 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 UpdateSourceLocationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
149 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
150 UpdateSourceLocationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
151 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
152 }
154
156
157 inline const Aws::String& GetRequestId() const { return m_requestId; }
158 template<typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
160 template<typename RequestIdT = Aws::String>
161 UpdateSourceLocationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
163 private:
164
165 AccessConfiguration m_accessConfiguration;
166 bool m_accessConfigurationHasBeenSet = false;
167
168 Aws::String m_arn;
169 bool m_arnHasBeenSet = false;
170
171 Aws::Utils::DateTime m_creationTime{};
172 bool m_creationTimeHasBeenSet = false;
173
174 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
175 bool m_defaultSegmentDeliveryConfigurationHasBeenSet = false;
176
177 HttpConfiguration m_httpConfiguration;
178 bool m_httpConfigurationHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedTime{};
181 bool m_lastModifiedTimeHasBeenSet = false;
182
183 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
184 bool m_segmentDeliveryConfigurationsHasBeenSet = false;
185
186 Aws::String m_sourceLocationName;
187 bool m_sourceLocationNameHasBeenSet = false;
188
190 bool m_tagsHasBeenSet = false;
191
192 Aws::String m_requestId;
193 bool m_requestIdHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace MediaTailor
198} // namespace Aws
UpdateSourceLocationResult & WithSourceLocationName(SourceLocationNameT &&value)
UpdateSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
void SetSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
UpdateSourceLocationResult & WithHttpConfiguration(HttpConfigurationT &&value)
UpdateSourceLocationResult & WithRequestId(RequestIdT &&value)
UpdateSourceLocationResult & WithArn(ArnT &&value)
UpdateSourceLocationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateSourceLocationResult & WithCreationTime(CreationTimeT &&value)
UpdateSourceLocationResult & AddSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
UpdateSourceLocationResult & WithLastModifiedTime(LastModifiedTimeT &&value)
UpdateSourceLocationResult & WithTags(TagsT &&value)
UpdateSourceLocationResult & WithAccessConfiguration(AccessConfigurationT &&value)
AWS_MEDIATAILOR_API UpdateSourceLocationResult()=default
UpdateSourceLocationResult & WithSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT &&value)
AWS_MEDIATAILOR_API UpdateSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIATAILOR_API UpdateSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
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