AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeSchedulingPoliciesRequest.h
1
6#pragma once
7#include <aws/batch/BatchRequest.h>
8#include <aws/batch/Batch_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Batch {
16namespace Model {
17
25 public:
26 AWS_BATCH_API DescribeSchedulingPoliciesRequest() = 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 "DescribeSchedulingPolicies"; }
33
34 AWS_BATCH_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::Vector<Aws::String>& GetArns() const { return m_arns; }
41 inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; }
42 template <typename ArnsT = Aws::Vector<Aws::String>>
43 void SetArns(ArnsT&& value) {
44 m_arnsHasBeenSet = true;
45 m_arns = std::forward<ArnsT>(value);
46 }
47 template <typename ArnsT = Aws::Vector<Aws::String>>
49 SetArns(std::forward<ArnsT>(value));
50 return *this;
51 }
52 template <typename ArnsT = Aws::String>
54 m_arnsHasBeenSet = true;
55 m_arns.emplace_back(std::forward<ArnsT>(value));
56 return *this;
57 }
59 private:
61 bool m_arnsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Batch
66} // 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