AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrefetchSchedule.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaTailor
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_MEDIATAILOR_API PrefetchSchedule();
42 AWS_MEDIATAILOR_API PrefetchSchedule(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIATAILOR_API PrefetchSchedule& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetArn() const{ return m_arn; }
52 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
55 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
56 inline PrefetchSchedule& WithArn(const Aws::String& value) { SetArn(value); return *this;}
57 inline PrefetchSchedule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
58 inline PrefetchSchedule& WithArn(const char* value) { SetArn(value); return *this;}
60
62
69 inline const PrefetchConsumption& GetConsumption() const{ return m_consumption; }
70 inline bool ConsumptionHasBeenSet() const { return m_consumptionHasBeenSet; }
71 inline void SetConsumption(const PrefetchConsumption& value) { m_consumptionHasBeenSet = true; m_consumption = value; }
72 inline void SetConsumption(PrefetchConsumption&& value) { m_consumptionHasBeenSet = true; m_consumption = std::move(value); }
73 inline PrefetchSchedule& WithConsumption(const PrefetchConsumption& value) { SetConsumption(value); return *this;}
74 inline PrefetchSchedule& WithConsumption(PrefetchConsumption&& value) { SetConsumption(std::move(value)); return *this;}
76
78
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
85 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
86 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
87 inline PrefetchSchedule& WithName(const Aws::String& value) { SetName(value); return *this;}
88 inline PrefetchSchedule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
89 inline PrefetchSchedule& WithName(const char* value) { SetName(value); return *this;}
91
93
97 inline const Aws::String& GetPlaybackConfigurationName() const{ return m_playbackConfigurationName; }
98 inline bool PlaybackConfigurationNameHasBeenSet() const { return m_playbackConfigurationNameHasBeenSet; }
99 inline void SetPlaybackConfigurationName(const Aws::String& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = value; }
100 inline void SetPlaybackConfigurationName(Aws::String&& value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName = std::move(value); }
101 inline void SetPlaybackConfigurationName(const char* value) { m_playbackConfigurationNameHasBeenSet = true; m_playbackConfigurationName.assign(value); }
104 inline PrefetchSchedule& WithPlaybackConfigurationName(const char* value) { SetPlaybackConfigurationName(value); return *this;}
106
108
112 inline const PrefetchRetrieval& GetRetrieval() const{ return m_retrieval; }
113 inline bool RetrievalHasBeenSet() const { return m_retrievalHasBeenSet; }
114 inline void SetRetrieval(const PrefetchRetrieval& value) { m_retrievalHasBeenSet = true; m_retrieval = value; }
115 inline void SetRetrieval(PrefetchRetrieval&& value) { m_retrievalHasBeenSet = true; m_retrieval = std::move(value); }
116 inline PrefetchSchedule& WithRetrieval(const PrefetchRetrieval& value) { SetRetrieval(value); return *this;}
117 inline PrefetchSchedule& WithRetrieval(PrefetchRetrieval&& value) { SetRetrieval(std::move(value)); return *this;}
119
121
125 inline const Aws::String& GetStreamId() const{ return m_streamId; }
126 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
127 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
128 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
129 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
130 inline PrefetchSchedule& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
131 inline PrefetchSchedule& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
132 inline PrefetchSchedule& WithStreamId(const char* value) { SetStreamId(value); return *this;}
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 PrefetchConsumption m_consumption;
140 bool m_consumptionHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_playbackConfigurationName;
146 bool m_playbackConfigurationNameHasBeenSet = false;
147
148 PrefetchRetrieval m_retrieval;
149 bool m_retrievalHasBeenSet = false;
150
151 Aws::String m_streamId;
152 bool m_streamIdHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace MediaTailor
157} // namespace Aws
PrefetchSchedule & WithStreamId(const char *value)
void SetConsumption(PrefetchConsumption &&value)
void SetPlaybackConfigurationName(const char *value)
void SetRetrieval(PrefetchRetrieval &&value)
PrefetchSchedule & WithPlaybackConfigurationName(Aws::String &&value)
void SetPlaybackConfigurationName(const Aws::String &value)
PrefetchSchedule & WithStreamId(Aws::String &&value)
PrefetchSchedule & WithName(Aws::String &&value)
AWS_MEDIATAILOR_API PrefetchSchedule(Aws::Utils::Json::JsonView jsonValue)
PrefetchSchedule & WithPlaybackConfigurationName(const Aws::String &value)
PrefetchSchedule & WithArn(Aws::String &&value)
void SetRetrieval(const PrefetchRetrieval &value)
PrefetchSchedule & WithPlaybackConfigurationName(const char *value)
PrefetchSchedule & WithName(const char *value)
PrefetchSchedule & WithName(const Aws::String &value)
PrefetchSchedule & WithRetrieval(PrefetchRetrieval &&value)
void SetConsumption(const PrefetchConsumption &value)
void SetStreamId(const Aws::String &value)
void SetPlaybackConfigurationName(Aws::String &&value)
PrefetchSchedule & WithArn(const char *value)
const PrefetchRetrieval & GetRetrieval() const
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
PrefetchSchedule & WithStreamId(const Aws::String &value)
PrefetchSchedule & WithConsumption(PrefetchConsumption &&value)
PrefetchSchedule & WithConsumption(const PrefetchConsumption &value)
PrefetchSchedule & WithRetrieval(const PrefetchRetrieval &value)
void SetArn(const Aws::String &value)
PrefetchSchedule & WithArn(const Aws::String &value)
AWS_MEDIATAILOR_API PrefetchSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const PrefetchConsumption & GetConsumption() const
const Aws::String & GetPlaybackConfigurationName() const
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue