7#include <aws/cloud9/Cloud9_EXPORTS.h>
8#include <aws/cloud9/Cloud9Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloud9/model/ConnectionType.h>
12#include <aws/cloud9/model/Tag.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
74 template<
typename ClientRequestTokenT = Aws::String>
75 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
76 template<
typename ClientRequestTokenT = Aws::String>
87 template<
typename InstanceTypeT = Aws::String>
88 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
89 template<
typename InstanceTypeT = Aws::String>
100 template<
typename SubnetIdT = Aws::String>
101 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
102 template<
typename SubnetIdT = Aws::String>
134 template<
typename ImageIdT = Aws::String>
135 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
136 template<
typename ImageIdT = Aws::String>
159 template<
typename OwnerArnT = Aws::String>
160 void SetOwnerArn(OwnerArnT&& value) { m_ownerArnHasBeenSet =
true; m_ownerArn = std::forward<OwnerArnT>(value); }
161 template<
typename OwnerArnT = Aws::String>
172 template<
typename TagsT = Aws::Vector<Tag>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
174 template<
typename TagsT = Aws::Vector<Tag>>
176 template<
typename TagsT = Tag>
205 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
211 bool m_nameHasBeenSet =
false;
214 bool m_descriptionHasBeenSet =
false;
217 bool m_clientRequestTokenHasBeenSet =
false;
220 bool m_instanceTypeHasBeenSet =
false;
223 bool m_subnetIdHasBeenSet =
false;
226 bool m_imageIdHasBeenSet =
false;
228 int m_automaticStopTimeMinutes{0};
229 bool m_automaticStopTimeMinutesHasBeenSet =
false;
232 bool m_ownerArnHasBeenSet =
false;
235 bool m_tagsHasBeenSet =
false;
238 bool m_connectionTypeHasBeenSet =
false;
240 bool m_dryRun{
false};
241 bool m_dryRunHasBeenSet =
false;
bool TagsHasBeenSet() const
CreateEnvironmentEC2Request & WithInstanceType(InstanceTypeT &&value)
AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetInstanceType(InstanceTypeT &&value)
const Aws::String & GetImageId() const
bool ClientRequestTokenHasBeenSet() const
void SetDryRun(bool value)
AWS_CLOUD9_API Aws::String SerializePayload() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
bool AutomaticStopTimeMinutesHasBeenSet() const
bool ImageIdHasBeenSet() const
const Aws::String & GetDescription() const
CreateEnvironmentEC2Request & WithImageId(ImageIdT &&value)
ConnectionType GetConnectionType() const
bool SubnetIdHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
const Aws::String & GetOwnerArn() const
bool DryRunHasBeenSet() const
bool ConnectionTypeHasBeenSet() const
CreateEnvironmentEC2Request & WithDryRun(bool value)
bool NameHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetSubnetId() const
bool DescriptionHasBeenSet() const
CreateEnvironmentEC2Request & WithTags(TagsT &&value)
AWS_CLOUD9_API CreateEnvironmentEC2Request()=default
virtual const char * GetServiceRequestName() const override
CreateEnvironmentEC2Request & WithSubnetId(SubnetIdT &&value)
void SetConnectionType(ConnectionType value)
void SetName(NameT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
void SetOwnerArn(OwnerArnT &&value)
bool OwnerArnHasBeenSet() const
int GetAutomaticStopTimeMinutes() const
CreateEnvironmentEC2Request & WithAutomaticStopTimeMinutes(int value)
void SetImageId(ImageIdT &&value)
const Aws::String & GetClientRequestToken() const
CreateEnvironmentEC2Request & WithName(NameT &&value)
const Aws::String & GetInstanceType() const
bool InstanceTypeHasBeenSet() const
CreateEnvironmentEC2Request & WithConnectionType(ConnectionType value)
CreateEnvironmentEC2Request & AddTags(TagsT &&value)
CreateEnvironmentEC2Request & WithOwnerArn(OwnerArnT &&value)
void SetAutomaticStopTimeMinutes(int value)
CreateEnvironmentEC2Request & WithClientRequestToken(ClientRequestTokenT &&value)
CreateEnvironmentEC2Request & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector