AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLiveSourceRequest.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 UpdateLiveSourceRequest();
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 "UpdateLiveSource"; }
33
34 AWS_MEDIATAILOR_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::Vector<HttpPackageConfiguration>& GetHttpPackageConfigurations() const{ return m_httpPackageConfigurations; }
43 inline bool HttpPackageConfigurationsHasBeenSet() const { return m_httpPackageConfigurationsHasBeenSet; }
44 inline void SetHttpPackageConfigurations(const Aws::Vector<HttpPackageConfiguration>& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = value; }
45 inline void SetHttpPackageConfigurations(Aws::Vector<HttpPackageConfiguration>&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations = std::move(value); }
48 inline UpdateLiveSourceRequest& AddHttpPackageConfigurations(const HttpPackageConfiguration& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(value); return *this; }
49 inline UpdateLiveSourceRequest& AddHttpPackageConfigurations(HttpPackageConfiguration&& value) { m_httpPackageConfigurationsHasBeenSet = true; m_httpPackageConfigurations.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::String& GetLiveSourceName() const{ return m_liveSourceName; }
57 inline bool LiveSourceNameHasBeenSet() const { return m_liveSourceNameHasBeenSet; }
58 inline void SetLiveSourceName(const Aws::String& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = value; }
59 inline void SetLiveSourceName(Aws::String&& value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName = std::move(value); }
60 inline void SetLiveSourceName(const char* value) { m_liveSourceNameHasBeenSet = true; m_liveSourceName.assign(value); }
61 inline UpdateLiveSourceRequest& WithLiveSourceName(const Aws::String& value) { SetLiveSourceName(value); return *this;}
62 inline UpdateLiveSourceRequest& WithLiveSourceName(Aws::String&& value) { SetLiveSourceName(std::move(value)); return *this;}
63 inline UpdateLiveSourceRequest& WithLiveSourceName(const char* value) { SetLiveSourceName(value); return *this;}
65
67
70 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
71 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
72 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
73 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
74 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
76 inline UpdateLiveSourceRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
77 inline UpdateLiveSourceRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
79 private:
80
81 Aws::Vector<HttpPackageConfiguration> m_httpPackageConfigurations;
82 bool m_httpPackageConfigurationsHasBeenSet = false;
83
84 Aws::String m_liveSourceName;
85 bool m_liveSourceNameHasBeenSet = false;
86
87 Aws::String m_sourceLocationName;
88 bool m_sourceLocationNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaTailor
93} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateLiveSourceRequest & WithLiveSourceName(Aws::String &&value)
const Aws::Vector< HttpPackageConfiguration > & GetHttpPackageConfigurations() const
UpdateLiveSourceRequest & WithSourceLocationName(const char *value)
UpdateLiveSourceRequest & AddHttpPackageConfigurations(HttpPackageConfiguration &&value)
void SetHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
UpdateLiveSourceRequest & WithLiveSourceName(const char *value)
UpdateLiveSourceRequest & WithHttpPackageConfigurations(Aws::Vector< HttpPackageConfiguration > &&value)
UpdateLiveSourceRequest & WithLiveSourceName(const Aws::String &value)
UpdateLiveSourceRequest & AddHttpPackageConfigurations(const HttpPackageConfiguration &value)
UpdateLiveSourceRequest & WithSourceLocationName(const Aws::String &value)
UpdateLiveSourceRequest & WithHttpPackageConfigurations(const Aws::Vector< HttpPackageConfiguration > &value)
UpdateLiveSourceRequest & WithSourceLocationName(Aws::String &&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