7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/batch/model/FairsharePolicy.h>
10#include <aws/batch/model/QuotaSharePolicy.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
66 template <
typename QuotaSharePolicyT = QuotaSharePolicy>
68 m_quotaSharePolicyHasBeenSet =
true;
69 m_quotaSharePolicy = std::forward<QuotaSharePolicyT>(value);
71 template <
typename QuotaSharePolicyT = QuotaSharePolicy>
86 template <
typename FairsharePolicyT = FairsharePolicy>
88 m_fairsharePolicyHasBeenSet =
true;
89 m_fairsharePolicy = std::forward<FairsharePolicyT>(value);
91 template <
typename FairsharePolicyT = FairsharePolicy>
113 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 m_tagsHasBeenSet =
true;
116 m_tags = std::forward<TagsT>(value);
118 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 SetTags(std::forward<TagsT>(value));
123 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
125 m_tagsHasBeenSet =
true;
126 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
138 bool m_nameHasBeenSet =
false;
139 bool m_quotaSharePolicyHasBeenSet =
false;
140 bool m_fairsharePolicyHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateSchedulingPolicyRequest & WithName(NameT &&value)
CreateSchedulingPolicyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetName(NameT &&value)
bool QuotaSharePolicyHasBeenSet() const
void SetTags(TagsT &&value)
AWS_BATCH_API CreateSchedulingPolicyRequest()=default
const QuotaSharePolicy & GetQuotaSharePolicy() const
bool TagsHasBeenSet() const
void SetFairsharePolicy(FairsharePolicyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSchedulingPolicyRequest & WithTags(TagsT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
CreateSchedulingPolicyRequest & WithFairsharePolicy(FairsharePolicyT &&value)
void SetQuotaSharePolicy(QuotaSharePolicyT &&value)
CreateSchedulingPolicyRequest & WithQuotaSharePolicy(QuotaSharePolicyT &&value)
bool FairsharePolicyHasBeenSet() const
const Aws::String & GetName() const
const FairsharePolicy & GetFairsharePolicy() 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