AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVodSourceRequest.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/MediaTailorRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediatailor/model/HttpPackageConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaTailor
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIATAILOR_API UpdateVodSourceRequest();
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_MEDIATAILOR_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
42 inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; }
43 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = value; }
44 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::move(value); }
47 inline UpdateVodSourceRequest& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
48 inline UpdateVodSourceRequest& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
56 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
57 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
58 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
59 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
61 inline UpdateVodSourceRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
62 inline UpdateVodSourceRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
64
66
69 inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
70 inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
71 inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
72 inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
73 inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
74 inline UpdateVodSourceRequest& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
75 inline UpdateVodSourceRequest& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
76 inline UpdateVodSourceRequest& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
78 private:
79
80 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
81 bool m_httpPackageConfigurationsHasBeenSet = false;
82
83 Aws::String m_sourceLocationName;
84 bool m_sourceLocationNameHasBeenSet = false;
85
86 Aws::String m_vodSourceName;
87 bool m_vodSourceNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace MediaTailor
92} // namespace Aws
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
UpdateVodSourceRequest & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
UpdateVodSourceRequest & WithVodSourceName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateVodSourceRequest & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
UpdateVodSourceRequest & WithSourceLocationName(const Aws::String &value)
UpdateVodSourceRequest & WithSourceLocationName(const char *value)
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
UpdateVodSourceRequest & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
UpdateVodSourceRequest & WithVodSourceName(const Aws::String &value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
UpdateVodSourceRequest & WithSourceLocationName(Aws::String &&value)
UpdateVodSourceRequest & WithVodSourceName(const char *value)
UpdateVodSourceRequest & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
void SetHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector