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/Cluster.h>
13#include <aws/elasticbeanstalk/model/Instance.h>
14#include <aws/elasticbeanstalk/model/LaunchConfiguration.h>
15#include <aws/elasticbeanstalk/model/LaunchTemplate.h>
16#include <aws/elasticbeanstalk/model/LoadBalancer.h>
17#include <aws/elasticbeanstalk/model/Queue.h>
18#include <aws/elasticbeanstalk/model/Trigger.h>
28namespace ElasticBeanstalk {
44 const char* locationValue)
const;
53 template <
typename EnvironmentNameT = Aws::String>
55 m_environmentNameHasBeenSet =
true;
56 m_environmentName = std::forward<EnvironmentNameT>(value);
58 template <
typename EnvironmentNameT = Aws::String>
71 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
73 m_autoScalingGroupsHasBeenSet =
true;
74 m_autoScalingGroups = std::forward<AutoScalingGroupsT>(value);
76 template <
typename AutoScalingGroupsT = Aws::Vector<AutoScalingGroup>>
81 template <
typename AutoScalingGroupsT = AutoScalingGroup>
83 m_autoScalingGroupsHasBeenSet =
true;
84 m_autoScalingGroups.emplace_back(std::forward<AutoScalingGroupsT>(value));
96 template <
typename ClusterT = Cluster>
98 m_clusterHasBeenSet =
true;
99 m_cluster = std::forward<ClusterT>(value);
101 template <
typename ClusterT = Cluster>
114 template <
typename InstancesT = Aws::Vector<Instance>>
116 m_instancesHasBeenSet =
true;
117 m_instances = std::forward<InstancesT>(value);
119 template <
typename InstancesT = Aws::Vector<Instance>>
124 template <
typename InstancesT = Instance>
126 m_instancesHasBeenSet =
true;
127 m_instances.emplace_back(std::forward<InstancesT>(value));
138 template <
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
140 m_launchConfigurationsHasBeenSet =
true;
141 m_launchConfigurations = std::forward<LaunchConfigurationsT>(value);
143 template <
typename LaunchConfigurationsT = Aws::Vector<LaunchConfiguration>>
148 template <
typename LaunchConfigurationsT = LaunchConfiguration>
150 m_launchConfigurationsHasBeenSet =
true;
151 m_launchConfigurations.emplace_back(std::forward<LaunchConfigurationsT>(value));
162 template <
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
164 m_launchTemplatesHasBeenSet =
true;
165 m_launchTemplates = std::forward<LaunchTemplatesT>(value);
167 template <
typename LaunchTemplatesT = Aws::Vector<LaunchTemplate>>
172 template <
typename LaunchTemplatesT = LaunchTemplate>
174 m_launchTemplatesHasBeenSet =
true;
175 m_launchTemplates.emplace_back(std::forward<LaunchTemplatesT>(value));
186 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
188 m_loadBalancersHasBeenSet =
true;
189 m_loadBalancers = std::forward<LoadBalancersT>(value);
191 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
196 template <
typename LoadBalancersT = LoadBalancer>
198 m_loadBalancersHasBeenSet =
true;
199 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
210 template <
typename TriggersT = Aws::Vector<Trigger>>
212 m_triggersHasBeenSet =
true;
213 m_triggers = std::forward<TriggersT>(value);
215 template <
typename TriggersT = Aws::Vector<Trigger>>
220 template <
typename TriggersT = Trigger>
222 m_triggersHasBeenSet =
true;
223 m_triggers.emplace_back(std::forward<TriggersT>(value));
234 template <
typename QueuesT = Aws::Vector<Queue>>
236 m_queuesHasBeenSet =
true;
237 m_queues = std::forward<QueuesT>(value);
239 template <
typename QueuesT = Aws::Vector<Queue>>
244 template <
typename QueuesT = Queue>
246 m_queuesHasBeenSet =
true;
247 m_queues.emplace_back(std::forward<QueuesT>(value));
269 bool m_environmentNameHasBeenSet =
false;
270 bool m_autoScalingGroupsHasBeenSet =
false;
271 bool m_clusterHasBeenSet =
false;
272 bool m_instancesHasBeenSet =
false;
273 bool m_launchConfigurationsHasBeenSet =
false;
274 bool m_launchTemplatesHasBeenSet =
false;
275 bool m_loadBalancersHasBeenSet =
false;
276 bool m_triggersHasBeenSet =
false;
277 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)
EnvironmentResourceDescription & WithCluster(ClusterT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
EnvironmentResourceDescription & WithInstances(InstancesT &&value)
const Aws::String & GetEnvironmentName() const
EnvironmentResourceDescription & WithLoadBalancers(LoadBalancersT &&value)
bool LaunchTemplatesHasBeenSet() const
void SetCluster(ClusterT &&value)
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
const Cluster & GetCluster() 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 ClusterHasBeenSet() 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