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>
160 template <
typename ImageIdT = Aws::String>
162 m_imageIdHasBeenSet =
true;
163 m_imageId = std::forward<ImageIdT>(value);
165 template <
typename ImageIdT = Aws::String>
180 m_automaticStopTimeMinutesHasBeenSet =
true;
181 m_automaticStopTimeMinutes = value;
197 template <
typename OwnerArnT = Aws::String>
199 m_ownerArnHasBeenSet =
true;
200 m_ownerArn = std::forward<OwnerArnT>(value);
202 template <
typename OwnerArnT = Aws::String>
216 template <
typename TagsT = Aws::Vector<Tag>>
218 m_tagsHasBeenSet =
true;
219 m_tags = std::forward<TagsT>(value);
221 template <
typename TagsT = Aws::Vector<Tag>>
223 SetTags(std::forward<TagsT>(value));
226 template <
typename TagsT = Tag>
228 m_tagsHasBeenSet =
true;
229 m_tags.emplace_back(std::forward<TagsT>(value));
247 m_connectionTypeHasBeenSet =
true;
248 m_connectionType = value;
266 m_dryRunHasBeenSet =
true;
287 int m_automaticStopTimeMinutes{0};
295 bool m_dryRun{
false};
296 bool m_nameHasBeenSet =
false;
297 bool m_descriptionHasBeenSet =
false;
298 bool m_clientRequestTokenHasBeenSet =
false;
299 bool m_instanceTypeHasBeenSet =
false;
300 bool m_subnetIdHasBeenSet =
false;
301 bool m_imageIdHasBeenSet =
false;
302 bool m_automaticStopTimeMinutesHasBeenSet =
false;
303 bool m_ownerArnHasBeenSet =
false;
304 bool m_tagsHasBeenSet =
false;
305 bool m_connectionTypeHasBeenSet =
false;
306 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