AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const AccessConfiguration& GetAccessConfiguration() const { return m_accessConfiguration; }
47 template<typename AccessConfigurationT = AccessConfiguration>
48 void SetAccessConfiguration(AccessConfigurationT&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::forward<AccessConfigurationT>(value); }
49 template<typename AccessConfigurationT = AccessConfiguration>
50 DescribeSourceLocationResult& WithAccessConfiguration(AccessConfigurationT&& value) { SetAccessConfiguration(std::forward<AccessConfigurationT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 DescribeSourceLocationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
69 template<typename CreationTimeT = Aws::Utils::DateTime>
70 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
71 template<typename CreationTimeT = Aws::Utils::DateTime>
72 DescribeSourceLocationResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
74
76
79 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const { return m_defaultSegmentDeliveryConfiguration; }
80 template<typename DefaultSegmentDeliveryConfigurationT = DefaultSegmentDeliveryConfiguration>
81 void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::forward<DefaultSegmentDeliveryConfigurationT>(value); }
82 template<typename DefaultSegmentDeliveryConfigurationT = DefaultSegmentDeliveryConfiguration>
83 DescribeSourceLocationResult& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT&& value) { SetDefaultSegmentDeliveryConfiguration(std::forward<DefaultSegmentDeliveryConfigurationT>(value)); return *this;}
85
87
90 inline const HttpConfiguration& GetHttpConfiguration() const { return m_httpConfiguration; }
91 template<typename HttpConfigurationT = HttpConfiguration>
92 void SetHttpConfiguration(HttpConfigurationT&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::forward<HttpConfigurationT>(value); }
93 template<typename HttpConfigurationT = HttpConfiguration>
94 DescribeSourceLocationResult& WithHttpConfiguration(HttpConfigurationT&& value) { SetHttpConfiguration(std::forward<HttpConfigurationT>(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
102 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
103 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
104 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
105 DescribeSourceLocationResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
107
109
113 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const { return m_segmentDeliveryConfigurations; }
114 template<typename SegmentDeliveryConfigurationsT = Aws::Vector<SegmentDeliveryConfiguration>>
115 void SetSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = std::forward<SegmentDeliveryConfigurationsT>(value); }
116 template<typename SegmentDeliveryConfigurationsT = Aws::Vector<SegmentDeliveryConfiguration>>
117 DescribeSourceLocationResult& WithSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { SetSegmentDeliveryConfigurations(std::forward<SegmentDeliveryConfigurationsT>(value)); return *this;}
118 template<typename SegmentDeliveryConfigurationsT = SegmentDeliveryConfiguration>
119 DescribeSourceLocationResult& AddSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.emplace_back(std::forward<SegmentDeliveryConfigurationsT>(value)); return *this; }
121
123
126 inline const Aws::String& GetSourceLocationName() const { return m_sourceLocationName; }
127 template<typename SourceLocationNameT = Aws::String>
128 void SetSourceLocationName(SourceLocationNameT&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::forward<SourceLocationNameT>(value); }
129 template<typename SourceLocationNameT = Aws::String>
130 DescribeSourceLocationResult& WithSourceLocationName(SourceLocationNameT&& value) { SetSourceLocationName(std::forward<SourceLocationNameT>(value)); return *this;}
132
134
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
142 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 DescribeSourceLocationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 DescribeSourceLocationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template<typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
157 template<typename RequestIdT = Aws::String>
158 DescribeSourceLocationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
160 private:
161
162 AccessConfiguration m_accessConfiguration;
163 bool m_accessConfigurationHasBeenSet = false;
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 Aws::Utils::DateTime m_creationTime{};
169 bool m_creationTimeHasBeenSet = false;
170
171 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
172 bool m_defaultSegmentDeliveryConfigurationHasBeenSet = false;
173
174 HttpConfiguration m_httpConfiguration;
175 bool m_httpConfigurationHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastModifiedTime{};
178 bool m_lastModifiedTimeHasBeenSet = false;
179
180 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
181 bool m_segmentDeliveryConfigurationsHasBeenSet = false;
182
183 Aws::String m_sourceLocationName;
184 bool m_sourceLocationNameHasBeenSet = false;
185
187 bool m_tagsHasBeenSet = false;
188
189 Aws::String m_requestId;
190 bool m_requestIdHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace MediaTailor
195} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeSourceLocationResult & WithSourceLocationName(SourceLocationNameT &&value)
DescribeSourceLocationResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_MEDIATAILOR_API DescribeSourceLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeSourceLocationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeSourceLocationResult & WithSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT &&value)
AWS_MEDIATAILOR_API DescribeSourceLocationResult()=default
DescribeSourceLocationResult & AddSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
DescribeSourceLocationResult & WithHttpConfiguration(HttpConfigurationT &&value)
AWS_MEDIATAILOR_API DescribeSourceLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
DescribeSourceLocationResult & WithTags(TagsT &&value)
DescribeSourceLocationResult & WithRequestId(RequestIdT &&value)
DescribeSourceLocationResult & WithCreationTime(CreationTimeT &&value)
DescribeSourceLocationResult & WithAccessConfiguration(AccessConfigurationT &&value)
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
void SetSegmentDeliveryConfigurations(SegmentDeliveryConfigurationsT &&value)
DescribeSourceLocationResult & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfigurationT &&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