7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
11#include <aws/devicefarm/model/EnvironmentVariable.h>
12#include <aws/devicefarm/model/VpcConfig.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
83 m_defaultJobTimeoutMinutesHasBeenSet =
true;
84 m_defaultJobTimeoutMinutes = value;
98 template <
typename CreatedT = Aws::Utils::DateTime>
100 m_createdHasBeenSet =
true;
101 m_created = std::forward<CreatedT>(value);
103 template <
typename CreatedT = Aws::Utils::DateTime>
116 template <
typename VpcConfigT = VpcConfig>
118 m_vpcConfigHasBeenSet =
true;
119 m_vpcConfig = std::forward<VpcConfigT>(value);
121 template <
typename VpcConfigT = VpcConfig>
134 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
136 m_environmentVariablesHasBeenSet =
true;
137 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
139 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
144 template <
typename EnvironmentVariablesT = EnvironmentVariable>
146 m_environmentVariablesHasBeenSet =
true;
147 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
158 template <
typename ExecutionRoleArnT = Aws::String>
160 m_executionRoleArnHasBeenSet =
true;
161 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
163 template <
typename ExecutionRoleArnT = Aws::String>
174 int m_defaultJobTimeoutMinutes{0};
178 VpcConfig m_vpcConfig;
183 bool m_arnHasBeenSet =
false;
184 bool m_nameHasBeenSet =
false;
185 bool m_defaultJobTimeoutMinutesHasBeenSet =
false;
186 bool m_createdHasBeenSet =
false;
187 bool m_vpcConfigHasBeenSet =
false;
188 bool m_environmentVariablesHasBeenSet =
false;
189 bool m_executionRoleArnHasBeenSet =
false;
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
bool ExecutionRoleArnHasBeenSet() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool VpcConfigHasBeenSet() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::Utils::DateTime & GetCreated() const
const VpcConfig & GetVpcConfig() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
Project & WithCreated(CreatedT &&value)
void SetDefaultJobTimeoutMinutes(int value)
bool NameHasBeenSet() const
Project & WithArn(ArnT &&value)
AWS_DEVICEFARM_API Project(Aws::Utils::Json::JsonView jsonValue)
Project & WithExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetArn() const
Project & AddEnvironmentVariables(EnvironmentVariablesT &&value)
Project & WithName(NameT &&value)
void SetArn(ArnT &&value)
AWS_DEVICEFARM_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcConfig(VpcConfigT &&value)
Project & WithDefaultJobTimeoutMinutes(int value)
void SetCreated(CreatedT &&value)
bool CreatedHasBeenSet() const
bool ArnHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
int GetDefaultJobTimeoutMinutes() const
void SetName(NameT &&value)
AWS_DEVICEFARM_API Project()=default
Project & WithEnvironmentVariables(EnvironmentVariablesT &&value)
const Aws::String & GetExecutionRoleArn() const
Project & WithVpcConfig(VpcConfigT &&value)
const Aws::String & GetName() const
bool DefaultJobTimeoutMinutesHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue