7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/AutoScalingGroup.h>
12#include <aws/elasticbeanstalk/model/Instance.h>
13#include <aws/elasticbeanstalk/model/LaunchConfiguration.h>
14#include <aws/elasticbeanstalk/model/LaunchTemplate.h>
15#include <aws/elasticbeanstalk/model/LoadBalancer.h>
16#include <aws/elasticbeanstalk/model/Queue.h>
17#include <aws/elasticbeanstalk/model/Trigger.h>
27namespace ElasticBeanstalk {
43 const char* locationValue)
const;
52 template <
typename EnvironmentNameT = Aws::String>
54 m_environmentNameHasBeenSet =
true;
55 m_environmentName = std::forward<EnvironmentNameT>(value);
57 template <
typename EnvironmentNameT = Aws::String>
70 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
72 m_autoScalingGroupsHasBeenSet =
true;
73 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
75 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
80 template <
typename AutoScalingGroupsT = AutoScalingGroup>
82 m_autoScalingGroupsHasBeenSet =
true;
83 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
94 template <
typename InstancesT = Aws::Vector<Instance>>
96 m_instancesHasBeenSet =
true;
97 m_instances = std::forward<InstancesT>(value);
99 template <
typename InstancesT = Aws::Vector<Instance>>
104 template <
typename InstancesT = Instance>
106 m_instancesHasBeenSet =
true;
107 m_instances.emplace_back(std::forward<InstancesT>(value));
118 template <
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
120 m_launchConfigurationsHasBeenSet =
true;
121 m_launchConfigurations = std::forward<LaunchConfigurationsT>(value);
123 template <
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
128 template <
typename LaunchConfigurationsT = LaunchConfiguration>
130 m_launchConfigurationsHasBeenSet =
true;
131 m_launchConfigurations.emplace_back(std::forward<LaunchConfigurationsT>(value));
142 template <
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
144 m_launchTemplatesHasBeenSet =
true;
145 m_launchTemplates = std::forward<LaunchTemplatesT>(value);
147 template <
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
152 template <
typename LaunchTemplatesT = LaunchTemplate>
154 m_launchTemplatesHasBeenSet =
true;
155 m_launchTemplates.emplace_back(std::forward<LaunchTemplatesT>(value));
166 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
168 m_loadBalancersHasBeenSet =
true;
169 m_loadBalancers = std::forward<LoadBalancersT>(value);
171 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
176 template <
typename LoadBalancersT = LoadBalancer>
178 m_loadBalancersHasBeenSet =
true;
179 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
190 template <
typename TriggersT = Aws::Vector<Trigger>>
192 m_triggersHasBeenSet =
true;
193 m_triggers = std::forward<TriggersT>(value);
195 template <
typename TriggersT = Aws::Vector<Trigger>>
200 template <
typename TriggersT = Trigger>
202 m_triggersHasBeenSet =
true;
203 m_triggers.emplace_back(std::forward<TriggersT>(value));
214 template <
typename QueuesT = Aws::Vector<Queue>>
216 m_queuesHasBeenSet =
true;
217 m_queues = std::forward<QueuesT>(value);
219 template <
typename QueuesT = Aws::Vector<Queue>>
224 template <
typename QueuesT = Queue>
226 m_queuesHasBeenSet =
true;
227 m_queues.emplace_back(std::forward<QueuesT>(value));
247 bool m_environmentNameHasBeenSet =
false;
248 bool m_autoScalingGroupsHasBeenSet =
false;
249 bool m_instancesHasBeenSet =
false;
250 bool m_launchConfigurationsHasBeenSet =
false;
251 bool m_launchTemplatesHasBeenSet =
false;
252 bool m_loadBalancersHasBeenSet =
false;
253 bool m_triggersHasBeenSet =
false;
254 bool m_queuesHasBeenSet =
false;
void SetInstances(InstancesT &&value)
EnvironmentResourceDescription & WithLaunchConfigurations(LaunchConfigurationsT &&value)
bool LoadBalancersHasBeenSet() const
EnvironmentResourceDescription & AddInstances(InstancesT &&value)
void SetLaunchTemplates(LaunchTemplatesT &&value)
EnvironmentResourceDescription & WithAutoScalingGroups(AutoScalingGroupsT &&value)
void SetAutoScalingGroups(AutoScalingGroupsT &&value)
EnvironmentResourceDescription & AddLoadBalancers(LoadBalancersT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
EnvironmentResourceDescription & WithInstances(InstancesT &&value)
const Aws::String & GetEnvironmentName() const
EnvironmentResourceDescription & WithLoadBalancers(LoadBalancersT &&value)
bool LaunchTemplatesHasBeenSet() const
EnvironmentResourceDescription & AddLaunchConfigurations(LaunchConfigurationsT &&value)
EnvironmentResourceDescription & WithTriggers(TriggersT &&value)
const Aws::Vector< AutoScalingGroup > & GetAutoScalingGroups() const
EnvironmentResourceDescription & AddLaunchTemplates(LaunchTemplatesT &&value)
bool EnvironmentNameHasBeenSet() const
EnvironmentResourceDescription & AddAutoScalingGroups(AutoScalingGroupsT &&value)
const Aws::Vector< Instance > & GetInstances() const
void SetQueues(QueuesT &&value)
const Aws::Vector< Trigger > & GetTriggers() const
EnvironmentResourceDescription & WithLaunchTemplates(LaunchTemplatesT &&value)
AWS_ELASTICBEANSTALK_API EnvironmentResourceDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TriggersHasBeenSet() const
EnvironmentResourceDescription & AddTriggers(TriggersT &&value)
EnvironmentResourceDescription & WithEnvironmentName(EnvironmentNameT &&value)
void SetTriggers(TriggersT &&value)
const Aws::Vector< Queue > & GetQueues() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< LaunchConfiguration > & GetLaunchConfigurations() const
bool InstancesHasBeenSet() const
bool LaunchConfigurationsHasBeenSet() const
void SetLoadBalancers(LoadBalancersT &&value)
AWS_ELASTICBEANSTALK_API EnvironmentResourceDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< LaunchTemplate > & GetLaunchTemplates() const
EnvironmentResourceDescription & WithQueues(QueuesT &&value)
EnvironmentResourceDescription & AddQueues(QueuesT &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
void SetLaunchConfigurations(LaunchConfigurationsT &&value)
bool AutoScalingGroupsHasBeenSet() const
AWS_ELASTICBEANSTALK_API EnvironmentResourceDescription()=default
bool QueuesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream