AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CopyJobTemplateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/S3Location.h>
11
12#include <utility>
13
14namespace Aws {
15namespace deadline {
16namespace Model {
17
21 public:
22 AWS_DEADLINE_API CopyJobTemplateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CopyJobTemplate"; }
29
30 AWS_DEADLINE_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetFarmId() const { return m_farmId; }
37 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
38 template <typename FarmIdT = Aws::String>
39 void SetFarmId(FarmIdT&& value) {
40 m_farmIdHasBeenSet = true;
41 m_farmId = std::forward<FarmIdT>(value);
42 }
43 template <typename FarmIdT = Aws::String>
45 SetFarmId(std::forward<FarmIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetJobId() const { return m_jobId; }
55 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
56 template <typename JobIdT = Aws::String>
57 void SetJobId(JobIdT&& value) {
58 m_jobIdHasBeenSet = true;
59 m_jobId = std::forward<JobIdT>(value);
60 }
61 template <typename JobIdT = Aws::String>
63 SetJobId(std::forward<JobIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetQueueId() const { return m_queueId; }
73 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
74 template <typename QueueIdT = Aws::String>
75 void SetQueueId(QueueIdT&& value) {
76 m_queueIdHasBeenSet = true;
77 m_queueId = std::forward<QueueIdT>(value);
78 }
79 template <typename QueueIdT = Aws::String>
81 SetQueueId(std::forward<QueueIdT>(value));
82 return *this;
83 }
85
87
91 inline const S3Location& GetTargetS3Location() const { return m_targetS3Location; }
92 inline bool TargetS3LocationHasBeenSet() const { return m_targetS3LocationHasBeenSet; }
93 template <typename TargetS3LocationT = S3Location>
94 void SetTargetS3Location(TargetS3LocationT&& value) {
95 m_targetS3LocationHasBeenSet = true;
96 m_targetS3Location = std::forward<TargetS3LocationT>(value);
97 }
98 template <typename TargetS3LocationT = S3Location>
99 CopyJobTemplateRequest& WithTargetS3Location(TargetS3LocationT&& value) {
100 SetTargetS3Location(std::forward<TargetS3LocationT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_farmId;
106
107 Aws::String m_jobId;
108
109 Aws::String m_queueId;
110
111 S3Location m_targetS3Location;
112 bool m_farmIdHasBeenSet = false;
113 bool m_jobIdHasBeenSet = false;
114 bool m_queueIdHasBeenSet = false;
115 bool m_targetS3LocationHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace deadline
120} // namespace Aws
virtual const char * GetServiceRequestName() const override
CopyJobTemplateRequest & WithFarmId(FarmIdT &&value)
AWS_DEADLINE_API CopyJobTemplateRequest()=default
CopyJobTemplateRequest & WithJobId(JobIdT &&value)
CopyJobTemplateRequest & WithTargetS3Location(TargetS3LocationT &&value)
CopyJobTemplateRequest & WithQueueId(QueueIdT &&value)
void SetTargetS3Location(TargetS3LocationT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String