AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQueueEnvironmentRequest.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/EnvironmentTemplateType.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:
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 "UpdateQueueEnvironment"; }
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 UpdateQueueEnvironmentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline UpdateQueueEnvironmentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline UpdateQueueEnvironmentRequest& 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 UpdateQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
64 inline UpdateQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
65 inline UpdateQueueEnvironmentRequest& 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 UpdateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
78 inline UpdateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
79 inline UpdateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
81
83
86 inline const Aws::String& GetQueueEnvironmentId() const{ return m_queueEnvironmentId; }
87 inline bool QueueEnvironmentIdHasBeenSet() const { return m_queueEnvironmentIdHasBeenSet; }
88 inline void SetQueueEnvironmentId(const Aws::String& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = value; }
89 inline void SetQueueEnvironmentId(Aws::String&& value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId = std::move(value); }
90 inline void SetQueueEnvironmentId(const char* value) { m_queueEnvironmentIdHasBeenSet = true; m_queueEnvironmentId.assign(value); }
93 inline UpdateQueueEnvironmentRequest& WithQueueEnvironmentId(const char* value) { SetQueueEnvironmentId(value); return *this;}
95
97
100 inline int GetPriority() const{ return m_priority; }
101 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
102 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
103 inline UpdateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;}
105
107
110 inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; }
111 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
112 inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
113 inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
117
119
122 inline const Aws::String& GetTemplate() const{ return m_template; }
123 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
124 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
125 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
126 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
127 inline UpdateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
128 inline UpdateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
129 inline UpdateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
131 private:
132
133 Aws::String m_clientToken;
134 bool m_clientTokenHasBeenSet = false;
135
136 Aws::String m_farmId;
137 bool m_farmIdHasBeenSet = false;
138
139 Aws::String m_queueId;
140 bool m_queueIdHasBeenSet = false;
141
142 Aws::String m_queueEnvironmentId;
143 bool m_queueEnvironmentIdHasBeenSet = false;
144
145 int m_priority;
146 bool m_priorityHasBeenSet = false;
147
148 EnvironmentTemplateType m_templateType;
149 bool m_templateTypeHasBeenSet = false;
150
151 Aws::String m_template;
152 bool m_templateHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace deadline
157} // namespace Aws
UpdateQueueEnvironmentRequest & WithQueueEnvironmentId(const Aws::String &value)
UpdateQueueEnvironmentRequest & WithClientToken(Aws::String &&value)
UpdateQueueEnvironmentRequest & WithFarmId(Aws::String &&value)
UpdateQueueEnvironmentRequest & WithQueueId(const Aws::String &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateQueueEnvironmentRequest & WithTemplate(Aws::String &&value)
UpdateQueueEnvironmentRequest & WithClientToken(const char *value)
UpdateQueueEnvironmentRequest & WithTemplate(const Aws::String &value)
UpdateQueueEnvironmentRequest & WithClientToken(const Aws::String &value)
UpdateQueueEnvironmentRequest & WithQueueEnvironmentId(Aws::String &&value)
UpdateQueueEnvironmentRequest & WithTemplateType(const EnvironmentTemplateType &value)
UpdateQueueEnvironmentRequest & WithTemplateType(EnvironmentTemplateType &&value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateQueueEnvironmentRequest & WithTemplate(const char *value)
UpdateQueueEnvironmentRequest & WithQueueId(const char *value)
UpdateQueueEnvironmentRequest & WithFarmId(const char *value)
UpdateQueueEnvironmentRequest & WithQueueEnvironmentId(const char *value)
UpdateQueueEnvironmentRequest & WithQueueId(Aws::String &&value)
void SetTemplateType(const EnvironmentTemplateType &value)
UpdateQueueEnvironmentRequest & WithFarmId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String