AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline UpdateSchedulingPolicyRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline UpdateSchedulingPolicyRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline UpdateSchedulingPolicyRequest& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const FairsharePolicy& GetFairsharePolicy() const{ return m_fairsharePolicy; }
59 inline bool FairsharePolicyHasBeenSet() const { return m_fairsharePolicyHasBeenSet; }
60 inline void SetFairsharePolicy(const FairsharePolicy& value) { m_fairsharePolicyHasBeenSet = true; m_fairsharePolicy = value; }
61 inline void SetFairsharePolicy(FairsharePolicy&& value) { m_fairsharePolicyHasBeenSet = true; m_fairsharePolicy = std::move(value); }
63 inline UpdateSchedulingPolicyRequest& WithFairsharePolicy(FairsharePolicy&& value) { SetFairsharePolicy(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_arn;
68 bool m_arnHasBeenSet = false;
69
70 FairsharePolicy m_fairsharePolicy;
71 bool m_fairsharePolicyHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Batch
76} // namespace Aws
UpdateSchedulingPolicyRequest & WithArn(const char *value)
UpdateSchedulingPolicyRequest & WithArn(Aws::String &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
UpdateSchedulingPolicyRequest & WithFairsharePolicy(FairsharePolicy &&value)
UpdateSchedulingPolicyRequest & WithFairsharePolicy(const FairsharePolicy &value)
UpdateSchedulingPolicyRequest & WithArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String