AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteVodSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaTailor
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteVodSource"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetSourceLocationName() const{ return m_sourceLocationName; }
39 
43  inline bool SourceLocationNameHasBeenSet() const { return m_sourceLocationNameHasBeenSet; }
44 
48  inline void SetSourceLocationName(const Aws::String& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = value; }
49 
53  inline void SetSourceLocationName(Aws::String&& value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName = std::move(value); }
54 
58  inline void SetSourceLocationName(const char* value) { m_sourceLocationNameHasBeenSet = true; m_sourceLocationName.assign(value); }
59 
63  inline DeleteVodSourceRequest& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
64 
68  inline DeleteVodSourceRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
69 
73  inline DeleteVodSourceRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
74 
75 
79  inline const Aws::String& GetVodSourceName() const{ return m_vodSourceName; }
80 
84  inline bool VodSourceNameHasBeenSet() const { return m_vodSourceNameHasBeenSet; }
85 
89  inline void SetVodSourceName(const Aws::String& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = value; }
90 
94  inline void SetVodSourceName(Aws::String&& value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName = std::move(value); }
95 
99  inline void SetVodSourceName(const char* value) { m_vodSourceNameHasBeenSet = true; m_vodSourceName.assign(value); }
100 
104  inline DeleteVodSourceRequest& WithVodSourceName(const Aws::String& value) { SetVodSourceName(value); return *this;}
105 
109  inline DeleteVodSourceRequest& WithVodSourceName(Aws::String&& value) { SetVodSourceName(std::move(value)); return *this;}
110 
114  inline DeleteVodSourceRequest& WithVodSourceName(const char* value) { SetVodSourceName(value); return *this;}
115 
116  private:
117 
118  Aws::String m_sourceLocationName;
119  bool m_sourceLocationNameHasBeenSet;
120 
121  Aws::String m_vodSourceName;
122  bool m_vodSourceNameHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace MediaTailor
127 } // namespace Aws
Aws::MediaTailor::Model::DeleteVodSourceRequest::GetVodSourceName
const Aws::String & GetVodSourceName() const
Definition: DeleteVodSourceRequest.h:79
Aws::MediaTailor::Model::DeleteVodSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::DeleteVodSourceRequest::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: DeleteVodSourceRequest.h:43
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithSourceLocationName
DeleteVodSourceRequest & WithSourceLocationName(Aws::String &&value)
Definition: DeleteVodSourceRequest.h:68
Aws::MediaTailor::Model::DeleteVodSourceRequest
Definition: DeleteVodSourceRequest.h:22
Aws::MediaTailor::Model::DeleteVodSourceRequest::DeleteVodSourceRequest
DeleteVodSourceRequest()
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithVodSourceName
DeleteVodSourceRequest & WithVodSourceName(Aws::String &&value)
Definition: DeleteVodSourceRequest.h:109
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithVodSourceName
DeleteVodSourceRequest & WithVodSourceName(const Aws::String &value)
Definition: DeleteVodSourceRequest.h:104
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithSourceLocationName
DeleteVodSourceRequest & WithSourceLocationName(const Aws::String &value)
Definition: DeleteVodSourceRequest.h:63
Aws::MediaTailor::Model::DeleteVodSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteVodSourceRequest.h:30
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithSourceLocationName
DeleteVodSourceRequest & WithSourceLocationName(const char *value)
Definition: DeleteVodSourceRequest.h:73
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: DeleteVodSourceRequest.h:53
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
Aws::MediaTailor::Model::DeleteVodSourceRequest::WithVodSourceName
DeleteVodSourceRequest & WithVodSourceName(const char *value)
Definition: DeleteVodSourceRequest.h:114
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: DeleteVodSourceRequest.h:48
Aws::MediaTailor::Model::DeleteVodSourceRequest::VodSourceNameHasBeenSet
bool VodSourceNameHasBeenSet() const
Definition: DeleteVodSourceRequest.h:84
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetVodSourceName
void SetVodSourceName(const char *value)
Definition: DeleteVodSourceRequest.h:99
AWSString.h
MediaTailorRequest.h
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: DeleteVodSourceRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetVodSourceName
void SetVodSourceName(const Aws::String &value)
Definition: DeleteVodSourceRequest.h:89
Aws::MediaTailor::Model::DeleteVodSourceRequest::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: DeleteVodSourceRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DeleteVodSourceRequest::SetVodSourceName
void SetVodSourceName(Aws::String &&value)
Definition: DeleteVodSourceRequest.h:94