AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
UpdateLinkRoutingRuleRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rtbfabric/RTBFabricRequest.h>
9#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
10#include <aws/rtbfabric/model/RuleCondition.h>
11
12#include <utility>
13
14namespace Aws {
15namespace RTBFabric {
16namespace Model {
17
21 public:
22 AWS_RTBFABRIC_API UpdateLinkRoutingRuleRequest() = 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 "UpdateLinkRoutingRule"; }
29
30 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
37 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
38 template <typename GatewayIdT = Aws::String>
39 void SetGatewayId(GatewayIdT&& value) {
40 m_gatewayIdHasBeenSet = true;
41 m_gatewayId = std::forward<GatewayIdT>(value);
42 }
43 template <typename GatewayIdT = Aws::String>
45 SetGatewayId(std::forward<GatewayIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLinkId() const { return m_linkId; }
55 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
56 template <typename LinkIdT = Aws::String>
57 void SetLinkId(LinkIdT&& value) {
58 m_linkIdHasBeenSet = true;
59 m_linkId = std::forward<LinkIdT>(value);
60 }
61 template <typename LinkIdT = Aws::String>
63 SetLinkId(std::forward<LinkIdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetRuleId() const { return m_ruleId; }
73 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
74 template <typename RuleIdT = Aws::String>
75 void SetRuleId(RuleIdT&& value) {
76 m_ruleIdHasBeenSet = true;
77 m_ruleId = std::forward<RuleIdT>(value);
78 }
79 template <typename RuleIdT = Aws::String>
81 SetRuleId(std::forward<RuleIdT>(value));
82 return *this;
83 }
85
87
92 inline int GetPriority() const { return m_priority; }
93 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
94 inline void SetPriority(int value) {
95 m_priorityHasBeenSet = true;
96 m_priority = value;
97 }
99 SetPriority(value);
100 return *this;
101 }
103
105
109 inline const RuleCondition& GetConditions() const { return m_conditions; }
110 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
111 template <typename ConditionsT = RuleCondition>
112 void SetConditions(ConditionsT&& value) {
113 m_conditionsHasBeenSet = true;
114 m_conditions = std::forward<ConditionsT>(value);
115 }
116 template <typename ConditionsT = RuleCondition>
118 SetConditions(std::forward<ConditionsT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_gatewayId;
124
125 Aws::String m_linkId;
126
127 Aws::String m_ruleId;
128
129 int m_priority{0};
130
131 RuleCondition m_conditions;
132 bool m_gatewayIdHasBeenSet = false;
133 bool m_linkIdHasBeenSet = false;
134 bool m_ruleIdHasBeenSet = false;
135 bool m_priorityHasBeenSet = false;
136 bool m_conditionsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace RTBFabric
141} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String