7#include <aws/codecatalyst/CodeCatalystRequest.h>
8#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
9#include <aws/codecatalyst/model/IdeConfiguration.h>
10#include <aws/codecatalyst/model/InstanceType.h>
11#include <aws/codecatalyst/model/PersistentStorageConfiguration.h>
12#include <aws/codecatalyst/model/RepositoryInput.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace CodeCatalyst {
42 template <
typename SpaceNameT = Aws::String>
44 m_spaceNameHasBeenSet =
true;
45 m_spaceName = std::forward<SpaceNameT>(value);
47 template <
typename SpaceNameT = Aws::String>
60 template <
typename ProjectNameT = Aws::String>
62 m_projectNameHasBeenSet =
true;
63 m_projectName = std::forward<ProjectNameT>(value);
65 template <
typename ProjectNameT = Aws::String>
79 template <
typename RepositoriesT = Aws::Vector<RepositoryInput>>
81 m_repositoriesHasBeenSet =
true;
82 m_repositories = std::forward<RepositoriesT>(value);
84 template <
typename RepositoriesT = Aws::Vector<RepositoryInput>>
89 template <
typename RepositoriesT = RepositoryInput>
91 m_repositoriesHasBeenSet =
true;
92 m_repositories.emplace_back(std::forward<RepositoriesT>(value));
106 template <
typename ClientTokenT = Aws::String>
108 m_clientTokenHasBeenSet =
true;
109 m_clientToken = std::forward<ClientTokenT>(value);
111 template <
typename ClientTokenT = Aws::String>
124 template <
typename AliasT = Aws::String>
126 m_aliasHasBeenSet =
true;
127 m_alias = std::forward<AliasT>(value);
129 template <
typename AliasT = Aws::String>
131 SetAlias(std::forward<AliasT>(value));
145 template <
typename IdesT = Aws::Vector<IdeConfiguration>>
147 m_idesHasBeenSet =
true;
148 m_ides = std::forward<IdesT>(value);
150 template <
typename IdesT = Aws::Vector<IdeConfiguration>>
152 SetIdes(std::forward<IdesT>(value));
155 template <
typename IdesT = IdeConfiguration>
157 m_idesHasBeenSet =
true;
158 m_ides.emplace_back(std::forward<IdesT>(value));
170 m_instanceTypeHasBeenSet =
true;
171 m_instanceType = value;
188 m_inactivityTimeoutMinutesHasBeenSet =
true;
189 m_inactivityTimeoutMinutes = value;
208 template <
typename PersistentStorageT = PersistentStorageConfiguration>
210 m_persistentStorageHasBeenSet =
true;
211 m_persistentStorage = std::forward<PersistentStorageT>(value);
213 template <
typename PersistentStorageT = PersistentStorageConfiguration>
227 template <
typename VpcConnectionNameT = Aws::String>
229 m_vpcConnectionNameHasBeenSet =
true;
230 m_vpcConnectionName = std::forward<VpcConnectionNameT>(value);
232 template <
typename VpcConnectionNameT = Aws::String>
253 int m_inactivityTimeoutMinutes{0};
255 PersistentStorageConfiguration m_persistentStorage;
258 bool m_spaceNameHasBeenSet =
false;
259 bool m_projectNameHasBeenSet =
false;
260 bool m_repositoriesHasBeenSet =
false;
261 bool m_clientTokenHasBeenSet =
false;
262 bool m_aliasHasBeenSet =
false;
263 bool m_idesHasBeenSet =
false;
264 bool m_instanceTypeHasBeenSet =
false;
265 bool m_inactivityTimeoutMinutesHasBeenSet =
false;
266 bool m_persistentStorageHasBeenSet =
false;
267 bool m_vpcConnectionNameHasBeenSet =
false;
void SetPersistentStorage(PersistentStorageT &&value)
bool RepositoriesHasBeenSet() const
CreateDevEnvironmentRequest & WithAlias(AliasT &&value)
bool ProjectNameHasBeenSet() const
const PersistentStorageConfiguration & GetPersistentStorage() const
bool IdesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool InactivityTimeoutMinutesHasBeenSet() const
void SetSpaceName(SpaceNameT &&value)
void SetProjectName(ProjectNameT &&value)
void SetInactivityTimeoutMinutes(int value)
void SetClientToken(ClientTokenT &&value)
bool AliasHasBeenSet() const
int GetInactivityTimeoutMinutes() const
void SetVpcConnectionName(VpcConnectionNameT &&value)
CreateDevEnvironmentRequest & WithVpcConnectionName(VpcConnectionNameT &&value)
void SetRepositories(RepositoriesT &&value)
const Aws::String & GetProjectName() const
CreateDevEnvironmentRequest & WithSpaceName(SpaceNameT &&value)
bool VpcConnectionNameHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateDevEnvironmentRequest & WithRepositories(RepositoriesT &&value)
const Aws::String & GetSpaceName() const
CreateDevEnvironmentRequest & WithInactivityTimeoutMinutes(int value)
bool SpaceNameHasBeenSet() const
CreateDevEnvironmentRequest & AddIdes(IdesT &&value)
bool PersistentStorageHasBeenSet() const
CreateDevEnvironmentRequest & WithClientToken(ClientTokenT &&value)
CreateDevEnvironmentRequest & AddRepositories(RepositoriesT &&value)
void SetInstanceType(InstanceType value)
bool InstanceTypeHasBeenSet() const
const Aws::String & GetVpcConnectionName() const
CreateDevEnvironmentRequest & WithInstanceType(InstanceType value)
AWS_CODECATALYST_API CreateDevEnvironmentRequest()=default
void SetAlias(AliasT &&value)
AWS_CODECATALYST_API Aws::String SerializePayload() const override
const Aws::Vector< RepositoryInput > & GetRepositories() const
InstanceType GetInstanceType() const
CreateDevEnvironmentRequest & WithPersistentStorage(PersistentStorageT &&value)
void SetIdes(IdesT &&value)
const Aws::String & GetAlias() const
CreateDevEnvironmentRequest & WithIdes(IdesT &&value)
const Aws::Vector< IdeConfiguration > & GetIdes() const
CreateDevEnvironmentRequest & WithProjectName(ProjectNameT &&value)
const Aws::String & GetClientToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector