AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ValidateConfigurationSettingsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/ConfigurationOptionSetting.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ElasticBeanstalk {
17namespace Model {
18
26 public:
27 AWS_ELASTICBEANSTALK_API ValidateConfigurationSettingsRequest() = default;
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 "ValidateConfigurationSettings"; }
34
35 AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
46 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
47 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
48 template <typename ApplicationNameT = Aws::String>
49 void SetApplicationName(ApplicationNameT&& value) {
50 m_applicationNameHasBeenSet = true;
51 m_applicationName = std::forward<ApplicationNameT>(value);
52 }
53 template <typename ApplicationNameT = Aws::String>
55 SetApplicationName(std::forward<ApplicationNameT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetTemplateName() const { return m_templateName; }
66 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
67 template <typename TemplateNameT = Aws::String>
68 void SetTemplateName(TemplateNameT&& value) {
69 m_templateNameHasBeenSet = true;
70 m_templateName = std::forward<TemplateNameT>(value);
71 }
72 template <typename TemplateNameT = Aws::String>
74 SetTemplateName(std::forward<TemplateNameT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
86 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
87 template <typename EnvironmentNameT = Aws::String>
88 void SetEnvironmentName(EnvironmentNameT&& value) {
89 m_environmentNameHasBeenSet = true;
90 m_environmentName = std::forward<EnvironmentNameT>(value);
91 }
92 template <typename EnvironmentNameT = Aws::String>
94 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
104 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
105 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
106 void SetOptionSettings(OptionSettingsT&& value) {
107 m_optionSettingsHasBeenSet = true;
108 m_optionSettings = std::forward<OptionSettingsT>(value);
109 }
110 template <typename OptionSettingsT = Aws::Vector<ConfigurationOptionSetting>>
112 SetOptionSettings(std::forward<OptionSettingsT>(value));
113 return *this;
114 }
115 template <typename OptionSettingsT = ConfigurationOptionSetting>
117 m_optionSettingsHasBeenSet = true;
118 m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_applicationName;
124
125 Aws::String m_templateName;
126
127 Aws::String m_environmentName;
128
130 bool m_applicationNameHasBeenSet = false;
131 bool m_templateNameHasBeenSet = false;
132 bool m_environmentNameHasBeenSet = false;
133 bool m_optionSettingsHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace ElasticBeanstalk
138} // namespace Aws
ValidateConfigurationSettingsRequest & AddOptionSettings(OptionSettingsT &&value)
ValidateConfigurationSettingsRequest & WithTemplateName(TemplateNameT &&value)
AWS_ELASTICBEANSTALK_API ValidateConfigurationSettingsRequest()=default
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ValidateConfigurationSettingsRequest & WithApplicationName(ApplicationNameT &&value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
ValidateConfigurationSettingsRequest & WithOptionSettings(OptionSettingsT &&value)
ValidateConfigurationSettingsRequest & WithEnvironmentName(EnvironmentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector