AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateQueueLimitAssociationRequest.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
11#include <utility>
12
13namespace Aws {
14namespace deadline {
15namespace Model {
16
20 public:
21 AWS_DEADLINE_API CreateQueueLimitAssociationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateQueueLimitAssociation"; }
28
29 AWS_DEADLINE_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetFarmId() const { return m_farmId; }
37 inline bool FarmIdHasBeenSet() const { return m_farmIdHasBeenSet; }
38 template <typename FarmIdT = Aws::String>
39 void SetFarmId(FarmIdT&& value) {
40 m_farmIdHasBeenSet = true;
41 m_farmId = std::forward<FarmIdT>(value);
42 }
43 template <typename FarmIdT = Aws::String>
45 SetFarmId(std::forward<FarmIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetQueueId() const { return m_queueId; }
55 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
56 template <typename QueueIdT = Aws::String>
57 void SetQueueId(QueueIdT&& value) {
58 m_queueIdHasBeenSet = true;
59 m_queueId = std::forward<QueueIdT>(value);
60 }
61 template <typename QueueIdT = Aws::String>
63 SetQueueId(std::forward<QueueIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetLimitId() const { return m_limitId; }
73 inline bool LimitIdHasBeenSet() const { return m_limitIdHasBeenSet; }
74 template <typename LimitIdT = Aws::String>
75 void SetLimitId(LimitIdT&& value) {
76 m_limitIdHasBeenSet = true;
77 m_limitId = std::forward<LimitIdT>(value);
78 }
79 template <typename LimitIdT = Aws::String>
81 SetLimitId(std::forward<LimitIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_farmId;
87
88 Aws::String m_queueId;
89
90 Aws::String m_limitId;
91 bool m_farmIdHasBeenSet = false;
92 bool m_queueIdHasBeenSet = false;
93 bool m_limitIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace deadline
98} // namespace Aws
CreateQueueLimitAssociationRequest & WithQueueId(QueueIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateQueueLimitAssociationRequest & WithLimitId(LimitIdT &&value)
CreateQueueLimitAssociationRequest & WithFarmId(FarmIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String