7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/devicefarm/model/TrialMinutes.h>
11#include <aws/devicefarm/model/DevicePlatform.h>
51 template<
typename AwsAccountNumberT = Aws::String>
52 void SetAwsAccountNumber(AwsAccountNumberT&& value) { m_awsAccountNumberHasBeenSet =
true; m_awsAccountNumber = std::forward<AwsAccountNumberT>(value); }
53 template<
typename AwsAccountNumberT = Aws::String>
63 template<
typename UnmeteredDevicesT = Aws::Map<DevicePlatform,
int>>
64 void SetUnmeteredDevices(UnmeteredDevicesT&& value) { m_unmeteredDevicesHasBeenSet =
true; m_unmeteredDevices = std::forward<UnmeteredDevicesT>(value); }
65 template<
typename UnmeteredDevicesT = Aws::Map<DevicePlatform,
int>>
68 m_unmeteredDevicesHasBeenSet =
true; m_unmeteredDevices.emplace(key, value);
return *
this;
79 template<
typename UnmeteredRemoteAccessDevicesT = Aws::Map<DevicePlatform,
int>>
80 void SetUnmeteredRemoteAccessDevices(UnmeteredRemoteAccessDevicesT&& value) { m_unmeteredRemoteAccessDevicesHasBeenSet =
true; m_unmeteredRemoteAccessDevices = std::forward<UnmeteredRemoteAccessDevicesT>(value); }
81 template<
typename UnmeteredRemoteAccessDevicesT = Aws::Map<DevicePlatform,
int>>
84 m_unmeteredRemoteAccessDevicesHasBeenSet =
true; m_unmeteredRemoteAccessDevices.emplace(key, value);
return *
this;
94 inline void SetMaxJobTimeoutMinutes(
int value) { m_maxJobTimeoutMinutesHasBeenSet =
true; m_maxJobTimeoutMinutes = value; }
104 template<
typename TrialMinutesT = TrialMinutes>
105 void SetTrialMinutes(TrialMinutesT&& value) { m_trialMinutesHasBeenSet =
true; m_trialMinutes = std::forward<TrialMinutesT>(value); }
106 template<
typename TrialMinutesT = TrialMinutes>
119 template<
typename MaxSlotsT = Aws::Map<Aws::String,
int>>
120 void SetMaxSlots(MaxSlotsT&& value) { m_maxSlotsHasBeenSet =
true; m_maxSlots = std::forward<MaxSlotsT>(value); }
121 template<
typename MaxSlotsT = Aws::Map<Aws::String,
int>>
124 m_maxSlotsHasBeenSet =
true; m_maxSlots.emplace(key, value);
return *
this;
149 inline void SetSkipAppResign(
bool value) { m_skipAppResignHasBeenSet =
true; m_skipAppResign = value; }
155 bool m_awsAccountNumberHasBeenSet =
false;
158 bool m_unmeteredDevicesHasBeenSet =
false;
161 bool m_unmeteredRemoteAccessDevicesHasBeenSet =
false;
163 int m_maxJobTimeoutMinutes{0};
164 bool m_maxJobTimeoutMinutesHasBeenSet =
false;
166 TrialMinutes m_trialMinutes;
167 bool m_trialMinutesHasBeenSet =
false;
170 bool m_maxSlotsHasBeenSet =
false;
172 int m_defaultJobTimeoutMinutes{0};
173 bool m_defaultJobTimeoutMinutesHasBeenSet =
false;
175 bool m_skipAppResign{
false};
176 bool m_skipAppResignHasBeenSet =
false;
bool SkipAppResignHasBeenSet() const
AccountSettings & WithAwsAccountNumber(AwsAccountNumberT &&value)
void SetDefaultJobTimeoutMinutes(int value)
const Aws::String & GetAwsAccountNumber() const
void SetAwsAccountNumber(AwsAccountNumberT &&value)
void SetMaxSlots(MaxSlotsT &&value)
bool TrialMinutesHasBeenSet() const
const Aws::Map< DevicePlatform, int > & GetUnmeteredDevices() const
AccountSettings & WithSkipAppResign(bool value)
void SetUnmeteredDevices(UnmeteredDevicesT &&value)
AccountSettings & AddUnmeteredDevices(DevicePlatform key, int value)
AccountSettings & WithMaxJobTimeoutMinutes(int value)
bool UnmeteredDevicesHasBeenSet() const
AWS_DEVICEFARM_API AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UnmeteredRemoteAccessDevicesHasBeenSet() const
int GetMaxJobTimeoutMinutes() const
AccountSettings & WithTrialMinutes(TrialMinutesT &&value)
bool AwsAccountNumberHasBeenSet() const
void SetMaxJobTimeoutMinutes(int value)
void SetUnmeteredRemoteAccessDevices(UnmeteredRemoteAccessDevicesT &&value)
AWS_DEVICEFARM_API AccountSettings(Aws::Utils::Json::JsonView jsonValue)
AccountSettings & WithMaxSlots(MaxSlotsT &&value)
bool MaxJobTimeoutMinutesHasBeenSet() const
AccountSettings & AddMaxSlots(Aws::String key, int value)
int GetDefaultJobTimeoutMinutes() const
bool MaxSlotsHasBeenSet() const
void SetSkipAppResign(bool value)
const Aws::Map< DevicePlatform, int > & GetUnmeteredRemoteAccessDevices() const
AWS_DEVICEFARM_API AccountSettings()=default
const Aws::Map< Aws::String, int > & GetMaxSlots() const
const TrialMinutes & GetTrialMinutes() const
AccountSettings & WithDefaultJobTimeoutMinutes(int value)
void SetTrialMinutes(TrialMinutesT &&value)
AccountSettings & WithUnmeteredRemoteAccessDevices(UnmeteredRemoteAccessDevicesT &&value)
AccountSettings & WithUnmeteredDevices(UnmeteredDevicesT &&value)
bool DefaultJobTimeoutMinutesHasBeenSet() const
AccountSettings & AddUnmeteredRemoteAccessDevices(DevicePlatform key, int value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetSkipAppResign() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue