AWS SDK for C++  1.8.95
AWS SDK for C++
ValidateConfigurationSettingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElasticBeanstalk
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ValidateConfigurationSettings"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
50 
55  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
56 
61  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
62 
67  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
68 
73  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
74 
79  inline ValidateConfigurationSettingsRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
80 
85  inline ValidateConfigurationSettingsRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
86 
91  inline ValidateConfigurationSettingsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
92 
93 
98  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
99 
104  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
105 
110  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
111 
116  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
117 
122  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
123 
128  inline ValidateConfigurationSettingsRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
129 
134  inline ValidateConfigurationSettingsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
135 
140  inline ValidateConfigurationSettingsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
141 
142 
148  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
149 
155  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
156 
162  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
163 
169  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
170 
176  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
177 
183  inline ValidateConfigurationSettingsRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
184 
190  inline ValidateConfigurationSettingsRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
191 
197  inline ValidateConfigurationSettingsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
198 
199 
203  inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
204 
208  inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
209 
213  inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
214 
218  inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
219 
223  inline ValidateConfigurationSettingsRequest& WithOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { SetOptionSettings(value); return *this;}
224 
228  inline ValidateConfigurationSettingsRequest& WithOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { SetOptionSettings(std::move(value)); return *this;}
229 
233  inline ValidateConfigurationSettingsRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
234 
238  inline ValidateConfigurationSettingsRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
239 
240  private:
241 
242  Aws::String m_applicationName;
243  bool m_applicationNameHasBeenSet;
244 
245  Aws::String m_templateName;
246  bool m_templateNameHasBeenSet;
247 
248  Aws::String m_environmentName;
249  bool m_environmentNameHasBeenSet;
250 
252  bool m_optionSettingsHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace ElasticBeanstalk
257 } // namespace Aws
ValidateConfigurationSettingsRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(const Aws::String &value)
ValidateConfigurationSettingsRequest & WithApplicationName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
#define AWS_ELASTICBEANSTALK_API
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ValidateConfigurationSettingsRequest & WithEnvironmentName(const char *value)
ValidateConfigurationSettingsRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
ValidateConfigurationSettingsRequest & WithTemplateName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithApplicationName(const Aws::String &value)
ValidateConfigurationSettingsRequest & WithTemplateName(const Aws::String &value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ValidateConfigurationSettingsRequest & WithApplicationName(const char *value)
ValidateConfigurationSettingsRequest & WithTemplateName(const char *value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)