AWS SDK for C++  1.9.106
AWS SDK for C++
DeleteHITRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MTurk
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 "DeleteHIT"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetHITId() const{ return m_hITId; }
41 
45  inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; }
46 
50  inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; }
51 
55  inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); }
56 
60  inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); }
61 
65  inline DeleteHITRequest& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
66 
70  inline DeleteHITRequest& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
71 
75  inline DeleteHITRequest& WithHITId(const char* value) { SetHITId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_hITId;
80  bool m_hITIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace MTurk
85 } // namespace Aws
Aws::MTurk::Model::DeleteHITRequest::WithHITId
DeleteHITRequest & WithHITId(const Aws::String &value)
Definition: DeleteHITRequest.h:65
Aws::MTurk::Model::DeleteHITRequest::WithHITId
DeleteHITRequest & WithHITId(const char *value)
Definition: DeleteHITRequest.h:75
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::DeleteHITRequest::GetHITId
const Aws::String & GetHITId() const
Definition: DeleteHITRequest.h:40
Aws::MTurk::Model::DeleteHITRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteHITRequest.h:30
Aws::MTurk::Model::DeleteHITRequest::SetHITId
void SetHITId(const char *value)
Definition: DeleteHITRequest.h:60
Aws::MTurk::Model::DeleteHITRequest::SetHITId
void SetHITId(const Aws::String &value)
Definition: DeleteHITRequest.h:50
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
MTurkRequest.h
Aws::MTurk::Model::DeleteHITRequest::WithHITId
DeleteHITRequest & WithHITId(Aws::String &&value)
Definition: DeleteHITRequest.h:70
Aws::MTurk::Model::DeleteHITRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::MTurk::Model::DeleteHITRequest::DeleteHITRequest
DeleteHITRequest()
Aws::MTurk::Model::DeleteHITRequest::SetHITId
void SetHITId(Aws::String &&value)
Definition: DeleteHITRequest.h:55
Aws::MTurk::Model::DeleteHITRequest
Definition: DeleteHITRequest.h:22
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::DeleteHITRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::DeleteHITRequest::HITIdHasBeenSet
bool HITIdHasBeenSet() const
Definition: DeleteHITRequest.h:45