AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobQueues(const Aws::Vector<Aws::String>& value) { m_jobQueuesHasBeenSet = true; m_jobQueues = value; }
48 inline void SetJobQueues(Aws::Vector<Aws::String>&& value) { m_jobQueuesHasBeenSet = true; m_jobQueues = std::move(value); }
49 inline DescribeJobQueuesRequest& WithJobQueues(const Aws::Vector<Aws::String>& value) { SetJobQueues(value); return *this;}
50 inline DescribeJobQueuesRequest& WithJobQueues(Aws::Vector<Aws::String>&& value) { SetJobQueues(std::move(value)); return *this;}
51 inline DescribeJobQueuesRequest& AddJobQueues(const Aws::String& value) { m_jobQueuesHasBeenSet = true; m_jobQueues.push_back(value); return *this; }
52 inline DescribeJobQueuesRequest& AddJobQueues(Aws::String&& value) { m_jobQueuesHasBeenSet = true; m_jobQueues.push_back(std::move(value)); return *this; }
53 inline DescribeJobQueuesRequest& AddJobQueues(const char* value) { m_jobQueuesHasBeenSet = true; m_jobQueues.push_back(value); return *this; }
55
57
67 inline int GetMaxResults() const{ return m_maxResults; }
68 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
69 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
70 inline DescribeJobQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
72
74
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 inline DescribeJobQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline DescribeJobQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline DescribeJobQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 private:
93
94 Aws::Vector<Aws::String> m_jobQueues;
95 bool m_jobQueuesHasBeenSet = false;
96
97 int m_maxResults;
98 bool m_maxResultsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Batch
106} // namespace Aws
DescribeJobQueuesRequest & WithMaxResults(int value)
DescribeJobQueuesRequest & WithNextToken(const Aws::String &value)
DescribeJobQueuesRequest & WithJobQueues(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetJobQueues() const
void SetJobQueues(Aws::Vector< Aws::String > &&value)
DescribeJobQueuesRequest & AddJobQueues(Aws::String &&value)
DescribeJobQueuesRequest & WithJobQueues(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
DescribeJobQueuesRequest & AddJobQueues(const char *value)
void SetJobQueues(const Aws::Vector< Aws::String > &value)
DescribeJobQueuesRequest & WithNextToken(Aws::String &&value)
DescribeJobQueuesRequest & WithNextToken(const char *value)
DescribeJobQueuesRequest & AddJobQueues(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector