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>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
80 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
95 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
110 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
147 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
174 inline void SetOwnerArn(
const char* value) { m_ownerArnHasBeenSet =
true; m_ownerArn.assign(value); }
222 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
228 bool m_nameHasBeenSet =
false;
231 bool m_descriptionHasBeenSet =
false;
234 bool m_clientRequestTokenHasBeenSet =
false;
237 bool m_instanceTypeHasBeenSet =
false;
240 bool m_subnetIdHasBeenSet =
false;
243 bool m_imageIdHasBeenSet =
false;
245 int m_automaticStopTimeMinutes;
246 bool m_automaticStopTimeMinutesHasBeenSet =
false;
249 bool m_ownerArnHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
255 bool m_connectionTypeHasBeenSet =
false;
258 bool m_dryRunHasBeenSet =
false;
CreateEnvironmentEC2Request & WithName(Aws::String &&value)
void SetName(const char *value)
bool TagsHasBeenSet() const
CreateEnvironmentEC2Request & WithName(const char *value)
CreateEnvironmentEC2Request & WithOwnerArn(const char *value)
void SetImageId(const char *value)
void SetSubnetId(Aws::String &&value)
AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEnvironmentEC2Request & AddTags(const Tag &value)
CreateEnvironmentEC2Request & WithSubnetId(const char *value)
const Aws::String & GetImageId() const
bool ClientRequestTokenHasBeenSet() const
void SetDryRun(bool value)
AWS_CLOUD9_API Aws::String SerializePayload() const override
void SetClientRequestToken(const Aws::String &value)
bool AutomaticStopTimeMinutesHasBeenSet() const
CreateEnvironmentEC2Request & WithConnectionType(const ConnectionType &value)
bool ImageIdHasBeenSet() const
const Aws::String & GetDescription() const
void SetOwnerArn(Aws::String &&value)
CreateEnvironmentEC2Request & WithInstanceType(const Aws::String &value)
bool SubnetIdHasBeenSet() const
void SetSubnetId(const Aws::String &value)
const Aws::String & GetOwnerArn() const
bool DryRunHasBeenSet() const
void SetClientRequestToken(const char *value)
CreateEnvironmentEC2Request & WithClientRequestToken(const char *value)
void SetOwnerArn(const char *value)
void SetOwnerArn(const Aws::String &value)
void SetImageId(Aws::String &&value)
CreateEnvironmentEC2Request & WithClientRequestToken(const Aws::String &value)
bool ConnectionTypeHasBeenSet() const
void SetName(Aws::String &&value)
CreateEnvironmentEC2Request & WithDryRun(bool value)
CreateEnvironmentEC2Request & WithClientRequestToken(Aws::String &&value)
void SetDescription(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::String & GetSubnetId() const
CreateEnvironmentEC2Request & WithImageId(Aws::String &&value)
CreateEnvironmentEC2Request & WithOwnerArn(const Aws::String &value)
bool DescriptionHasBeenSet() const
CreateEnvironmentEC2Request & WithSubnetId(Aws::String &&value)
void SetInstanceType(const char *value)
void SetConnectionType(const ConnectionType &value)
void SetImageId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateEnvironmentEC2Request & WithImageId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
CreateEnvironmentEC2Request & WithOwnerArn(Aws::String &&value)
CreateEnvironmentEC2Request & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
CreateEnvironmentEC2Request & WithInstanceType(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetInstanceType(Aws::String &&value)
CreateEnvironmentEC2Request & WithTags(Aws::Vector< Tag > &&value)
CreateEnvironmentEC2Request & WithDescription(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
bool OwnerArnHasBeenSet() const
int GetAutomaticStopTimeMinutes() const
CreateEnvironmentEC2Request & WithSubnetId(const Aws::String &value)
const ConnectionType & GetConnectionType() const
CreateEnvironmentEC2Request & WithDescription(const char *value)
AWS_CLOUD9_API CreateEnvironmentEC2Request()
CreateEnvironmentEC2Request & WithName(const Aws::String &value)
CreateEnvironmentEC2Request & WithAutomaticStopTimeMinutes(int value)
void SetConnectionType(ConnectionType &&value)
const Aws::String & GetClientRequestToken() const
CreateEnvironmentEC2Request & WithImageId(const Aws::String &value)
CreateEnvironmentEC2Request & AddTags(Tag &&value)
CreateEnvironmentEC2Request & WithInstanceType(const char *value)
CreateEnvironmentEC2Request & WithConnectionType(ConnectionType &&value)
void SetDescription(const char *value)
CreateEnvironmentEC2Request & WithTags(const Aws::Vector< Tag > &value)
void SetClientRequestToken(Aws::String &&value)
const Aws::String & GetInstanceType() const
bool InstanceTypeHasBeenSet() const
void SetSubnetId(const char *value)
void SetAutomaticStopTimeMinutes(int 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