AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CopyJobTemplateRequest.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/deadline/model/S3Location.h>
11#include <utility>
12
13namespace Aws
14{
15namespace deadline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEADLINE_API CopyJobTemplateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CopyJobTemplate"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetFarmId() const { return m_farmId; }
41 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
42 template<typename FarmIdT = Aws::String>
43 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet = true; m_farmId = std::forward<FarmIdT>(value); }
44 template<typename FarmIdT = Aws::String>
45 CopyJobTemplateRequest& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetJobId() const { return m_jobId; }
53 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
54 template<typename JobIdT = Aws::String>
55 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
56 template<typename JobIdT = Aws::String>
57 CopyJobTemplateRequest& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetQueueId() const { return m_queueId; }
65 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
66 template<typename QueueIdT = Aws::String>
67 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
68 template<typename QueueIdT = Aws::String>
69 CopyJobTemplateRequest& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
71
73
77 inline const S3Location& GetTargetS3Location() const { return m_targetS3Location; }
78 inline bool TargetS3LocationHasBeenSet() const { return m_targetS3LocationHasBeenSet; }
79 template<typename TargetS3LocationT = S3Location>
80 void SetTargetS3Location(TargetS3LocationT&& value) { m_targetS3LocationHasBeenSet = true; m_targetS3Location = std::forward<TargetS3LocationT>(value); }
81 template<typename TargetS3LocationT = S3Location>
82 CopyJobTemplateRequest& WithTargetS3Location(TargetS3LocationT&& value) { SetTargetS3Location(std::forward<TargetS3LocationT>(value)); return *this;}
84 private:
85
86 Aws::String m_farmId;
87 bool m_farmIdHasBeenSet = false;
88
89 Aws::String m_jobId;
90 bool m_jobIdHasBeenSet = false;
91
92 Aws::String m_queueId;
93 bool m_queueIdHasBeenSet = false;
94
95 S3Location m_targetS3Location;
96 bool m_targetS3LocationHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace deadline
101} // 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