AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreatePrefetchScheduleResult.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/RecurringPrefetchConfiguration.h>
12#include <aws/mediatailor/model/PrefetchScheduleType.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 CreatePrefetchScheduleResult() = 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 CreatePrefetchScheduleResult& 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 CreatePrefetchScheduleResult& WithConsumption(ConsumptionT&& value) { SetConsumption(std::forward<ConsumptionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 template<typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
72 template<typename NameT = Aws::String>
73 CreatePrefetchScheduleResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetPlaybackConfigurationName() const { return m_playbackConfigurationName; }
81 template<typename PlaybackConfigurationNameT = Aws::String>
82 void SetPlaybackConfigurationName(PlaybackConfigurationNameT&& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = std::forward<PlaybackConfigurationNameT>(value); }
83 template<typename PlaybackConfigurationNameT = Aws::String>
84 CreatePrefetchScheduleResult& WithPlaybackConfigurationName(PlaybackConfigurationNameT&& value) { SetPlaybackConfigurationName(std::forward<PlaybackConfigurationNameT>(value)); return *this;}
86
88
93 inline const PrefetchRetrieval& GetRetrieval() const { return m_retrieval; }
94 template<typename RetrievalT = PrefetchRetrieval>
95 void SetRetrieval(RetrievalT&& value) { m_retrievalHasBeenSet = true; m_retrieval = std::forward<RetrievalT>(value); }
96 template<typename RetrievalT = PrefetchRetrieval>
97 CreatePrefetchScheduleResult& WithRetrieval(RetrievalT&& value) { SetRetrieval(std::forward<RetrievalT>(value)); return *this;}
99
101
105 inline const RecurringPrefetchConfiguration& GetRecurringPrefetchConfiguration() const { return m_recurringPrefetchConfiguration; }
106 template<typename RecurringPrefetchConfigurationT = RecurringPrefetchConfiguration>
107 void SetRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT&& value) { m_recurringPrefetchConfigurationHasBeenSet = true; m_recurringPrefetchConfiguration = std::forward<RecurringPrefetchConfigurationT>(value); }
108 template<typename RecurringPrefetchConfigurationT = RecurringPrefetchConfiguration>
109 CreatePrefetchScheduleResult& WithRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT&& value) { SetRecurringPrefetchConfiguration(std::forward<RecurringPrefetchConfigurationT>(value)); return *this;}
111
113
119 inline PrefetchScheduleType GetScheduleType() const { return m_scheduleType; }
120 inline void SetScheduleType(PrefetchScheduleType value) { m_scheduleTypeHasBeenSet = true; m_scheduleType = value; }
123
125
133 inline const Aws::String& GetStreamId() const { return m_streamId; }
134 template<typename StreamIdT = Aws::String>
135 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
136 template<typename StreamIdT = Aws::String>
137 CreatePrefetchScheduleResult& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 CreatePrefetchScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::String m_arn;
151 bool m_arnHasBeenSet = false;
152
153 PrefetchConsumption m_consumption;
154 bool m_consumptionHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::String m_playbackConfigurationName;
160 bool m_playbackConfigurationNameHasBeenSet = false;
161
162 PrefetchRetrieval m_retrieval;
163 bool m_retrievalHasBeenSet = false;
164
165 RecurringPrefetchConfiguration m_recurringPrefetchConfiguration;
166 bool m_recurringPrefetchConfigurationHasBeenSet = false;
167
169 bool m_scheduleTypeHasBeenSet = false;
170
171 Aws::String m_streamId;
172 bool m_streamIdHasBeenSet = false;
173
174 Aws::String m_requestId;
175 bool m_requestIdHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace MediaTailor
180} // namespace Aws
CreatePrefetchScheduleResult & WithStreamId(StreamIdT &&value)
AWS_MEDIATAILOR_API CreatePrefetchScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const RecurringPrefetchConfiguration & GetRecurringPrefetchConfiguration() const
AWS_MEDIATAILOR_API CreatePrefetchScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT &&value)
CreatePrefetchScheduleResult & WithRequestId(RequestIdT &&value)
void SetPlaybackConfigurationName(PlaybackConfigurationNameT &&value)
AWS_MEDIATAILOR_API CreatePrefetchScheduleResult()=default
CreatePrefetchScheduleResult & WithPlaybackConfigurationName(PlaybackConfigurationNameT &&value)
CreatePrefetchScheduleResult & WithRecurringPrefetchConfiguration(RecurringPrefetchConfigurationT &&value)
CreatePrefetchScheduleResult & WithConsumption(ConsumptionT &&value)
CreatePrefetchScheduleResult & WithName(NameT &&value)
CreatePrefetchScheduleResult & WithScheduleType(PrefetchScheduleType value)
CreatePrefetchScheduleResult & WithRetrieval(RetrievalT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue