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>
53 inline void SetAwsAccountNumber(
const char* value) { m_awsAccountNumberHasBeenSet =
true; m_awsAccountNumber.assign(value); }
94 inline void SetMaxJobTimeoutMinutes(
int value) { m_maxJobTimeoutMinutesHasBeenSet =
true; m_maxJobTimeoutMinutes = value; }
125 inline AccountSettings&
AddMaxSlots(
const char* key,
int value) { 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;
164 bool m_maxJobTimeoutMinutesHasBeenSet =
false;
167 bool m_trialMinutesHasBeenSet =
false;
170 bool m_maxSlotsHasBeenSet =
false;
172 int m_defaultJobTimeoutMinutes;
173 bool m_defaultJobTimeoutMinutesHasBeenSet =
false;
175 bool m_skipAppResign;
176 bool m_skipAppResignHasBeenSet =
false;
bool SkipAppResignHasBeenSet() const
AccountSettings & WithAwsAccountNumber(const Aws::String &value)
AccountSettings & WithMaxSlots(Aws::Map< Aws::String, int > &&value)
void SetDefaultJobTimeoutMinutes(int value)
void SetAwsAccountNumber(const Aws::String &value)
const Aws::String & GetAwsAccountNumber() const
AccountSettings & WithMaxSlots(const Aws::Map< Aws::String, int > &value)
bool TrialMinutesHasBeenSet() const
AccountSettings & WithUnmeteredRemoteAccessDevices(Aws::Map< DevicePlatform, int > &&value)
const Aws::Map< DevicePlatform, int > & GetUnmeteredDevices() const
AccountSettings & WithTrialMinutes(const TrialMinutes &value)
AccountSettings & WithSkipAppResign(bool value)
void SetMaxSlots(Aws::Map< Aws::String, int > &&value)
AWS_DEVICEFARM_API AccountSettings()
AccountSettings & WithMaxJobTimeoutMinutes(int value)
void SetUnmeteredRemoteAccessDevices(Aws::Map< DevicePlatform, int > &&value)
AccountSettings & AddUnmeteredDevices(const DevicePlatform &key, int value)
bool UnmeteredDevicesHasBeenSet() const
AWS_DEVICEFARM_API AccountSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnmeteredRemoteAccessDevices(const Aws::Map< DevicePlatform, int > &value)
bool UnmeteredRemoteAccessDevicesHasBeenSet() const
int GetMaxJobTimeoutMinutes() const
void SetAwsAccountNumber(Aws::String &&value)
bool AwsAccountNumberHasBeenSet() const
void SetMaxJobTimeoutMinutes(int value)
void SetMaxSlots(const Aws::Map< Aws::String, int > &value)
AWS_DEVICEFARM_API AccountSettings(Aws::Utils::Json::JsonView jsonValue)
bool MaxJobTimeoutMinutesHasBeenSet() const
int GetDefaultJobTimeoutMinutes() const
void SetUnmeteredDevices(const Aws::Map< DevicePlatform, int > &value)
bool MaxSlotsHasBeenSet() const
void SetSkipAppResign(bool value)
const Aws::Map< DevicePlatform, int > & GetUnmeteredRemoteAccessDevices() const
void SetTrialMinutes(const TrialMinutes &value)
AccountSettings & WithTrialMinutes(TrialMinutes &&value)
AccountSettings & AddUnmeteredDevices(DevicePlatform &&key, int value)
AccountSettings & WithAwsAccountNumber(Aws::String &&value)
const Aws::Map< Aws::String, int > & GetMaxSlots() const
AccountSettings & AddMaxSlots(Aws::String &&key, int value)
const TrialMinutes & GetTrialMinutes() const
AccountSettings & WithDefaultJobTimeoutMinutes(int value)
void SetUnmeteredDevices(Aws::Map< DevicePlatform, int > &&value)
void SetAwsAccountNumber(const char *value)
AccountSettings & WithAwsAccountNumber(const char *value)
AccountSettings & AddUnmeteredRemoteAccessDevices(DevicePlatform &&key, int value)
bool DefaultJobTimeoutMinutesHasBeenSet() const
AccountSettings & WithUnmeteredRemoteAccessDevices(const Aws::Map< DevicePlatform, int > &value)
AccountSettings & AddMaxSlots(const char *key, int value)
void SetTrialMinutes(TrialMinutes &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetSkipAppResign() const
AccountSettings & AddUnmeteredRemoteAccessDevices(const DevicePlatform &key, int value)
AccountSettings & WithUnmeteredDevices(Aws::Map< DevicePlatform, int > &&value)
AccountSettings & AddMaxSlots(const Aws::String &key, int value)
AccountSettings & WithUnmeteredDevices(const Aws::Map< DevicePlatform, int > &value)
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