AWS SDK for C++  1.9.160
AWS SDK for C++
DeleteQueueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaConvert
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 "DeleteQueue"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetName() const{ return m_name; }
39 
43  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 
48  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 
53  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 
58  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 
63  inline DeleteQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 
68  inline DeleteQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 
73  inline DeleteQueueRequest& WithName(const char* value) { SetName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_name;
78  bool m_nameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace MediaConvert
83 } // namespace Aws
Aws::MediaConvert::Model::DeleteQueueRequest::WithName
DeleteQueueRequest & WithName(Aws::String &&value)
Definition: DeleteQueueRequest.h:68
MediaConvertRequest.h
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::DeleteQueueRequest::SetName
void SetName(Aws::String &&value)
Definition: DeleteQueueRequest.h:53
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::DeleteQueueRequest::GetName
const Aws::String & GetName() const
Definition: DeleteQueueRequest.h:38
Aws::MediaConvert::Model::DeleteQueueRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeleteQueueRequest.h:43
Aws::MediaConvert::Model::DeleteQueueRequest::WithName
DeleteQueueRequest & WithName(const char *value)
Definition: DeleteQueueRequest.h:73
Aws::MediaConvert::Model::DeleteQueueRequest
Definition: DeleteQueueRequest.h:22
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::DeleteQueueRequest::SetName
void SetName(const Aws::String &value)
Definition: DeleteQueueRequest.h:48
Aws::MediaConvert::Model::DeleteQueueRequest::WithName
DeleteQueueRequest & WithName(const Aws::String &value)
Definition: DeleteQueueRequest.h:63
Aws::MediaConvert::Model::DeleteQueueRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::DeleteQueueRequest::SetName
void SetName(const char *value)
Definition: DeleteQueueRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::DeleteQueueRequest::DeleteQueueRequest
DeleteQueueRequest()
Aws::MediaConvert::Model::DeleteQueueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteQueueRequest.h:30