AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateQueueLimitAssociationRequest.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/UpdateQueueLimitAssociationStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace deadline
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEADLINE_API UpdateQueueLimitAssociationRequest() = default;
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 "UpdateQueueLimitAssociation"; }
32
33 AWS_DEADLINE_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetFarmId() const { return m_farmId; }
42 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
43 template<typename FarmIdT = Aws::String>
44 void SetFarmId(FarmIdT&& value) { m_farmIdHasBeenSet = true; m_farmId = std::forward<FarmIdT>(value); }
45 template<typename FarmIdT = Aws::String>
46 UpdateQueueLimitAssociationRequest& WithFarmId(FarmIdT&& value) { SetFarmId(std::forward<FarmIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetQueueId() const { return m_queueId; }
54 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
55 template<typename QueueIdT = Aws::String>
56 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
57 template<typename QueueIdT = Aws::String>
58 UpdateQueueLimitAssociationRequest& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetLimitId() const { return m_limitId; }
66 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
67 template<typename LimitIdT = Aws::String>
68 void SetLimitId(LimitIdT&& value) { m_limitIdHasBeenSet = true; m_limitId = std::forward<LimitIdT>(value); }
69 template<typename LimitIdT = Aws::String>
70 UpdateQueueLimitAssociationRequest& WithLimitId(LimitIdT&& value) { SetLimitId(std::forward<LimitIdT>(value)); return *this;}
72
74
79 inline UpdateQueueLimitAssociationStatus GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(UpdateQueueLimitAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
84 private:
85
86 Aws::String m_farmId;
87 bool m_farmIdHasBeenSet = false;
88
89 Aws::String m_queueId;
90 bool m_queueIdHasBeenSet = false;
91
92 Aws::String m_limitId;
93 bool m_limitIdHasBeenSet = false;
94
96 bool m_statusHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace deadline
101} // 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