AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQueueEnvironmentRequest.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 "CreateQueueEnvironment"; }
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 CreateQueueEnvironmentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateQueueEnvironmentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateQueueEnvironmentRequest& 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 CreateQueueEnvironmentRequest& WithFarmId(const Aws::String& value) { SetFarmId(value); return *this;}
64 inline CreateQueueEnvironmentRequest& WithFarmId(Aws::String&& value) { SetFarmId(std::move(value)); return *this;}
65 inline CreateQueueEnvironmentRequest& 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 CreateQueueEnvironmentRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
78 inline CreateQueueEnvironmentRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
79 inline CreateQueueEnvironmentRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
81
83
88 inline int GetPriority() const{ return m_priority; }
89 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
90 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
91 inline CreateQueueEnvironmentRequest& WithPriority(int value) { SetPriority(value); return *this;}
93
95
98 inline const EnvironmentTemplateType& GetTemplateType() const{ return m_templateType; }
99 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
100 inline void SetTemplateType(const EnvironmentTemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
101 inline void SetTemplateType(EnvironmentTemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
105
107
110 inline const Aws::String& GetTemplate() const{ return m_template; }
111 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
112 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
113 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
114 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
115 inline CreateQueueEnvironmentRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
116 inline CreateQueueEnvironmentRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
117 inline CreateQueueEnvironmentRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
119 private:
120
121 Aws::String m_clientToken;
122 bool m_clientTokenHasBeenSet = false;
123
124 Aws::String m_farmId;
125 bool m_farmIdHasBeenSet = false;
126
127 Aws::String m_queueId;
128 bool m_queueIdHasBeenSet = false;
129
130 int m_priority;
131 bool m_priorityHasBeenSet = false;
132
133 EnvironmentTemplateType m_templateType;
134 bool m_templateTypeHasBeenSet = false;
135
136 Aws::String m_template;
137 bool m_templateHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace deadline
142} // namespace Aws
CreateQueueEnvironmentRequest & WithPriority(int value)
CreateQueueEnvironmentRequest & WithClientToken(Aws::String &&value)
CreateQueueEnvironmentRequest & WithTemplateType(EnvironmentTemplateType &&value)
void SetTemplateType(const EnvironmentTemplateType &value)
CreateQueueEnvironmentRequest & WithTemplate(Aws::String &&value)
CreateQueueEnvironmentRequest & WithQueueId(Aws::String &&value)
CreateQueueEnvironmentRequest & WithQueueId(const char *value)
CreateQueueEnvironmentRequest & WithFarmId(const char *value)
CreateQueueEnvironmentRequest & WithTemplate(const Aws::String &value)
CreateQueueEnvironmentRequest & WithQueueId(const Aws::String &value)
CreateQueueEnvironmentRequest & WithClientToken(const Aws::String &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateQueueEnvironmentRequest & WithFarmId(Aws::String &&value)
CreateQueueEnvironmentRequest & WithClientToken(const char *value)
CreateQueueEnvironmentRequest & WithTemplate(const char *value)
CreateQueueEnvironmentRequest & WithFarmId(const Aws::String &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateQueueEnvironmentRequest & WithTemplateType(const EnvironmentTemplateType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String