AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeSourceLocationRequest.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 "DescribeSourceLocation"; }
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 DescribeSourceLocationRequest& WithSourceLocationName(const Aws::String& value) { SetSourceLocationName(value); return *this;}
64 
68  inline DescribeSourceLocationRequest& WithSourceLocationName(Aws::String&& value) { SetSourceLocationName(std::move(value)); return *this;}
69 
73  inline DescribeSourceLocationRequest& WithSourceLocationName(const char* value) { SetSourceLocationName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_sourceLocationName;
78  bool m_sourceLocationNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace MediaTailor
83 } // namespace Aws
Aws::MediaTailor::Model::DescribeSourceLocationRequest
Definition: DescribeSourceLocationRequest.h:22
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeSourceLocationRequest::WithSourceLocationName
DescribeSourceLocationRequest & WithSourceLocationName(const Aws::String &value)
Definition: DescribeSourceLocationRequest.h:63
Aws::MediaTailor::Model::DescribeSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(const Aws::String &value)
Definition: DescribeSourceLocationRequest.h:48
Aws::MediaTailor::Model::DescribeSourceLocationRequest::WithSourceLocationName
DescribeSourceLocationRequest & WithSourceLocationName(Aws::String &&value)
Definition: DescribeSourceLocationRequest.h:68
Aws::MediaTailor::Model::DescribeSourceLocationRequest::WithSourceLocationName
DescribeSourceLocationRequest & WithSourceLocationName(const char *value)
Definition: DescribeSourceLocationRequest.h:73
Aws::MediaTailor::Model::DescribeSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(const char *value)
Definition: DescribeSourceLocationRequest.h:58
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
AWSString.h
MediaTailorRequest.h
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DescribeSourceLocationRequest::SetSourceLocationName
void SetSourceLocationName(Aws::String &&value)
Definition: DescribeSourceLocationRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DescribeSourceLocationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::DescribeSourceLocationRequest::GetSourceLocationName
const Aws::String & GetSourceLocationName() const
Definition: DescribeSourceLocationRequest.h:38
Aws::MediaTailor::Model::DescribeSourceLocationRequest::DescribeSourceLocationRequest
DescribeSourceLocationRequest()
Aws::MediaTailor::Model::DescribeSourceLocationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSourceLocationRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DescribeSourceLocationRequest::SourceLocationNameHasBeenSet
bool SourceLocationNameHasBeenSet() const
Definition: DescribeSourceLocationRequest.h:43