7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/LogsConfig.h>
9#include <aws/codebuild/model/ProjectEnvironment.h>
10#include <aws/codebuild/model/ProjectFileSystemLocation.h>
11#include <aws/codebuild/model/ProjectSource.h>
12#include <aws/codebuild/model/ProjectSourceVersion.h>
13#include <aws/codebuild/model/SandboxSession.h>
14#include <aws/codebuild/model/VpcConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
67 template <
typename ArnT = Aws::String>
69 m_arnHasBeenSet =
true;
70 m_arn = std::forward<ArnT>(value);
72 template <
typename ArnT = Aws::String>
74 SetArn(std::forward<ArnT>(value));
85 template <
typename ProjectNameT = Aws::String>
87 m_projectNameHasBeenSet =
true;
88 m_projectName = std::forward<ProjectNameT>(value);
90 template <
typename ProjectNameT = Aws::String>
104 template <
typename RequestTimeT = Aws::Utils::DateTime>
106 m_requestTimeHasBeenSet =
true;
107 m_requestTime = std::forward<RequestTimeT>(value);
109 template <
typename RequestTimeT = Aws::Utils::DateTime>
122 template <
typename StartTimeT = Aws::Utils::DateTime>
124 m_startTimeHasBeenSet =
true;
125 m_startTime = std::forward<StartTimeT>(value);
127 template <
typename StartTimeT = Aws::Utils::DateTime>
140 template <
typename EndTimeT = Aws::Utils::DateTime>
142 m_endTimeHasBeenSet =
true;
143 m_endTime = std::forward<EndTimeT>(value);
145 template <
typename EndTimeT = Aws::Utils::DateTime>
158 template <
typename StatusT = Aws::String>
160 m_statusHasBeenSet =
true;
161 m_status = std::forward<StatusT>(value);
163 template <
typename StatusT = Aws::String>
174 template <
typename SourceT = ProjectSource>
176 m_sourceHasBeenSet =
true;
177 m_source = std::forward<SourceT>(value);
179 template <
typename SourceT = ProjectSource>
192 template <
typename SourceVersionT = Aws::String>
194 m_sourceVersionHasBeenSet =
true;
195 m_sourceVersion = std::forward<SourceVersionT>(value);
197 template <
typename SourceVersionT = Aws::String>
210 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
212 m_secondarySourcesHasBeenSet =
true;
213 m_secondarySources = std::forward<SecondarySourcesT>(value);
215 template <
typename SecondarySourcesT = Aws::Vector<ProjectSource>>
220 template <
typename SecondarySourcesT = ProjectSource>
222 m_secondarySourcesHasBeenSet =
true;
223 m_secondarySources.emplace_back(std::forward<SecondarySourcesT>(value));
234 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
236 m_secondarySourceVersionsHasBeenSet =
true;
237 m_secondarySourceVersions = std::forward<SecondarySourceVersionsT>(value);
239 template <
typename SecondarySourceVersionsT = Aws::Vector<ProjectSourceVersion>>
244 template <
typename SecondarySourceVersionsT = ProjectSourceVersion>
246 m_secondarySourceVersionsHasBeenSet =
true;
247 m_secondarySourceVersions.emplace_back(std::forward<SecondarySourceVersionsT>(value));
256 template <
typename EnvironmentT = ProjectEnvironment>
258 m_environmentHasBeenSet =
true;
259 m_environment = std::forward<EnvironmentT>(value);
261 template <
typename EnvironmentT = ProjectEnvironment>
278 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
280 m_fileSystemLocationsHasBeenSet =
true;
281 m_fileSystemLocations = std::forward<FileSystemLocationsT>(value);
283 template <
typename FileSystemLocationsT = Aws::Vector<ProjectFileSystemLocation>>
288 template <
typename FileSystemLocationsT = ProjectFileSystemLocation>
290 m_fileSystemLocationsHasBeenSet =
true;
291 m_fileSystemLocations.emplace_back(std::forward<FileSystemLocationsT>(value));
304 m_timeoutInMinutesHasBeenSet =
true;
305 m_timeoutInMinutes = value;
321 m_queuedTimeoutInMinutesHasBeenSet =
true;
322 m_queuedTimeoutInMinutes = value;
334 template <
typename VpcConfigT = VpcConfig>
336 m_vpcConfigHasBeenSet =
true;
337 m_vpcConfig = std::forward<VpcConfigT>(value);
339 template <
typename VpcConfigT = VpcConfig>
350 template <
typename LogConfigT = LogsConfig>
352 m_logConfigHasBeenSet =
true;
353 m_logConfig = std::forward<LogConfigT>(value);
355 template <
typename LogConfigT = LogsConfig>
369 template <
typename EncryptionKeyT = Aws::String>
371 m_encryptionKeyHasBeenSet =
true;
372 m_encryptionKey = std::forward<EncryptionKeyT>(value);
374 template <
typename EncryptionKeyT = Aws::String>
387 template <
typename ServiceRoleT = Aws::String>
389 m_serviceRoleHasBeenSet =
true;
390 m_serviceRole = std::forward<ServiceRoleT>(value);
392 template <
typename ServiceRoleT = Aws::String>
405 template <
typename CurrentSessionT = SandboxSession>
407 m_currentSessionHasBeenSet =
true;
408 m_currentSession = std::forward<CurrentSessionT>(value);
410 template <
typename CurrentSessionT = SandboxSession>
431 ProjectSource m_source;
439 ProjectEnvironment m_environment;
443 int m_timeoutInMinutes{0};
445 int m_queuedTimeoutInMinutes{0};
447 VpcConfig m_vpcConfig;
449 LogsConfig m_logConfig;
455 SandboxSession m_currentSession;
456 bool m_idHasBeenSet =
false;
457 bool m_arnHasBeenSet =
false;
458 bool m_projectNameHasBeenSet =
false;
459 bool m_requestTimeHasBeenSet =
false;
460 bool m_startTimeHasBeenSet =
false;
461 bool m_endTimeHasBeenSet =
false;
462 bool m_statusHasBeenSet =
false;
463 bool m_sourceHasBeenSet =
false;
464 bool m_sourceVersionHasBeenSet =
false;
465 bool m_secondarySourcesHasBeenSet =
false;
466 bool m_secondarySourceVersionsHasBeenSet =
false;
467 bool m_environmentHasBeenSet =
false;
468 bool m_fileSystemLocationsHasBeenSet =
false;
469 bool m_timeoutInMinutesHasBeenSet =
false;
470 bool m_queuedTimeoutInMinutesHasBeenSet =
false;
471 bool m_vpcConfigHasBeenSet =
false;
472 bool m_logConfigHasBeenSet =
false;
473 bool m_encryptionKeyHasBeenSet =
false;
474 bool m_serviceRoleHasBeenSet =
false;
475 bool m_currentSessionHasBeenSet =
false;
const VpcConfig & GetVpcConfig() const
bool FileSystemLocationsHasBeenSet() const
Sandbox & WithLogConfig(LogConfigT &&value)
void SetSource(SourceT &&value)
const Aws::Utils::DateTime & GetStartTime() const
Sandbox & WithId(IdT &&value)
void SetQueuedTimeoutInMinutes(int value)
Sandbox & WithTimeoutInMinutes(int value)
void SetProjectName(ProjectNameT &&value)
bool EnvironmentHasBeenSet() const
void SetArn(ArnT &&value)
Sandbox & WithSource(SourceT &&value)
int GetQueuedTimeoutInMinutes() const
Sandbox & WithEnvironment(EnvironmentT &&value)
void SetEndTime(EndTimeT &&value)
bool SourceHasBeenSet() const
bool SourceVersionHasBeenSet() const
Sandbox & WithProjectName(ProjectNameT &&value)
const Aws::String & GetEncryptionKey() const
const Aws::String & GetStatus() const
const Aws::String & GetId() const
const Aws::Vector< ProjectSource > & GetSecondarySources() const
bool StartTimeHasBeenSet() const
Sandbox & WithFileSystemLocations(FileSystemLocationsT &&value)
Sandbox & AddFileSystemLocations(FileSystemLocationsT &&value)
void SetStatus(StatusT &&value)
bool RequestTimeHasBeenSet() const
void SetTimeoutInMinutes(int value)
Sandbox & WithStatus(StatusT &&value)
Sandbox & AddSecondarySources(SecondarySourcesT &&value)
bool SecondarySourceVersionsHasBeenSet() const
void SetSourceVersion(SourceVersionT &&value)
AWS_CODEBUILD_API Sandbox()=default
void SetCurrentSession(CurrentSessionT &&value)
bool ArnHasBeenSet() const
bool ProjectNameHasBeenSet() const
bool ServiceRoleHasBeenSet() const
Sandbox & WithCurrentSession(CurrentSessionT &&value)
bool EncryptionKeyHasBeenSet() const
Sandbox & WithSecondarySources(SecondarySourcesT &&value)
Sandbox & WithEncryptionKey(EncryptionKeyT &&value)
bool QueuedTimeoutInMinutesHasBeenSet() const
void SetStartTime(StartTimeT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
Sandbox & WithStartTime(StartTimeT &&value)
void SetServiceRole(ServiceRoleT &&value)
bool StatusHasBeenSet() const
bool CurrentSessionHasBeenSet() const
void SetEncryptionKey(EncryptionKeyT &&value)
Sandbox & WithSourceVersion(SourceVersionT &&value)
const Aws::String & GetProjectName() const
Sandbox & WithRequestTime(RequestTimeT &&value)
const Aws::Utils::DateTime & GetRequestTime() const
void SetLogConfig(LogConfigT &&value)
void SetFileSystemLocations(FileSystemLocationsT &&value)
bool VpcConfigHasBeenSet() const
const ProjectEnvironment & GetEnvironment() const
const SandboxSession & GetCurrentSession() const
bool TimeoutInMinutesHasBeenSet() const
void SetVpcConfig(VpcConfigT &&value)
bool SecondarySourcesHasBeenSet() const
void SetSecondarySourceVersions(SecondarySourceVersionsT &&value)
Sandbox & WithVpcConfig(VpcConfigT &&value)
Sandbox & AddSecondarySourceVersions(SecondarySourceVersionsT &&value)
const Aws::Vector< ProjectFileSystemLocation > & GetFileSystemLocations() const
const Aws::String & GetServiceRole() const
bool IdHasBeenSet() const
const Aws::String & GetArn() const
AWS_CODEBUILD_API Sandbox(Aws::Utils::Json::JsonView jsonValue)
Sandbox & WithQueuedTimeoutInMinutes(int value)
const Aws::String & GetSourceVersion() const
const Aws::Utils::DateTime & GetEndTime() const
AWS_CODEBUILD_API Sandbox & operator=(Aws::Utils::Json::JsonView jsonValue)
const LogsConfig & GetLogConfig() const
bool EndTimeHasBeenSet() const
bool LogConfigHasBeenSet() const
Sandbox & WithEndTime(EndTimeT &&value)
Sandbox & WithSecondarySourceVersions(SecondarySourceVersionsT &&value)
void SetRequestTime(RequestTimeT &&value)
Sandbox & WithServiceRole(ServiceRoleT &&value)
const ProjectSource & GetSource() const
Sandbox & WithArn(ArnT &&value)
void SetEnvironment(EnvironmentT &&value)
int GetTimeoutInMinutes() const
const Aws::Vector< ProjectSourceVersion > & GetSecondarySourceVersions() const
void SetSecondarySources(SecondarySourcesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue