AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateQueueLimitAssociationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
10#include <aws/deadline/model/UpdateQueueLimitAssociationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace deadline {
16namespace Model {
17
21 public:
22 AWS_DEADLINE_API UpdateQueueLimitAssociationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueLimitAssociation"; }
29
30 AWS_DEADLINE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetFarmId() const { return m_farmId; }
38 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
39 template <typename FarmIdT = Aws::String>
40 void SetFarmId(FarmIdT&& value) {
41 m_farmIdHasBeenSet = true;
42 m_farmId = std::forward<FarmIdT>(value);
43 }
44 template <typename FarmIdT = Aws::String>
46 SetFarmId(std::forward<FarmIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetQueueId() const { return m_queueId; }
56 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
57 template <typename QueueIdT = Aws::String>
58 void SetQueueId(QueueIdT&& value) {
59 m_queueIdHasBeenSet = true;
60 m_queueId = std::forward<QueueIdT>(value);
61 }
62 template <typename QueueIdT = Aws::String>
64 SetQueueId(std::forward<QueueIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetLimitId() const { return m_limitId; }
74 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
75 template <typename LimitIdT = Aws::String>
76 void SetLimitId(LimitIdT&& value) {
77 m_limitIdHasBeenSet = true;
78 m_limitId = std::forward<LimitIdT>(value);
79 }
80 template <typename LimitIdT = Aws::String>
82 SetLimitId(std::forward<LimitIdT>(value));
83 return *this;
84 }
86
88
93 inline UpdateQueueLimitAssociationStatus GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104 private:
105 Aws::String m_farmId;
106
107 Aws::String m_queueId;
108
109 Aws::String m_limitId;
110
112 bool m_farmIdHasBeenSet = false;
113 bool m_queueIdHasBeenSet = false;
114 bool m_limitIdHasBeenSet = false;
115 bool m_statusHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace deadline
120} // namespace Aws
UpdateQueueLimitAssociationRequest & WithLimitId(LimitIdT &&value)
UpdateQueueLimitAssociationRequest & WithStatus(UpdateQueueLimitAssociationStatus value)
UpdateQueueLimitAssociationRequest & WithQueueId(QueueIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
UpdateQueueLimitAssociationRequest & WithFarmId(FarmIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String