7#include <aws/cloud9/Cloud9Request.h>
8#include <aws/cloud9/Cloud9_EXPORTS.h>
9#include <aws/cloud9/model/ConnectionType.h>
10#include <aws/cloud9/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
82 template <
typename ClientRequestTokenT = Aws::String>
84 m_clientRequestTokenHasBeenSet =
true;
85 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
87 template <
typename ClientRequestTokenT = Aws::String>
101 template <
typename InstanceTypeT = Aws::String>
103 m_instanceTypeHasBeenSet =
true;
104 m_instanceType = std::forward<InstanceTypeT>(value);
106 template <
typename InstanceTypeT = Aws::String>
120 template <
typename SubnetIdT = Aws::String>
122 m_subnetIdHasBeenSet =
true;
123 m_subnetId = std::forward<SubnetIdT>(value);
125 template <
typename SubnetIdT = Aws::String>
154 template <
typename ImageIdT = Aws::String>
156 m_imageIdHasBeenSet =
true;
157 m_imageId = std::forward<ImageIdT>(value);
159 template <
typename ImageIdT = Aws::String>
174 m_automaticStopTimeMinutesHasBeenSet =
true;
175 m_automaticStopTimeMinutes = value;
191 template <
typename OwnerArnT = Aws::String>
193 m_ownerArnHasBeenSet =
true;
194 m_ownerArn = std::forward<OwnerArnT>(value);
196 template <
typename OwnerArnT = Aws::String>
210 template <
typename TagsT = Aws::Vector<Tag>>
212 m_tagsHasBeenSet =
true;
213 m_tags = std::forward<TagsT>(value);
215 template <
typename TagsT = Aws::Vector<Tag>>
217 SetTags(std::forward<TagsT>(value));
220 template <
typename TagsT = Tag>
222 m_tagsHasBeenSet =
true;
223 m_tags.emplace_back(std::forward<TagsT>(value));
241 m_connectionTypeHasBeenSet =
true;
242 m_connectionType = value;
260 m_dryRunHasBeenSet =
true;
281 int m_automaticStopTimeMinutes{0};
289 bool m_dryRun{
false};
290 bool m_nameHasBeenSet =
false;
291 bool m_descriptionHasBeenSet =
false;
292 bool m_clientRequestTokenHasBeenSet =
false;
293 bool m_instanceTypeHasBeenSet =
false;
294 bool m_subnetIdHasBeenSet =
false;
295 bool m_imageIdHasBeenSet =
false;
296 bool m_automaticStopTimeMinutesHasBeenSet =
false;
297 bool m_ownerArnHasBeenSet =
false;
298 bool m_tagsHasBeenSet =
false;
299 bool m_connectionTypeHasBeenSet =
false;
300 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