AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeJobsRequest.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 DescribeJobsRequest();
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 "DescribeJobs"; }
36
37 AWS_BATCH_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::Vector<Aws::String>& GetJobs() const{ return m_jobs; }
45 inline bool JobsHasBeenSet() const { return m_jobsHasBeenSet; }
46 inline void SetJobs(const Aws::Vector<Aws::String>& value) { m_jobsHasBeenSet = true; m_jobs = value; }
47 inline void SetJobs(Aws::Vector<Aws::String>&& value) { m_jobsHasBeenSet = true; m_jobs = std::move(value); }
48 inline DescribeJobsRequest& WithJobs(const Aws::Vector<Aws::String>& value) { SetJobs(value); return *this;}
49 inline DescribeJobsRequest& WithJobs(Aws::Vector<Aws::String>&& value) { SetJobs(std::move(value)); return *this;}
50 inline DescribeJobsRequest& AddJobs(const Aws::String& value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; }
51 inline DescribeJobsRequest& AddJobs(Aws::String&& value) { m_jobsHasBeenSet = true; m_jobs.push_back(std::move(value)); return *this; }
52 inline DescribeJobsRequest& AddJobs(const char* value) { m_jobsHasBeenSet = true; m_jobs.push_back(value); return *this; }
54 private:
55
57 bool m_jobsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Batch
62} // namespace Aws
void SetJobs(Aws::Vector< Aws::String > &&value)
DescribeJobsRequest & AddJobs(Aws::String &&value)
DescribeJobsRequest & WithJobs(Aws::Vector< Aws::String > &&value)
DescribeJobsRequest & AddJobs(const char *value)
virtual const char * GetServiceRequestName() const override
DescribeJobsRequest & AddJobs(const Aws::String &value)
DescribeJobsRequest & WithJobs(const Aws::Vector< Aws::String > &value)
void SetJobs(const Aws::Vector< Aws::String > &value)
AWS_BATCH_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetJobs() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector