AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeSchedulingPoliciesRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Batch
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_BATCH_API DescribeSchedulingPoliciesRequest() = 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 "DescribeSchedulingPolicies"; }
36
37 AWS_BATCH_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::Vector<Aws::String>& GetArns() const { return m_arns; }
45 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
46 template<typename ArnsT = Aws::Vector<Aws::String>>
47 void SetArns(ArnsT&& value) { m_arnsHasBeenSet = true; m_arns = std::forward<ArnsT>(value); }
48 template<typename ArnsT = Aws::Vector<Aws::String>>
49 DescribeSchedulingPoliciesRequest& WithArns(ArnsT&& value) { SetArns(std::forward<ArnsT>(value)); return *this;}
50 template<typename ArnsT = Aws::String>
51 DescribeSchedulingPoliciesRequest& AddArns(ArnsT&& value) { m_arnsHasBeenSet = true; m_arns.emplace_back(std::forward<ArnsT>(value)); return *this; }
53 private:
54
56 bool m_arnsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Batch
61} // namespace Aws
DescribeSchedulingPoliciesRequest & WithArns(ArnsT &&value)
AWS_BATCH_API Aws::String SerializePayload() const override
DescribeSchedulingPoliciesRequest & AddArns(ArnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector