7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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/Trigger.h>
17#include <aws/elasticbeanstalk/model/Queue.h>
29namespace ElasticBeanstalk
47 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
57 template<
typename EnvironmentNameT = Aws::String>
58 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
59 template<
typename EnvironmentNameT = Aws::String>
69 template<
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
70 void SetAutoScalingGroups(AutoScalingGroupsT&& value) { m_autoScalingGroupsHasBeenSet =
true; m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value); }
71 template<
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
73 template<
typename AutoScalingGroupsT = AutoScalingGroup>
83 template<
typename InstancesT = Aws::Vector<Instance>>
84 void SetInstances(InstancesT&& value) { m_instancesHasBeenSet =
true; m_instances = std::forward<InstancesT>(value); }
85 template<
typename InstancesT = Aws::Vector<Instance>>
87 template<
typename InstancesT = Instance>
97 template<
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
98 void SetLaunchConfigurations(LaunchConfigurationsT&& value) { m_launchConfigurationsHasBeenSet =
true; m_launchConfigurations = std::forward<LaunchConfigurationsT>(value); }
99 template<
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
101 template<
typename LaunchConfigurationsT = LaunchConfiguration>
111 template<
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
112 void SetLaunchTemplates(LaunchTemplatesT&& value) { m_launchTemplatesHasBeenSet =
true; m_launchTemplates = std::forward<LaunchTemplatesT>(value); }
113 template<
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
115 template<
typename LaunchTemplatesT = LaunchTemplate>
125 template<
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
126 void SetLoadBalancers(LoadBalancersT&& value) { m_loadBalancersHasBeenSet =
true; m_loadBalancers = std::forward<LoadBalancersT>(value); }
127 template<
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
129 template<
typename LoadBalancersT = LoadBalancer>
139 template<
typename TriggersT = Aws::Vector<Trigger>>
140 void SetTriggers(TriggersT&& value) { m_triggersHasBeenSet =
true; m_triggers = std::forward<TriggersT>(value); }
141 template<
typename TriggersT = Aws::Vector<Trigger>>
143 template<
typename TriggersT = Trigger>
153 template<
typename QueuesT = Aws::Vector<Queue>>
154 void SetQueues(QueuesT&& value) { m_queuesHasBeenSet =
true; m_queues = std::forward<QueuesT>(value); }
155 template<
typename QueuesT = Aws::Vector<Queue>>
157 template<
typename QueuesT = Queue>
163 bool m_environmentNameHasBeenSet =
false;
166 bool m_autoScalingGroupsHasBeenSet =
false;
169 bool m_instancesHasBeenSet =
false;
172 bool m_launchConfigurationsHasBeenSet =
false;
175 bool m_launchTemplatesHasBeenSet =
false;
178 bool m_loadBalancersHasBeenSet =
false;
181 bool m_triggersHasBeenSet =
false;
184 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