7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/DevicePlatform.h>
11#include <aws/devicefarm/model/TrialMinutes.h>
45 template <
typename AwsAccountNumberT = Aws::String>
47 m_awsAccountNumberHasBeenSet =
true;
48 m_awsAccountNumber = std::forward<AwsAccountNumberT>(value);
50 template <
typename AwsAccountNumberT = Aws::String>
63 template <
typename UnmeteredDevicesT = Aws::Map<DevicePlatform,
int>>
65 m_unmeteredDevicesHasBeenSet =
true;
66 m_unmeteredDevices = std::forward<UnmeteredDevicesT>(value);
68 template <
typename UnmeteredDevicesT = Aws::Map<DevicePlatform,
int>>
74 m_unmeteredDevicesHasBeenSet =
true;
75 m_unmeteredDevices.emplace(key, value);
87 template <
typename UnmeteredRemoteAccessDevicesT = Aws::Map<DevicePlatform,
int>>
89 m_unmeteredRemoteAccessDevicesHasBeenSet =
true;
90 m_unmeteredRemoteAccessDevices = std::forward<UnmeteredRemoteAccessDevicesT>(value);
92 template <
typename UnmeteredRemoteAccessDevicesT = Aws::Map<DevicePlatform,
int>>
98 m_unmeteredRemoteAccessDevicesHasBeenSet =
true;
99 m_unmeteredRemoteAccessDevices.emplace(key, value);
111 m_maxJobTimeoutMinutesHasBeenSet =
true;
112 m_maxJobTimeoutMinutes = value;
126 template <
typename TrialMinutesT = TrialMinutes>
128 m_trialMinutesHasBeenSet =
true;
129 m_trialMinutes = std::forward<TrialMinutesT>(value);
131 template <
typename TrialMinutesT = TrialMinutes>
147 template <
typename MaxSlotsT = Aws::Map<Aws::String,
int>>
149 m_maxSlotsHasBeenSet =
true;
150 m_maxSlots = std::forward<MaxSlotsT>(value);
152 template <
typename MaxSlotsT = Aws::Map<Aws::String,
int>>
158 m_maxSlotsHasBeenSet =
true;
159 m_maxSlots.emplace(key, value);
172 m_defaultJobTimeoutMinutesHasBeenSet =
true;
173 m_defaultJobTimeoutMinutes = value;
192 m_skipAppResignHasBeenSet =
true;
193 m_skipAppResign = value;
207 int m_maxJobTimeoutMinutes{0};
209 TrialMinutes m_trialMinutes;
213 int m_defaultJobTimeoutMinutes{0};
215 bool m_skipAppResign{
false};
216 bool m_awsAccountNumberHasBeenSet =
false;
217 bool m_unmeteredDevicesHasBeenSet =
false;
218 bool m_unmeteredRemoteAccessDevicesHasBeenSet =
false;
219 bool m_maxJobTimeoutMinutesHasBeenSet =
false;
220 bool m_trialMinutesHasBeenSet =
false;
221 bool m_maxSlotsHasBeenSet =
false;
222 bool m_defaultJobTimeoutMinutesHasBeenSet =
false;
223 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