AWS SDK for C++  1.9.125
AWS SDK for C++
DeleteJobTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
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 "DeleteJobTemplate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetJobTemplateId() const{ return m_jobTemplateId; }
39 
43  inline bool JobTemplateIdHasBeenSet() const { return m_jobTemplateIdHasBeenSet; }
44 
48  inline void SetJobTemplateId(const Aws::String& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = value; }
49 
53  inline void SetJobTemplateId(Aws::String&& value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId = std::move(value); }
54 
58  inline void SetJobTemplateId(const char* value) { m_jobTemplateIdHasBeenSet = true; m_jobTemplateId.assign(value); }
59 
63  inline DeleteJobTemplateRequest& WithJobTemplateId(const Aws::String& value) { SetJobTemplateId(value); return *this;}
64 
68  inline DeleteJobTemplateRequest& WithJobTemplateId(Aws::String&& value) { SetJobTemplateId(std::move(value)); return *this;}
69 
73  inline DeleteJobTemplateRequest& WithJobTemplateId(const char* value) { SetJobTemplateId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_jobTemplateId;
78  bool m_jobTemplateIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace IoT
83 } // namespace Aws
Aws::IoT::Model::DeleteJobTemplateRequest::WithJobTemplateId
DeleteJobTemplateRequest & WithJobTemplateId(const char *value)
Definition: DeleteJobTemplateRequest.h:73
Aws::IoT::Model::DeleteJobTemplateRequest::WithJobTemplateId
DeleteJobTemplateRequest & WithJobTemplateId(const Aws::String &value)
Definition: DeleteJobTemplateRequest.h:63
Aws::IoT::Model::DeleteJobTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteJobTemplateRequest::SetJobTemplateId
void SetJobTemplateId(Aws::String &&value)
Definition: DeleteJobTemplateRequest.h:53
Aws::IoT::Model::DeleteJobTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteJobTemplateRequest.h:30
Aws::IoT::Model::DeleteJobTemplateRequest::DeleteJobTemplateRequest
DeleteJobTemplateRequest()
Aws::IoT::Model::DeleteJobTemplateRequest::SetJobTemplateId
void SetJobTemplateId(const Aws::String &value)
Definition: DeleteJobTemplateRequest.h:48
Aws::IoT::Model::DeleteJobTemplateRequest::JobTemplateIdHasBeenSet
bool JobTemplateIdHasBeenSet() const
Definition: DeleteJobTemplateRequest.h:43
Aws::IoT::Model::DeleteJobTemplateRequest::WithJobTemplateId
DeleteJobTemplateRequest & WithJobTemplateId(Aws::String &&value)
Definition: DeleteJobTemplateRequest.h:68
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteJobTemplateRequest::GetJobTemplateId
const Aws::String & GetJobTemplateId() const
Definition: DeleteJobTemplateRequest.h:38
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::DeleteJobTemplateRequest::SetJobTemplateId
void SetJobTemplateId(const char *value)
Definition: DeleteJobTemplateRequest.h:58
IoT_EXPORTS.h
Aws::IoT::Model::DeleteJobTemplateRequest
Definition: DeleteJobTemplateRequest.h:22