AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaTailor
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MEDIATAILOR_API GetPrefetchScheduleResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline GetPrefetchScheduleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline GetPrefetchScheduleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline GetPrefetchScheduleResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
58 inline const PrefetchConsumption& GetConsumption() const{ return m_consumption; }
59 inline void SetConsumption(const PrefetchConsumption& value) { m_consumption = value; }
60 inline void SetConsumption(PrefetchConsumption&& value) { m_consumption = std::move(value); }
61 inline GetPrefetchScheduleResult& WithConsumption(const PrefetchConsumption& value) { SetConsumption(value); return *this;}
62 inline GetPrefetchScheduleResult& WithConsumption(PrefetchConsumption&& value) { SetConsumption(std::move(value)); return *this;}
64
66
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline void SetName(const Aws::String& value) { m_name = value; }
72 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
73 inline void SetName(const char* value) { m_name.assign(value); }
74 inline GetPrefetchScheduleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline GetPrefetchScheduleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline GetPrefetchScheduleResult& WithName(const char* value) { SetName(value); return *this;}
78
80
84 inline const Aws::String& GetPlaybackConfigurationName() const{ return m_playbackConfigurationName; }
85 inline void SetPlaybackConfigurationName(const Aws::String& value) { m_playbackConfigurationName = value; }
86 inline void SetPlaybackConfigurationName(Aws::String&& value) { m_playbackConfigurationName = std::move(value); }
87 inline void SetPlaybackConfigurationName(const char* value) { m_playbackConfigurationName.assign(value); }
92
94
98 inline const PrefetchRetrieval& GetRetrieval() const{ return m_retrieval; }
99 inline void SetRetrieval(const PrefetchRetrieval& value) { m_retrieval = value; }
100 inline void SetRetrieval(PrefetchRetrieval&& value) { m_retrieval = std::move(value); }
101 inline GetPrefetchScheduleResult& WithRetrieval(const PrefetchRetrieval& value) { SetRetrieval(value); return *this;}
102 inline GetPrefetchScheduleResult& WithRetrieval(PrefetchRetrieval&& value) { SetRetrieval(std::move(value)); return *this;}
104
106
110 inline const Aws::String& GetStreamId() const{ return m_streamId; }
111 inline void SetStreamId(const Aws::String& value) { m_streamId = value; }
112 inline void SetStreamId(Aws::String&& value) { m_streamId = std::move(value); }
113 inline void SetStreamId(const char* value) { m_streamId.assign(value); }
114 inline GetPrefetchScheduleResult& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
115 inline GetPrefetchScheduleResult& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
116 inline GetPrefetchScheduleResult& WithStreamId(const char* value) { SetStreamId(value); return *this;}
118
120
121 inline const Aws::String& GetRequestId() const{ return m_requestId; }
122 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
124 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
125 inline GetPrefetchScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 inline GetPrefetchScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
127 inline GetPrefetchScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
129 private:
130
131 Aws::String m_arn;
132
133 PrefetchConsumption m_consumption;
134
135 Aws::String m_name;
136
137 Aws::String m_playbackConfigurationName;
138
139 PrefetchRetrieval m_retrieval;
140
141 Aws::String m_streamId;
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace MediaTailor
148} // namespace Aws
GetPrefetchScheduleResult & WithArn(Aws::String &&value)
GetPrefetchScheduleResult & WithPlaybackConfigurationName(Aws::String &&value)
GetPrefetchScheduleResult & WithRequestId(const char *value)
GetPrefetchScheduleResult & WithName(Aws::String &&value)
AWS_MEDIATAILOR_API GetPrefetchScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrefetchScheduleResult & WithRetrieval(const PrefetchRetrieval &value)
GetPrefetchScheduleResult & WithRequestId(const Aws::String &value)
GetPrefetchScheduleResult & WithConsumption(PrefetchConsumption &&value)
GetPrefetchScheduleResult & WithName(const char *value)
GetPrefetchScheduleResult & WithName(const Aws::String &value)
AWS_MEDIATAILOR_API GetPrefetchScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPrefetchScheduleResult & WithStreamId(const char *value)
GetPrefetchScheduleResult & WithConsumption(const PrefetchConsumption &value)
GetPrefetchScheduleResult & WithPlaybackConfigurationName(const Aws::String &value)
GetPrefetchScheduleResult & WithStreamId(Aws::String &&value)
void SetConsumption(const PrefetchConsumption &value)
GetPrefetchScheduleResult & WithStreamId(const Aws::String &value)
GetPrefetchScheduleResult & WithRequestId(Aws::String &&value)
GetPrefetchScheduleResult & WithArn(const Aws::String &value)
GetPrefetchScheduleResult & WithRetrieval(PrefetchRetrieval &&value)
GetPrefetchScheduleResult & WithPlaybackConfigurationName(const char *value)
GetPrefetchScheduleResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue