AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSchedulingPolicyRequest.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/BatchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/batch/model/FairsharePolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Batch
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_BATCH_API UpdateSchedulingPolicyRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateSchedulingPolicy"; }
36
37 AWS_BATCH_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 UpdateSchedulingPolicyRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const FairsharePolicy& GetFairsharePolicy() const { return m_fairsharePolicy; }
57 inline bool FairsharePolicyHasBeenSet() const { return m_fairsharePolicyHasBeenSet; }
58 template<typename FairsharePolicyT = FairsharePolicy>
59 void SetFairsharePolicy(FairsharePolicyT&& value) { m_fairsharePolicyHasBeenSet = true; m_fairsharePolicy = std::forward<FairsharePolicyT>(value); }
60 template<typename FairsharePolicyT = FairsharePolicy>
61 UpdateSchedulingPolicyRequest& WithFairsharePolicy(FairsharePolicyT&& value) { SetFairsharePolicy(std::forward<FairsharePolicyT>(value)); return *this;}
63 private:
64
65 Aws::String m_arn;
66 bool m_arnHasBeenSet = false;
67
68 FairsharePolicy m_fairsharePolicy;
69 bool m_fairsharePolicyHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Batch
74} // namespace Aws
UpdateSchedulingPolicyRequest & WithFairsharePolicy(FairsharePolicyT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
AWS_BATCH_API UpdateSchedulingPolicyRequest()=default
virtual const char * GetServiceRequestName() const override
UpdateSchedulingPolicyRequest & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String