AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeJobQueuesRequest.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 DescribeJobQueuesRequest() = 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 "DescribeJobQueues"; }
36
37 AWS_BATCH_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::Vector<Aws::String>& GetJobQueues() const { return m_jobQueues; }
46 inline bool JobQueuesHasBeenSet() const { return m_jobQueuesHasBeenSet; }
47 template<typename JobQueuesT = Aws::Vector<Aws::String>>
48 void SetJobQueues(JobQueuesT&& value) { m_jobQueuesHasBeenSet = true; m_jobQueues = std::forward<JobQueuesT>(value); }
49 template<typename JobQueuesT = Aws::Vector<Aws::String>>
50 DescribeJobQueuesRequest& WithJobQueues(JobQueuesT&& value) { SetJobQueues(std::forward<JobQueuesT>(value)); return *this;}
51 template<typename JobQueuesT = Aws::String>
52 DescribeJobQueuesRequest& AddJobQueues(JobQueuesT&& value) { m_jobQueuesHasBeenSet = true; m_jobQueues.emplace_back(std::forward<JobQueuesT>(value)); return *this; }
54
56
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline DescribeJobQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
82 inline const Aws::String& GetNextToken() const { return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 template<typename NextTokenT = Aws::String>
85 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
86 template<typename NextTokenT = Aws::String>
87 DescribeJobQueuesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
89 private:
90
91 Aws::Vector<Aws::String> m_jobQueues;
92 bool m_jobQueuesHasBeenSet = false;
93
94 int m_maxResults{0};
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Batch
103} // namespace Aws
DescribeJobQueuesRequest & WithJobQueues(JobQueuesT &&value)
DescribeJobQueuesRequest & WithMaxResults(int value)
AWS_BATCH_API DescribeJobQueuesRequest()=default
AWS_BATCH_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetJobQueues() const
DescribeJobQueuesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
DescribeJobQueuesRequest & AddJobQueues(JobQueuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector