AWS SDK for C++  0.12.9
AWS SDK for C++
ConfigurationSettingsDescription.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
24 
25 namespace Aws
26 {
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlNode;
32 } // namespace Xml
33 } // namespace Utils
34 namespace ElasticBeanstalk
35 {
36 namespace Model
37 {
38 
43  {
44  public:
48 
49  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50  void OutputToStream(Aws::OStream& oStream, const char* location) const;
51 
55  inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
56 
60  inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
61 
65  inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
66 
70  inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
71 
75  inline ConfigurationSettingsDescription& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
76 
80  inline ConfigurationSettingsDescription& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(value); return *this;}
81 
85  inline ConfigurationSettingsDescription& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
86 
90  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
91 
95  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
96 
100  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
101 
105  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
106 
110  inline ConfigurationSettingsDescription& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
111 
115  inline ConfigurationSettingsDescription& WithApplicationName(Aws::String&& value) { SetApplicationName(value); return *this;}
116 
120  inline ConfigurationSettingsDescription& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
121 
126  inline const Aws::String& GetTemplateName() const{ return m_templateName; }
127 
132  inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
133 
138  inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
139 
144  inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
145 
150  inline ConfigurationSettingsDescription& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
151 
156  inline ConfigurationSettingsDescription& WithTemplateName(Aws::String&& value) { SetTemplateName(value); return *this;}
157 
162  inline ConfigurationSettingsDescription& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
163 
167  inline const Aws::String& GetDescription() const{ return m_description; }
168 
172  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
173 
177  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
178 
182  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
183 
187  inline ConfigurationSettingsDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
188 
192  inline ConfigurationSettingsDescription& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
193 
197  inline ConfigurationSettingsDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
198 
203  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
204 
209  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
210 
215  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
216 
221  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
222 
227  inline ConfigurationSettingsDescription& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
228 
233  inline ConfigurationSettingsDescription& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(value); return *this;}
234 
239  inline ConfigurationSettingsDescription& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
240 
252  inline const ConfigurationDeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; }
253 
265  inline void SetDeploymentStatus(const ConfigurationDeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
266 
278  inline void SetDeploymentStatus(ConfigurationDeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
279 
291  inline ConfigurationSettingsDescription& WithDeploymentStatus(const ConfigurationDeploymentStatus& value) { SetDeploymentStatus(value); return *this;}
292 
304  inline ConfigurationSettingsDescription& WithDeploymentStatus(ConfigurationDeploymentStatus&& value) { SetDeploymentStatus(value); return *this;}
305 
309  inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
310 
314  inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
315 
319  inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
320 
324  inline ConfigurationSettingsDescription& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
325 
329  inline ConfigurationSettingsDescription& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(value); return *this;}
330 
334  inline const Aws::Utils::DateTime& GetDateUpdated() const{ return m_dateUpdated; }
335 
339  inline void SetDateUpdated(const Aws::Utils::DateTime& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
340 
344  inline void SetDateUpdated(Aws::Utils::DateTime&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
345 
349  inline ConfigurationSettingsDescription& WithDateUpdated(const Aws::Utils::DateTime& value) { SetDateUpdated(value); return *this;}
350 
354  inline ConfigurationSettingsDescription& WithDateUpdated(Aws::Utils::DateTime&& value) { SetDateUpdated(value); return *this;}
355 
360  inline const Aws::Vector<ConfigurationOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
361 
366  inline void SetOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
367 
372  inline void SetOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
373 
378  inline ConfigurationSettingsDescription& WithOptionSettings(const Aws::Vector<ConfigurationOptionSetting>& value) { SetOptionSettings(value); return *this;}
379 
384  inline ConfigurationSettingsDescription& WithOptionSettings(Aws::Vector<ConfigurationOptionSetting>&& value) { SetOptionSettings(value); return *this;}
385 
390  inline ConfigurationSettingsDescription& AddOptionSettings(const ConfigurationOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
391 
396  inline ConfigurationSettingsDescription& AddOptionSettings(ConfigurationOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
397 
398 
399  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
400 
401 
402  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
403 
404 
405  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = value; }
406 
407 
408  inline ConfigurationSettingsDescription& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
409 
410 
411  inline ConfigurationSettingsDescription& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
412 
413  private:
414  Aws::String m_solutionStackName;
415  bool m_solutionStackNameHasBeenSet;
416  Aws::String m_applicationName;
417  bool m_applicationNameHasBeenSet;
418  Aws::String m_templateName;
419  bool m_templateNameHasBeenSet;
420  Aws::String m_description;
421  bool m_descriptionHasBeenSet;
422  Aws::String m_environmentName;
423  bool m_environmentNameHasBeenSet;
424  ConfigurationDeploymentStatus m_deploymentStatus;
425  bool m_deploymentStatusHasBeenSet;
426  Aws::Utils::DateTime m_dateCreated;
427  bool m_dateCreatedHasBeenSet;
428  Aws::Utils::DateTime m_dateUpdated;
429  bool m_dateUpdatedHasBeenSet;
431  bool m_optionSettingsHasBeenSet;
432  ResponseMetadata m_responseMetadata;
433  bool m_responseMetadataHasBeenSet;
434  };
435 
436 } // namespace Model
437 } // namespace ElasticBeanstalk
438 } // namespace Aws
ConfigurationSettingsDescription & WithSolutionStackName(const Aws::String &value)
ConfigurationSettingsDescription & WithApplicationName(const char *value)
ConfigurationSettingsDescription & WithApplicationName(const Aws::String &value)
ConfigurationSettingsDescription & WithSolutionStackName(const char *value)
#define AWS_ELASTICBEANSTALK_API
const Aws::Vector< ConfigurationOptionSetting > & GetOptionSettings() const
ConfigurationSettingsDescription & AddOptionSettings(ConfigurationOptionSetting &&value)
ConfigurationSettingsDescription & WithTemplateName(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ConfigurationSettingsDescription & AddOptionSettings(const ConfigurationOptionSetting &value)
ConfigurationSettingsDescription & WithDateUpdated(Aws::Utils::DateTime &&value)
ConfigurationSettingsDescription & WithOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
ConfigurationSettingsDescription & WithDescription(const char *value)
ConfigurationSettingsDescription & WithDateCreated(const Aws::Utils::DateTime &value)
ConfigurationSettingsDescription & WithSolutionStackName(Aws::String &&value)
ConfigurationSettingsDescription & WithResponseMetadata(ResponseMetadata &&value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
ConfigurationSettingsDescription & WithTemplateName(const Aws::String &value)
void SetOptionSettings(Aws::Vector< ConfigurationOptionSetting > &&value)
ConfigurationSettingsDescription & WithEnvironmentName(Aws::String &&value)
ConfigurationSettingsDescription & WithResponseMetadata(const ResponseMetadata &value)
ConfigurationSettingsDescription & WithApplicationName(Aws::String &&value)
ConfigurationSettingsDescription & WithDateCreated(Aws::Utils::DateTime &&value)
void SetOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
ConfigurationSettingsDescription & WithDeploymentStatus(const ConfigurationDeploymentStatus &value)
ConfigurationSettingsDescription & WithDescription(Aws::String &&value)
ConfigurationSettingsDescription & WithDateUpdated(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ConfigurationSettingsDescription & WithEnvironmentName(const char *value)
ConfigurationSettingsDescription & WithOptionSettings(const Aws::Vector< ConfigurationOptionSetting > &value)
ConfigurationSettingsDescription & WithDeploymentStatus(ConfigurationDeploymentStatus &&value)
ConfigurationSettingsDescription & WithTemplateName(Aws::String &&value)
ConfigurationSettingsDescription & WithDescription(const Aws::String &value)
JSON (JavaScript Object Notation).
ConfigurationSettingsDescription & WithEnvironmentName(const Aws::String &value)