AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetPrefetchScheduleResult.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediatailor/model/PrefetchConsumption.h>
10#include <aws/mediatailor/model/PrefetchRetrieval.h>
11#include <aws/mediatailor/model/PrefetchScheduleType.h>
12#include <aws/mediatailor/model/RecurringPrefetchConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaTailor
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIATAILOR_API GetPrefetchScheduleResult() = default;
37
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 GetPrefetchScheduleResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
58 inline const PrefetchConsumption& GetConsumption() const { return m_consumption; }
59 template<typename ConsumptionT = PrefetchConsumption>
60 void SetConsumption(ConsumptionT&& value) { m_consumptionHasBeenSet = true; m_consumption = std::forward<ConsumptionT>(value); }
61 template<typename ConsumptionT = PrefetchConsumption>
62 GetPrefetchScheduleResult& WithConsumption(ConsumptionT&& value) { SetConsumption(std::forward<ConsumptionT>(value)); return *this;}
64
66
70 inline const Aws::String& GetName() const { return m_name; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 GetPrefetchScheduleResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
82 inline const Aws::String& GetPlaybackConfigurationName() const { return m_playbackConfigurationName; }
83 template<typename PlaybackConfigurationNameT = Aws::String>
84 void SetPlaybackConfigurationName(PlaybackConfigurationNameT&& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = std::forward<PlaybackConfigurationNameT>(value); }
85 template<typename PlaybackConfigurationNameT = Aws::String>
86 GetPrefetchScheduleResult& WithPlaybackConfigurationName(PlaybackConfigurationNameT&& value) { SetPlaybackConfigurationName(std::forward<PlaybackConfigurationNameT>(value)); return *this;}
88
90
94 inline const PrefetchRetrieval& GetRetrieval() const { return m_retrieval; }
95 template<typename RetrievalT = PrefetchRetrieval>
96 void SetRetrieval(RetrievalT&& value) { m_retrievalHasBeenSet = true; m_retrieval = std::forward<RetrievalT>(value); }
97 template<typename RetrievalT = PrefetchRetrieval>
98 GetPrefetchScheduleResult& WithRetrieval(RetrievalT&& value) { SetRetrieval(std::forward<RetrievalT>(value)); return *this;}
100
102
108 inline PrefetchScheduleType GetScheduleType() const { return m_scheduleType; }
109 inline void SetScheduleType(PrefetchScheduleType value) { m_scheduleTypeHasBeenSet = true; m_scheduleType = value; }
112
114
118 inline const RecurringPrefetchConfiguration& GetRecurringPrefetchConfiguration() const { return m_recurringPrefetchConfiguration; }
119 template<typename RecurringPrefetchConfigurationT = RecurringPrefetchConfiguration>
120 void SetRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT&& value) { m_recurringPrefetchConfigurationHasBeenSet = true; m_recurringPrefetchConfiguration = std::forward<RecurringPrefetchConfigurationT>(value); }
121 template<typename RecurringPrefetchConfigurationT = RecurringPrefetchConfiguration>
122 GetPrefetchScheduleResult& WithRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT&& value) { SetRecurringPrefetchConfiguration(std::forward<RecurringPrefetchConfigurationT>(value)); return *this;}
124
126
130 inline const Aws::String& GetStreamId() const { return m_streamId; }
131 template<typename StreamIdT = Aws::String>
132 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
133 template<typename StreamIdT = Aws::String>
134 GetPrefetchScheduleResult& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template<typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
142 template<typename RequestIdT = Aws::String>
143 GetPrefetchScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 PrefetchConsumption m_consumption;
151 bool m_consumptionHasBeenSet = false;
152
153 Aws::String m_name;
154 bool m_nameHasBeenSet = false;
155
156 Aws::String m_playbackConfigurationName;
157 bool m_playbackConfigurationNameHasBeenSet = false;
158
159 PrefetchRetrieval m_retrieval;
160 bool m_retrievalHasBeenSet = false;
161
163 bool m_scheduleTypeHasBeenSet = false;
164
165 RecurringPrefetchConfiguration m_recurringPrefetchConfiguration;
166 bool m_recurringPrefetchConfigurationHasBeenSet = false;
167
168 Aws::String m_streamId;
169 bool m_streamIdHasBeenSet = false;
170
171 Aws::String m_requestId;
172 bool m_requestIdHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace MediaTailor
177} // namespace Aws
GetPrefetchScheduleResult & WithRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT &&value)
AWS_MEDIATAILOR_API GetPrefetchScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrefetchScheduleResult & WithStreamId(StreamIdT &&value)
void SetRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT &&value)
GetPrefetchScheduleResult & WithRetrieval(RetrievalT &&value)
AWS_MEDIATAILOR_API GetPrefetchScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrefetchScheduleResult & WithRequestId(RequestIdT &&value)
AWS_MEDIATAILOR_API GetPrefetchScheduleResult()=default
const RecurringPrefetchConfiguration & GetRecurringPrefetchConfiguration() const
GetPrefetchScheduleResult & WithName(NameT &&value)
GetPrefetchScheduleResult & WithConsumption(ConsumptionT &&value)
void SetPlaybackConfigurationName(PlaybackConfigurationNameT &&value)
GetPrefetchScheduleResult & WithPlaybackConfigurationName(PlaybackConfigurationNameT &&value)
GetPrefetchScheduleResult & WithArn(ArnT &&value)
GetPrefetchScheduleResult & WithScheduleType(PrefetchScheduleType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue