AWS SDK for C++  1.8.95
AWS SDK for C++
DeleteConfigurationTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticBeanstalk
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteConfigurationTemplate"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
46 
50  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
51 
55  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
56 
60  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
61 
65  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
66 
70  inline DeleteConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
71 
75  inline DeleteConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
76 
80  inline DeleteConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
81 
82 
86  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
87 
91  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
92 
96  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
97 
101  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
102 
106  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
107 
111  inline DeleteConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
112 
116  inline DeleteConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
117 
121  inline DeleteConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
122 
123  private:
124 
125  Aws::String m_applicationName;
126  bool m_applicationNameHasBeenSet;
127 
128  Aws::String m_templateName;
129  bool m_templateNameHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace ElasticBeanstalk
134 } // namespace Aws
DeleteConfigurationTemplateRequest & WithApplicationName(const Aws::String &value)
#define AWS_ELASTICBEANSTALK_API
DeleteConfigurationTemplateRequest & WithTemplateName(Aws::String &&value)
DeleteConfigurationTemplateRequest & WithApplicationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteConfigurationTemplateRequest & WithTemplateName(const char *value)
DeleteConfigurationTemplateRequest & WithTemplateName(const Aws::String &value)
DeleteConfigurationTemplateRequest & WithApplicationName(Aws::String &&value)