1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8 #include <aws/mediaconvert/MediaConvertRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaConvert
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_MEDIACONVERT_API DeleteJobTemplateRequest : public MediaConvertRequest
22   {
23   public:
24     DeleteJobTemplateRequest();
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.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "DeleteJobTemplate"; }
31 
32     Aws::String SerializePayload() const override;
33 
34 
35     /**
36      * The name of the job template to be deleted.
37      */
GetName()38     inline const Aws::String& GetName() const{ return m_name; }
39 
40     /**
41      * The name of the job template to be deleted.
42      */
NameHasBeenSet()43     inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 
45     /**
46      * The name of the job template to be deleted.
47      */
SetName(const Aws::String & value)48     inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 
50     /**
51      * The name of the job template to be deleted.
52      */
SetName(Aws::String && value)53     inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 
55     /**
56      * The name of the job template to be deleted.
57      */
SetName(const char * value)58     inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 
60     /**
61      * The name of the job template to be deleted.
62      */
WithName(const Aws::String & value)63     inline DeleteJobTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 
65     /**
66      * The name of the job template to be deleted.
67      */
WithName(Aws::String && value)68     inline DeleteJobTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 
70     /**
71      * The name of the job template to be deleted.
72      */
WithName(const char * value)73     inline DeleteJobTemplateRequest& 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
84