AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSourceLocationRequest.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/MediaTailorRequest.h>
9#include <aws/mediatailor/model/AccessConfiguration.h>
10#include <aws/mediatailor/model/DefaultSegmentDeliveryConfiguration.h>
11#include <aws/mediatailor/model/HttpConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/mediatailor/model/SegmentDeliveryConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace MediaTailor
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MEDIATAILOR_API UpdateSourceLocationRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateSourceLocation"; }
36
37 AWS_MEDIATAILOR_API Aws::String SerializePayload() const override;
38
39
41
45 inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
46 inline bool AccessConfigurationHasBeenSet() const { return m_accessConfigurationHasBeenSet; }
47 inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = value; }
48 inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::move(value); }
52
54
57 inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
58 inline bool DefaultSegmentDeliveryConfigurationHasBeenSet() const { return m_defaultSegmentDeliveryConfigurationHasBeenSet; }
59 inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = value; }
60 inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::move(value); }
64
66
69 inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
70 inline bool HttpConfigurationHasBeenSet() const { return m_httpConfigurationHasBeenSet; }
71 inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = value; }
72 inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::move(value); }
76
78
82 inline const Aws::Vector<SegmentDeliveryConfiguration>& GetSegmentDeliveryConfigurations() const{ return m_segmentDeliveryConfigurations; }
83 inline bool SegmentDeliveryConfigurationsHasBeenSet() const { return m_segmentDeliveryConfigurationsHasBeenSet; }
84 inline void SetSegmentDeliveryConfigurations(const Aws::Vector<SegmentDeliveryConfiguration>& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = value; }
85 inline void SetSegmentDeliveryConfigurations(Aws::Vector<SegmentDeliveryConfiguration>&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations = std::move(value); }
88 inline UpdateSourceLocationRequest& AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(value); return *this; }
89 inline UpdateSourceLocationRequest& AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration&& value) { m_segmentDeliveryConfigurationsHasBeenSet = true; m_segmentDeliveryConfigurations.push_back(std::move(value)); return *this; }
91
93
96 inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
97 inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
98 inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
99 inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
100 inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
102 inline UpdateSourceLocationRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
103 inline UpdateSourceLocationRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
105 private:
106
107 AccessConfiguration m_accessConfiguration;
108 bool m_accessConfigurationHasBeenSet = false;
109
110 DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
111 bool m_defaultSegmentDeliveryConfigurationHasBeenSet = false;
112
113 HttpConfiguration m_httpConfiguration;
114 bool m_httpConfigurationHasBeenSet = false;
115
116 Aws::Vector<SegmentDeliveryConfiguration> m_segmentDeliveryConfigurations;
117 bool m_segmentDeliveryConfigurationsHasBeenSet = false;
118
119 Aws::String m_sourceLocationName;
120 bool m_sourceLocationNameHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace MediaTailor
125} // namespace Aws
UpdateSourceLocationRequest & WithHttpConfiguration(HttpConfiguration &&value)
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
UpdateSourceLocationRequest & WithAccessConfiguration(const AccessConfiguration &value)
UpdateSourceLocationRequest & AddSegmentDeliveryConfigurations(const SegmentDeliveryConfiguration &value)
UpdateSourceLocationRequest & WithSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
UpdateSourceLocationRequest & WithHttpConfiguration(const HttpConfiguration &value)
void SetSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
UpdateSourceLocationRequest & AddSegmentDeliveryConfigurations(SegmentDeliveryConfiguration &&value)
void SetAccessConfiguration(const AccessConfiguration &value)
UpdateSourceLocationRequest & WithSourceLocationName(const Aws::String &value)
UpdateSourceLocationRequest & WithSourceLocationName(const char *value)
UpdateSourceLocationRequest & WithAccessConfiguration(AccessConfiguration &&value)
void SetSegmentDeliveryConfigurations(const Aws::Vector< SegmentDeliveryConfiguration > &value)
UpdateSourceLocationRequest & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
UpdateSourceLocationRequest & WithSegmentDeliveryConfigurations(Aws::Vector< SegmentDeliveryConfiguration > &&value)
const Aws::Vector< SegmentDeliveryConfiguration > & GetSegmentDeliveryConfigurations() const
UpdateSourceLocationRequest & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
UpdateSourceLocationRequest & WithSourceLocationName(Aws::String &&value)
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector