AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStepRequest.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/StepTargetTaskRunStatus.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace deadline
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DEADLINE_API UpdateStepRequest();
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 "UpdateStep"; }
33
34 AWS_DEADLINE_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline UpdateStepRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline UpdateStepRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline UpdateStepRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
58 inline const Aws::String& GetFarmId() const{ return m_farmId; }
59 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
60 inline void SetFarmId(const Aws::String& value) { m_farmIdHasBeenSet = true; m_farmId = value; }
61 inline void SetFarmId(Aws::String&& value) { m_farmIdHasBeenSet = true; m_farmId = std::move(value); }
62 inline void SetFarmId(const char* value) { m_farmIdHasBeenSet = true; m_farmId.assign(value); }
63 inline UpdateStepRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
64 inline UpdateStepRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
65 inline UpdateStepRequest& WithFarmId(const char* value) { SetFarmId(value); return *this;}
67
69
72 inline const Aws::String& GetQueueId() const{ return m_queueId; }
73 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
74 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
75 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
76 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
77 inline UpdateStepRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
78 inline UpdateStepRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
79 inline UpdateStepRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
81
83
86 inline const Aws::String& GetJobId() const{ return m_jobId; }
87 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
88 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
89 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
90 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
91 inline UpdateStepRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
92 inline UpdateStepRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
93 inline UpdateStepRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
95
97
100 inline const Aws::String& GetStepId() const{ return m_stepId; }
101 inline bool StepIdHasBeenSet() const { return m_stepIdHasBeenSet; }
102 inline void SetStepId(const Aws::String& value) { m_stepIdHasBeenSet = true; m_stepId = value; }
103 inline void SetStepId(Aws::String&& value) { m_stepIdHasBeenSet = true; m_stepId = std::move(value); }
104 inline void SetStepId(const char* value) { m_stepIdHasBeenSet = true; m_stepId.assign(value); }
105 inline UpdateStepRequest& WithStepId(const Aws::String& value) { SetStepId(value); return *this;}
106 inline UpdateStepRequest& WithStepId(Aws::String&& value) { SetStepId(std::move(value)); return *this;}
107 inline UpdateStepRequest& WithStepId(const char* value) { SetStepId(value); return *this;}
109
111
114 inline const StepTargetTaskRunStatus& GetTargetTaskRunStatus() const{ return m_targetTaskRunStatus; }
115 inline bool TargetTaskRunStatusHasBeenSet() const { return m_targetTaskRunStatusHasBeenSet; }
116 inline void SetTargetTaskRunStatus(const StepTargetTaskRunStatus& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = value; }
117 inline void SetTargetTaskRunStatus(StepTargetTaskRunStatus&& value) { m_targetTaskRunStatusHasBeenSet = true; m_targetTaskRunStatus = std::move(value); }
121 private:
122
123 Aws::String m_clientToken;
124 bool m_clientTokenHasBeenSet = false;
125
126 Aws::String m_farmId;
127 bool m_farmIdHasBeenSet = false;
128
129 Aws::String m_queueId;
130 bool m_queueIdHasBeenSet = false;
131
132 Aws::String m_jobId;
133 bool m_jobIdHasBeenSet = false;
134
135 Aws::String m_stepId;
136 bool m_stepIdHasBeenSet = false;
137
138 StepTargetTaskRunStatus m_targetTaskRunStatus;
139 bool m_targetTaskRunStatusHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace deadline
144} // namespace Aws
void SetFarmId(const Aws::String &value)
void SetClientToken(const Aws::String &value)
UpdateStepRequest & WithFarmId(const char *value)
UpdateStepRequest & WithClientToken(const char *value)
void SetTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
void SetQueueId(const Aws::String &value)
const Aws::String & GetQueueId() const
UpdateStepRequest & WithJobId(const char *value)
void SetStepId(const Aws::String &value)
UpdateStepRequest & WithQueueId(const Aws::String &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateStepRequest & WithJobId(Aws::String &&value)
UpdateStepRequest & WithStepId(const char *value)
UpdateStepRequest & WithQueueId(const char *value)
UpdateStepRequest & WithStepId(const Aws::String &value)
void SetTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
void SetJobId(const Aws::String &value)
UpdateStepRequest & WithTargetTaskRunStatus(const StepTargetTaskRunStatus &value)
UpdateStepRequest & WithClientToken(Aws::String &&value)
UpdateStepRequest & WithTargetTaskRunStatus(StepTargetTaskRunStatus &&value)
const Aws::String & GetFarmId() const
virtual const char * GetServiceRequestName() const override
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateStepRequest & WithJobId(const Aws::String &value)
const Aws::String & GetClientToken() const
UpdateStepRequest & WithClientToken(const Aws::String &value)
UpdateStepRequest & WithFarmId(const Aws::String &value)
const StepTargetTaskRunStatus & GetTargetTaskRunStatus() const
UpdateStepRequest & WithQueueId(Aws::String &&value)
UpdateStepRequest & WithStepId(Aws::String &&value)
UpdateStepRequest & WithFarmId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String