AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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