AWS SDK for C++  1.8.95
AWS SDK for C++
CreateConfigurationTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace ElasticBeanstalk
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateConfigurationTemplate"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
50  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
51 
56  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
57 
62  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
63 
68  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
69 
74  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
75 
80  inline CreateConfigurationTemplateRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
81 
86  inline CreateConfigurationTemplateRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
87 
92  inline CreateConfigurationTemplateRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
93 
94 
99  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
100 
105  inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
106 
111  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
112 
117  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
118 
123  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
124 
129  inline CreateConfigurationTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
130 
135  inline CreateConfigurationTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
136 
141  inline CreateConfigurationTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
142 
143 
160  inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
161 
178  inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
179 
196  inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
197 
214  inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
215 
232  inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
233 
250  inline CreateConfigurationTemplateRequest& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
251 
268  inline CreateConfigurationTemplateRequest& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
269 
286  inline CreateConfigurationTemplateRequest& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
287 
288 
297  inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
298 
307  inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
308 
317  inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
318 
327  inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
328 
337  inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
338 
347  inline CreateConfigurationTemplateRequest& WithPlatformArn(const Aws::String& value) { SetPlatformArn(value); return *this;}
348 
357  inline CreateConfigurationTemplateRequest& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
358 
367  inline CreateConfigurationTemplateRequest& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
368 
369 
382  inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
383 
396  inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
397 
410  inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
411 
424  inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
425 
438  inline CreateConfigurationTemplateRequest& WithSourceConfiguration(const SourceConfiguration& value) { SetSourceConfiguration(value); return *this;}
439 
452  inline CreateConfigurationTemplateRequest& WithSourceConfiguration(SourceConfiguration&& value) { SetSourceConfiguration(std::move(value)); return *this;}
453 
454 
461  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
462 
469  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
470 
477  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
478 
485  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
486 
493  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
494 
501  inline CreateConfigurationTemplateRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
502 
509  inline CreateConfigurationTemplateRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
510 
517  inline CreateConfigurationTemplateRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
518 
519 
523  inline const Aws::String& GetDescription() const{ return m_description; }
524 
528  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
529 
533  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
534 
538  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
539 
543  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
544 
548  inline CreateConfigurationTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
549 
553  inline CreateConfigurationTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
554 
558  inline CreateConfigurationTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
559 
560 
569  inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
570 
579  inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
580 
589  inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
590 
599  inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
600 
609  inline CreateConfigurationTemplateRequest& WithOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { SetOptionSettings(value); return *this;}
610 
619  inline CreateConfigurationTemplateRequest& WithOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { SetOptionSettings(std::move(value)); return *this;}
620 
629  inline CreateConfigurationTemplateRequest& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
630 
639  inline CreateConfigurationTemplateRequest& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
640 
641 
645  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
646 
650  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
651 
655  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
656 
660  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
661 
665  inline CreateConfigurationTemplateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
666 
670  inline CreateConfigurationTemplateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
671 
675  inline CreateConfigurationTemplateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
676 
680  inline CreateConfigurationTemplateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
681 
682  private:
683 
684  Aws::String m_applicationName;
685  bool m_applicationNameHasBeenSet;
686 
687  Aws::String m_templateName;
688  bool m_templateNameHasBeenSet;
689 
690  Aws::String m_solutionStackName;
691  bool m_solutionStackNameHasBeenSet;
692 
693  Aws::String m_platformArn;
694  bool m_platformArnHasBeenSet;
695 
696  SourceConfiguration m_sourceConfiguration;
697  bool m_sourceConfigurationHasBeenSet;
698 
699  Aws::String m_environmentId;
700  bool m_environmentIdHasBeenSet;
701 
702  Aws::String m_description;
703  bool m_descriptionHasBeenSet;
704 
706  bool m_optionSettingsHasBeenSet;
707 
708  Aws::Vector<Tag> m_tags;
709  bool m_tagsHasBeenSet;
710  };
711 
712 } // namespace Model
713 } // namespace ElasticBeanstalk
714 } // namespace Aws
CreateConfigurationTemplateRequest & WithPlatformArn(const char *value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
CreateConfigurationTemplateRequest & WithTags(Aws::Vector< Tag > &&value)
CreateConfigurationTemplateRequest & WithApplicationName(const char *value)
#define AWS_ELASTICBEANSTALK_API
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CreateConfigurationTemplateRequest & AddOptionSettings(const ConfigurationOptionSetting &value)
CreateConfigurationTemplateRequest & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
CreateConfigurationTemplateRequest & WithDescription(Aws::String &&value)
CreateConfigurationTemplateRequest & WithSolutionStackName(const Aws::String &value)
CreateConfigurationTemplateRequest & WithTemplateName(const Aws::String &value)
CreateConfigurationTemplateRequest & AddOptionSettings(ConfigurationOptionSetting &&value)
CreateConfigurationTemplateRequest & WithApplicationName(Aws::String &&value)
CreateConfigurationTemplateRequest & WithSolutionStackName(const char *value)
CreateConfigurationTemplateRequest & WithTemplateName(Aws::String &&value)
CreateConfigurationTemplateRequest & WithApplicationName(const Aws::String &value)
CreateConfigurationTemplateRequest & WithSourceConfiguration(SourceConfiguration &&value)
CreateConfigurationTemplateRequest & WithTags(const Aws::Vector< Tag > &value)
CreateConfigurationTemplateRequest & WithEnvironmentId(const Aws::String &value)
CreateConfigurationTemplateRequest & WithPlatformArn(Aws::String &&value)
CreateConfigurationTemplateRequest & WithSolutionStackName(Aws::String &&value)
CreateConfigurationTemplateRequest & WithDescription(const Aws::String &value)
CreateConfigurationTemplateRequest & WithTemplateName(const char *value)
CreateConfigurationTemplateRequest & WithEnvironmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateConfigurationTemplateRequest & WithDescription(const char *value)
CreateConfigurationTemplateRequest & WithSourceConfiguration(const SourceConfiguration &value)
CreateConfigurationTemplateRequest & WithEnvironmentId(const char *value)
CreateConfigurationTemplateRequest & WithPlatformArn(const Aws::String &value)
CreateConfigurationTemplateRequest & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)