AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateVodSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace MediaTailor
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateVodSource"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
42 
47  inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; }
48 
53  inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = value; }
54 
59  inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::move(value); }
60 
65  inline UpdateVodSourceRequest& WithHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { SetHttpPackageConfigurations(value); return *this;}
66 
71  inline UpdateVodSourceRequest& WithHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { SetHttpPackageConfigurations(std::move(value)); return *this;}
72 
77  inline UpdateVodSourceRequest& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
78 
83  inline UpdateVodSourceRequest& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
84 
85 
89  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
90 
94  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
95 
99  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
100 
104  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
105 
109  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
110 
114  inline UpdateVodSourceRequest& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
115 
119  inline UpdateVodSourceRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
120 
124  inline UpdateVodSourceRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
125 
126 
130  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
131 
135  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
136 
140  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
141 
145  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
146 
150  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
151 
155  inline UpdateVodSourceRequest& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
156 
160  inline UpdateVodSourceRequest& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
161 
165  inline UpdateVodSourceRequest& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
166 
167  private:
168 
169  Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
170  bool m_httpPackageConfigurationsHasBeenSet;
171 
172  Aws::String m_sourceLocationName;
173  bool m_sourceLocationNameHasBeenSet;
174 
175  Aws::String m_vodSourceName;
176  bool m_vodSourceNameHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace MediaTailor
181 } // namespace Aws
Aws::MediaTailor::Model::UpdateVodSourceRequest::AddHttpPackageConfigurations
UpdateVodSourceRequest & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
Definition: UpdateVodSourceRequest.h:83
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithVodSourceName
UpdateVodSourceRequest & WithVodSourceName(const Aws::String &value)
Definition: UpdateVodSourceRequest.h:155
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::UpdateVodSourceRequest::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: UpdateVodSourceRequest.h:89
Aws::MediaTailor::Model::UpdateVodSourceRequest::UpdateVodSourceRequest
UpdateVodSourceRequest()
Aws::MediaTailor::Model::UpdateVodSourceRequest::SerializePayload
Aws::String SerializePayload() const override
HttpPackageConfiguration.h
Aws::MediaTailor::Model::UpdateVodSourceRequest::AddHttpPackageConfigurations
UpdateVodSourceRequest & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
Definition: UpdateVodSourceRequest.h:77
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithHttpPackageConfigurations
UpdateVodSourceRequest & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: UpdateVodSourceRequest.h:71
Aws::MediaTailor::Model::UpdateVodSourceRequest::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: UpdateVodSourceRequest.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaTailor::Model::UpdateVodSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVodSourceRequest.h:32
Aws::MediaTailor::Model::HttpPackageConfiguration
Definition: HttpPackageConfiguration.h:34
AWSVector.h
Aws::MediaTailor::Model::UpdateVodSourceRequest::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: UpdateVodSourceRequest.h:94
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: UpdateVodSourceRequest.h:99
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: UpdateVodSourceRequest.h:109
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: UpdateVodSourceRequest.h:53
Aws::MediaTailor::Model::UpdateVodSourceRequest
Definition: UpdateVodSourceRequest.h:24
Aws::MediaTailor::Model::UpdateVodSourceRequest::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: UpdateVodSourceRequest.h:135
Aws::MediaTailor::Model::UpdateVodSourceRequest::GetHttpPackageConfigurations
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
Definition: UpdateVodSourceRequest.h:41
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: UpdateVodSourceRequest.h:150
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithSourceLocationName
UpdateVodSourceRequest & WithSourceLocationName(const char *value)
Definition: UpdateVodSourceRequest.h:124
AWSString.h
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithHttpPackageConfigurations
UpdateVodSourceRequest & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
Definition: UpdateVodSourceRequest.h:65
MediaTailorRequest.h
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: UpdateVodSourceRequest.h:140
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetHttpPackageConfigurations
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
Definition: UpdateVodSourceRequest.h:59
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithSourceLocationName
UpdateVodSourceRequest & WithSourceLocationName(Aws::String &&value)
Definition: UpdateVodSourceRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::UpdateVodSourceRequest::HttpPackageConfigurationsHasBeenSet
bool HttpPackageConfigurationsHasBeenSet() const
Definition: UpdateVodSourceRequest.h:47
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: UpdateVodSourceRequest.h:145
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithVodSourceName
UpdateVodSourceRequest & WithVodSourceName(Aws::String &&value)
Definition: UpdateVodSourceRequest.h:160
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithSourceLocationName
UpdateVodSourceRequest & WithSourceLocationName(const Aws::String &value)
Definition: UpdateVodSourceRequest.h:114
Aws::MediaTailor::Model::UpdateVodSourceRequest::WithVodSourceName
UpdateVodSourceRequest & WithVodSourceName(const char *value)
Definition: UpdateVodSourceRequest.h:165
Aws::MediaTailor::Model::UpdateVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: UpdateVodSourceRequest.h:104