AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateConfigurationSettingsRequest.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticBeanstalk
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ELASTICBEANSTALK_API ValidateConfigurationSettingsRequest();
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_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
51 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
52 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
53 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
54 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
57 inline ValidateConfigurationSettingsRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
59
61
65 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
66 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
67 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
68 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
69 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
71 inline ValidateConfigurationSettingsRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
72 inline ValidateConfigurationSettingsRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
74
76
81 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
82 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
83 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
84 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
85 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
88 inline ValidateConfigurationSettingsRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
90
92
95 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
96 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
97 inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
98 inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
101 inline ValidateConfigurationSettingsRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
102 inline ValidateConfigurationSettingsRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
104 private:
105
106 Aws::String m_applicationName;
107 bool m_applicationNameHasBeenSet = false;
108
109 Aws::String m_templateName;
110 bool m_templateNameHasBeenSet = false;
111
112 Aws::String m_environmentName;
113 bool m_environmentNameHasBeenSet = false;
114
116 bool m_optionSettingsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ElasticBeanstalk
121} // namespace Aws
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
ValidateConfigurationSettingsRequest & WithApplicationName(const Aws::String &value)
ValidateConfigurationSettingsRequest & WithTemplateName(const char *value)
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ValidateConfigurationSettingsRequest & WithApplicationName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(const char *value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
ValidateConfigurationSettingsRequest & WithTemplateName(const Aws::String &value)
ValidateConfigurationSettingsRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
ValidateConfigurationSettingsRequest & WithApplicationName(const char *value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(const Aws::String &value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithTemplateName(Aws::String &&value)
ValidateConfigurationSettingsRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
ValidateConfigurationSettingsRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
ValidateConfigurationSettingsRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector