7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/batch/model/ShareAttributes.h>
51 inline void SetShareDecaySeconds(
int value) { m_shareDecaySecondsHasBeenSet =
true; m_shareDecaySeconds = value; }
73 inline void SetComputeReservation(
int value) { m_computeReservationHasBeenSet =
true; m_computeReservation = value; }
94 int m_shareDecaySeconds;
95 bool m_shareDecaySecondsHasBeenSet =
false;
97 int m_computeReservation;
98 bool m_computeReservationHasBeenSet =
false;
101 bool m_shareDistributionHasBeenSet =
false;
FairsharePolicy & WithComputeReservation(int value)
AWS_BATCH_API FairsharePolicy(Aws::Utils::Json::JsonView jsonValue)
int GetComputeReservation() const
FairsharePolicy & WithShareDecaySeconds(int value)
void SetComputeReservation(int value)
AWS_BATCH_API FairsharePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetShareDecaySeconds(int value)
void SetShareDistribution(Aws::Vector< ShareAttributes > &&value)
void SetShareDistribution(const Aws::Vector< ShareAttributes > &value)
int GetShareDecaySeconds() const
bool ShareDistributionHasBeenSet() const
bool ShareDecaySecondsHasBeenSet() const
FairsharePolicy & AddShareDistribution(ShareAttributes &&value)
AWS_BATCH_API FairsharePolicy()
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
FairsharePolicy & WithShareDistribution(Aws::Vector< ShareAttributes > &&value)
const Aws::Vector< ShareAttributes > & GetShareDistribution() const
FairsharePolicy & AddShareDistribution(const ShareAttributes &value)
bool ComputeReservationHasBeenSet() const
FairsharePolicy & WithShareDistribution(const Aws::Vector< ShareAttributes > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue