AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
43 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
44 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
45 inline CopyJobTemplateRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
46 inline CopyJobTemplateRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
47 inline CopyJobTemplateRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
49
51
54 inline const Aws::String& GetJobId() const{ return m_jobId; }
55 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
56 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
57 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
58 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
59 inline CopyJobTemplateRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
60 inline CopyJobTemplateRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
61 inline CopyJobTemplateRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
63
65
68 inline const Aws::String& GetQueueId() const{ return m_queueId; }
69 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
70 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
71 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
72 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
73 inline CopyJobTemplateRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
74 inline CopyJobTemplateRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
75 inline CopyJobTemplateRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
77
79
83 inline const S3Location& GetTargetS3Location() const{ return m_targetS3Location; }
84 inline bool TargetS3LocationHasBeenSet() const { return m_targetS3LocationHasBeenSet; }
85 inline void SetTargetS3Location(const S3Location& value) { m_targetS3LocationHasBeenSet = true; m_targetS3Location = value; }
86 inline void SetTargetS3Location(S3Location&& value) { m_targetS3LocationHasBeenSet = true; m_targetS3Location = std::move(value); }
87 inline CopyJobTemplateRequest& WithTargetS3Location(const S3Location& value) { SetTargetS3Location(value); return *this;}
88 inline CopyJobTemplateRequest& WithTargetS3Location(S3Location&& value) { SetTargetS3Location(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_farmId;
93 bool m_farmIdHasBeenSet = false;
94
95 Aws::String m_jobId;
96 bool m_jobIdHasBeenSet = false;
97
98 Aws::String m_queueId;
99 bool m_queueIdHasBeenSet = false;
100
101 S3Location m_targetS3Location;
102 bool m_targetS3LocationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace deadline
107} // namespace Aws
CopyJobTemplateRequest & WithJobId(const char *value)
virtual const char * GetServiceRequestName() const override
CopyJobTemplateRequest & WithFarmId(const Aws::String &value)
CopyJobTemplateRequest & WithFarmId(Aws::String &&value)
CopyJobTemplateRequest & WithQueueId(Aws::String &&value)
CopyJobTemplateRequest & WithJobId(const Aws::String &value)
CopyJobTemplateRequest & WithQueueId(const Aws::String &value)
CopyJobTemplateRequest & WithTargetS3Location(const S3Location &value)
CopyJobTemplateRequest & WithFarmId(const char *value)
CopyJobTemplateRequest & WithJobId(Aws::String &&value)
CopyJobTemplateRequest & WithQueueId(const char *value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CopyJobTemplateRequest & WithTargetS3Location(S3Location &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String