AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <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 CreatePrefetchScheduleResult();
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 CreatePrefetchScheduleResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline CreatePrefetchScheduleResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline CreatePrefetchScheduleResult& 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); }
62 inline CreatePrefetchScheduleResult& WithConsumption(PrefetchConsumption&& value) { SetConsumption(std::move(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline void SetName(const Aws::String& value) { m_name = value; }
71 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
72 inline void SetName(const char* value) { m_name.assign(value); }
73 inline CreatePrefetchScheduleResult& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline CreatePrefetchScheduleResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline CreatePrefetchScheduleResult& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::String& GetPlaybackConfigurationName() const{ return m_playbackConfigurationName; }
83 inline void SetPlaybackConfigurationName(const Aws::String& value) { m_playbackConfigurationName = value; }
84 inline void SetPlaybackConfigurationName(Aws::String&& value) { m_playbackConfigurationName = std::move(value); }
85 inline void SetPlaybackConfigurationName(const char* value) { m_playbackConfigurationName.assign(value); }
90
92
97 inline const PrefetchRetrieval& GetRetrieval() const{ return m_retrieval; }
98 inline void SetRetrieval(const PrefetchRetrieval& value) { m_retrieval = value; }
99 inline void SetRetrieval(PrefetchRetrieval&& value) { m_retrieval = std::move(value); }
100 inline CreatePrefetchScheduleResult& WithRetrieval(const PrefetchRetrieval& value) { SetRetrieval(value); return *this;}
101 inline CreatePrefetchScheduleResult& WithRetrieval(PrefetchRetrieval&& value) { SetRetrieval(std::move(value)); return *this;}
103
105
113 inline const Aws::String& GetStreamId() const{ return m_streamId; }
114 inline void SetStreamId(const Aws::String& value) { m_streamId = value; }
115 inline void SetStreamId(Aws::String&& value) { m_streamId = std::move(value); }
116 inline void SetStreamId(const char* value) { m_streamId.assign(value); }
117 inline CreatePrefetchScheduleResult& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
118 inline CreatePrefetchScheduleResult& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
119 inline CreatePrefetchScheduleResult& WithStreamId(const char* value) { SetStreamId(value); return *this;}
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline CreatePrefetchScheduleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline CreatePrefetchScheduleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline CreatePrefetchScheduleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_arn;
135
136 PrefetchConsumption m_consumption;
137
138 Aws::String m_name;
139
140 Aws::String m_playbackConfigurationName;
141
142 PrefetchRetrieval m_retrieval;
143
144 Aws::String m_streamId;
145
146 Aws::String m_requestId;
147 };
148
149} // namespace Model
150} // namespace MediaTailor
151} // namespace Aws
CreatePrefetchScheduleResult & WithPlaybackConfigurationName(const Aws::String &value)
CreatePrefetchScheduleResult & WithArn(const char *value)
AWS_MEDIATAILOR_API CreatePrefetchScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePrefetchScheduleResult & WithConsumption(PrefetchConsumption &&value)
CreatePrefetchScheduleResult & WithRetrieval(const PrefetchRetrieval &value)
CreatePrefetchScheduleResult & WithRetrieval(PrefetchRetrieval &&value)
CreatePrefetchScheduleResult & WithStreamId(const Aws::String &value)
CreatePrefetchScheduleResult & WithRequestId(Aws::String &&value)
AWS_MEDIATAILOR_API CreatePrefetchScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePrefetchScheduleResult & WithName(const Aws::String &value)
CreatePrefetchScheduleResult & WithName(const char *value)
CreatePrefetchScheduleResult & WithArn(Aws::String &&value)
CreatePrefetchScheduleResult & WithRequestId(const char *value)
CreatePrefetchScheduleResult & WithStreamId(Aws::String &&value)
CreatePrefetchScheduleResult & WithPlaybackConfigurationName(const char *value)
CreatePrefetchScheduleResult & WithPlaybackConfigurationName(Aws::String &&value)
CreatePrefetchScheduleResult & WithConsumption(const PrefetchConsumption &value)
CreatePrefetchScheduleResult & WithStreamId(const char *value)
CreatePrefetchScheduleResult & WithArn(const Aws::String &value)
CreatePrefetchScheduleResult & WithRequestId(const Aws::String &value)
CreatePrefetchScheduleResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue