AWS SDK for C++  1.9.105
AWS SDK for C++
UpdateSourceLocationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace MediaTailor
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateSourceLocation"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const AccessConfiguration& GetAccessConfiguration() const{ return m_accessConfiguration; }
43 
48  inline bool AccessConfigurationHasBeenSet() const { return m_accessConfigurationHasBeenSet; }
49 
54  inline void SetAccessConfiguration(const AccessConfiguration& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = value; }
55 
60  inline void SetAccessConfiguration(AccessConfiguration&& value) { m_accessConfigurationHasBeenSet = true; m_accessConfiguration = std::move(value); }
61 
66  inline UpdateSourceLocationRequest& WithAccessConfiguration(const AccessConfiguration& value) { SetAccessConfiguration(value); return *this;}
67 
72  inline UpdateSourceLocationRequest& WithAccessConfiguration(AccessConfiguration&& value) { SetAccessConfiguration(std::move(value)); return *this;}
73 
74 
78  inline const DefaultSegmentDeliveryConfiguration& GetDefaultSegmentDeliveryConfiguration() const{ return m_defaultSegmentDeliveryConfiguration; }
79 
83  inline bool DefaultSegmentDeliveryConfigurationHasBeenSet() const { return m_defaultSegmentDeliveryConfigurationHasBeenSet; }
84 
88  inline void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = value; }
89 
93  inline void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { m_defaultSegmentDeliveryConfigurationHasBeenSet = true; m_defaultSegmentDeliveryConfiguration = std::move(value); }
94 
98  inline UpdateSourceLocationRequest& WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration& value) { SetDefaultSegmentDeliveryConfiguration(value); return *this;}
99 
103  inline UpdateSourceLocationRequest& WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration&& value) { SetDefaultSegmentDeliveryConfiguration(std::move(value)); return *this;}
104 
105 
109  inline const HttpConfiguration& GetHttpConfiguration() const{ return m_httpConfiguration; }
110 
114  inline bool HttpConfigurationHasBeenSet() const { return m_httpConfigurationHasBeenSet; }
115 
119  inline void SetHttpConfiguration(const HttpConfiguration& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = value; }
120 
124  inline void SetHttpConfiguration(HttpConfiguration&& value) { m_httpConfigurationHasBeenSet = true; m_httpConfiguration = std::move(value); }
125 
129  inline UpdateSourceLocationRequest& WithHttpConfiguration(const HttpConfiguration& value) { SetHttpConfiguration(value); return *this;}
130 
134  inline UpdateSourceLocationRequest& WithHttpConfiguration(HttpConfiguration&& value) { SetHttpConfiguration(std::move(value)); return *this;}
135 
136 
140  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
141 
145  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
146 
150  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
151 
155  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
156 
160  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
161 
165  inline UpdateSourceLocationRequest& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
166 
170  inline UpdateSourceLocationRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
171 
175  inline UpdateSourceLocationRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
176 
177  private:
178 
179  AccessConfiguration m_accessConfiguration;
180  bool m_accessConfigurationHasBeenSet;
181 
182  DefaultSegmentDeliveryConfiguration m_defaultSegmentDeliveryConfiguration;
183  bool m_defaultSegmentDeliveryConfigurationHasBeenSet;
184 
185  HttpConfiguration m_httpConfiguration;
186  bool m_httpConfigurationHasBeenSet;
187 
188  Aws::String m_sourceLocationName;
189  bool m_sourceLocationNameHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace MediaTailor
194 } // namespace Aws
Aws::MediaTailor::Model::UpdateSourceLocationRequest::GetHttpConfiguration
const HttpConfiguration & GetHttpConfiguration() const
Definition: UpdateSourceLocationRequest.h:109
HttpConfiguration.h
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: UpdateSourceLocationRequest.h:145
Aws::MediaTailor::Model::UpdateSourceLocationRequest::AccessConfigurationHasBeenSet
bool AccessConfigurationHasBeenSet() const
Definition: UpdateSourceLocationRequest.h:48
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: UpdateSourceLocationRequest.h:88
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetAccessConfiguration
void SetAccessConfiguration(const AccessConfiguration &value)
Definition: UpdateSourceLocationRequest.h:54
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: UpdateSourceLocationRequest.h:160
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithSourceLocationName
UpdateSourceLocationRequest & WithSourceLocationName(const Aws::String &value)
Definition: UpdateSourceLocationRequest.h:165
Aws::MediaTailor::Model::UpdateSourceLocationRequest
Definition: UpdateSourceLocationRequest.h:25
Aws::MediaTailor::Model::UpdateSourceLocationRequest::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: UpdateSourceLocationRequest.h:140
Aws::MediaTailor::Model::UpdateSourceLocationRequest::HttpConfigurationHasBeenSet
bool HttpConfigurationHasBeenSet() const
Definition: UpdateSourceLocationRequest.h:114
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetHttpConfiguration
void SetHttpConfiguration(HttpConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:124
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithAccessConfiguration
UpdateSourceLocationRequest & WithAccessConfiguration(const AccessConfiguration &value)
Definition: UpdateSourceLocationRequest.h:66
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithSourceLocationName
UpdateSourceLocationRequest & WithSourceLocationName(const char *value)
Definition: UpdateSourceLocationRequest.h:175
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithHttpConfiguration
UpdateSourceLocationRequest & WithHttpConfiguration(const HttpConfiguration &value)
Definition: UpdateSourceLocationRequest.h:129
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetDefaultSegmentDeliveryConfiguration
void SetDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:93
Aws::MediaTailor::Model::UpdateSourceLocationRequest::GetDefaultSegmentDeliveryConfiguration
const DefaultSegmentDeliveryConfiguration & GetDefaultSegmentDeliveryConfiguration() const
Definition: UpdateSourceLocationRequest.h:78
Aws::MediaTailor::Model::AccessConfiguration
Definition: AccessConfiguration.h:33
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
AccessConfiguration.h
Aws::MediaTailor::Model::UpdateSourceLocationRequest::UpdateSourceLocationRequest
UpdateSourceLocationRequest()
AWSString.h
MediaTailorRequest.h
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetHttpConfiguration
void SetHttpConfiguration(const HttpConfiguration &value)
Definition: UpdateSourceLocationRequest.h:119
Aws::MediaTailor::Model::HttpConfiguration
Definition: HttpConfiguration.h:32
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DefaultSegmentDeliveryConfiguration
Definition: DefaultSegmentDeliveryConfiguration.h:38
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: UpdateSourceLocationRequest.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::UpdateSourceLocationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSourceLocationRequest.h:33
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetAccessConfiguration
void SetAccessConfiguration(AccessConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:60
Aws::MediaTailor::Model::UpdateSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: UpdateSourceLocationRequest.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::UpdateSourceLocationRequest::DefaultSegmentDeliveryConfigurationHasBeenSet
bool DefaultSegmentDeliveryConfigurationHasBeenSet() const
Definition: UpdateSourceLocationRequest.h:83
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithDefaultSegmentDeliveryConfiguration
UpdateSourceLocationRequest & WithDefaultSegmentDeliveryConfiguration(const DefaultSegmentDeliveryConfiguration &value)
Definition: UpdateSourceLocationRequest.h:98
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithAccessConfiguration
UpdateSourceLocationRequest & WithAccessConfiguration(AccessConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:72
DefaultSegmentDeliveryConfiguration.h
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithDefaultSegmentDeliveryConfiguration
UpdateSourceLocationRequest & WithDefaultSegmentDeliveryConfiguration(DefaultSegmentDeliveryConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:103
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithHttpConfiguration
UpdateSourceLocationRequest & WithHttpConfiguration(HttpConfiguration &&value)
Definition: UpdateSourceLocationRequest.h:134
Aws::MediaTailor::Model::UpdateSourceLocationRequest::GetAccessConfiguration
const AccessConfiguration & GetAccessConfiguration() const
Definition: UpdateSourceLocationRequest.h:42
Aws::MediaTailor::Model::UpdateSourceLocationRequest::WithSourceLocationName
UpdateSourceLocationRequest & WithSourceLocationName(Aws::String &&value)
Definition: UpdateSourceLocationRequest.h:170