AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetJobEntityRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/deadline/model/JobEntityIdentifiersUnion.h>
12#include <utility>
13
14namespace Aws
15{
16namespace deadline
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DEADLINE_API BatchGetJobEntityRequest();
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 "BatchGetJobEntity"; }
33
34 AWS_DEADLINE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetFarmId() const{ return m_farmId; }
43 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
44 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
45 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
46 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
47 inline BatchGetJobEntityRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
48 inline BatchGetJobEntityRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
49 inline BatchGetJobEntityRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
51
53
57 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
58 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
59 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
60 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
61 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
62 inline BatchGetJobEntityRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
63 inline BatchGetJobEntityRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
64 inline BatchGetJobEntityRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
66
68
71 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
72 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
73 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
74 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
75 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
76 inline BatchGetJobEntityRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
77 inline BatchGetJobEntityRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
78 inline BatchGetJobEntityRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
80
82
85 inline const Aws::Vector<JobEntityIdentifiersUnion>& GetIdentifiers() const{ return m_identifiers; }
86 inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
87 inline void SetIdentifiers(const Aws::Vector<JobEntityIdentifiersUnion>& value) { m_identifiersHasBeenSet = true; m_identifiers = value; }
88 inline void SetIdentifiers(Aws::Vector<JobEntityIdentifiersUnion>&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); }
91 inline BatchGetJobEntityRequest& AddIdentifiers(const JobEntityIdentifiersUnion& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; }
92 inline BatchGetJobEntityRequest& AddIdentifiers(JobEntityIdentifiersUnion&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_farmId;
97 bool m_farmIdHasBeenSet = false;
98
99 Aws::String m_fleetId;
100 bool m_fleetIdHasBeenSet = false;
101
102 Aws::String m_workerId;
103 bool m_workerIdHasBeenSet = false;
104
106 bool m_identifiersHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
BatchGetJobEntityRequest & WithIdentifiers(Aws::Vector< JobEntityIdentifiersUnion > &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
BatchGetJobEntityRequest & WithFarmId(const char *value)
BatchGetJobEntityRequest & WithFleetId(const Aws::String &value)
void SetIdentifiers(Aws::Vector< JobEntityIdentifiersUnion > &&value)
BatchGetJobEntityRequest & WithFleetId(const char *value)
BatchGetJobEntityRequest & WithFleetId(Aws::String &&value)
BatchGetJobEntityRequest & WithWorkerId(const Aws::String &value)
BatchGetJobEntityRequest & AddIdentifiers(const JobEntityIdentifiersUnion &value)
BatchGetJobEntityRequest & WithWorkerId(Aws::String &&value)
const Aws::Vector< JobEntityIdentifiersUnion > & GetIdentifiers() const
void SetIdentifiers(const Aws::Vector< JobEntityIdentifiersUnion > &value)
BatchGetJobEntityRequest & AddIdentifiers(JobEntityIdentifiersUnion &&value)
virtual const char * GetServiceRequestName() const override
BatchGetJobEntityRequest & WithFarmId(Aws::String &&value)
BatchGetJobEntityRequest & WithFarmId(const Aws::String &value)
BatchGetJobEntityRequest & WithWorkerId(const char *value)
BatchGetJobEntityRequest & WithIdentifiers(const Aws::Vector< JobEntityIdentifiersUnion > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector