7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/DeviceSubsetType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetPercentage(
int value) { m_percentageHasBeenSet =
true; m_percentage = value; }
88 inline void SetDeviceNameContains(
const char* value) { m_deviceNameContainsHasBeenSet =
true; m_deviceNameContains.assign(value); }
96 bool m_deviceSubsetTypeHasBeenSet =
false;
99 bool m_percentageHasBeenSet =
false;
102 bool m_deviceNamesHasBeenSet =
false;
105 bool m_deviceNameContainsHasBeenSet =
false;
void SetDeviceNames(const Aws::Vector< Aws::String > &value)
const DeviceSubsetType & GetDeviceSubsetType() const
DeviceSelectionConfig & WithDeviceNames(Aws::Vector< Aws::String > &&value)
DeviceSelectionConfig & WithPercentage(int value)
DeviceSelectionConfig & WithDeviceSubsetType(const DeviceSubsetType &value)
DeviceSelectionConfig & AddDeviceNames(Aws::String &&value)
DeviceSelectionConfig & AddDeviceNames(const char *value)
void SetPercentage(int value)
int GetPercentage() const
DeviceSelectionConfig & WithDeviceNameContains(const Aws::String &value)
bool PercentageHasBeenSet() const
AWS_SAGEMAKER_API DeviceSelectionConfig()
DeviceSelectionConfig & AddDeviceNames(const Aws::String &value)
const Aws::String & GetDeviceNameContains() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool DeviceNamesHasBeenSet() const
void SetDeviceNameContains(Aws::String &&value)
DeviceSelectionConfig & WithDeviceSubsetType(DeviceSubsetType &&value)
void SetDeviceSubsetType(const DeviceSubsetType &value)
void SetDeviceNames(Aws::Vector< Aws::String > &&value)
DeviceSelectionConfig & WithDeviceNames(const Aws::Vector< Aws::String > &value)
bool DeviceSubsetTypeHasBeenSet() const
void SetDeviceNameContains(const char *value)
bool DeviceNameContainsHasBeenSet() const
void SetDeviceNameContains(const Aws::String &value)
AWS_SAGEMAKER_API DeviceSelectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceSelectionConfig & WithDeviceNameContains(Aws::String &&value)
void SetDeviceSubsetType(DeviceSubsetType &&value)
DeviceSelectionConfig & WithDeviceNameContains(const char *value)
AWS_SAGEMAKER_API DeviceSelectionConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetDeviceNames() 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