AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
LinkRoutingRuleSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
10#include <aws/rtbfabric/model/RuleCondition.h>
11#include <aws/rtbfabric/model/RuleStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RTBFabric {
23namespace Model {
24
31 public:
32 AWS_RTBFABRIC_API LinkRoutingRuleSummary() = default;
35 AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetRuleId() const { return m_ruleId; }
42 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
43 template <typename RuleIdT = Aws::String>
44 void SetRuleId(RuleIdT&& value) {
45 m_ruleIdHasBeenSet = true;
46 m_ruleId = std::forward<RuleIdT>(value);
47 }
48 template <typename RuleIdT = Aws::String>
50 SetRuleId(std::forward<RuleIdT>(value));
51 return *this;
52 }
54
56
59 inline int GetPriority() const { return m_priority; }
60 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
61 inline void SetPriority(int value) {
62 m_priorityHasBeenSet = true;
63 m_priority = value;
64 }
66 SetPriority(value);
67 return *this;
68 }
70
72
75 inline const RuleCondition& GetConditions() const { return m_conditions; }
76 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
77 template <typename ConditionsT = RuleCondition>
78 void SetConditions(ConditionsT&& value) {
79 m_conditionsHasBeenSet = true;
80 m_conditions = std::forward<ConditionsT>(value);
81 }
82 template <typename ConditionsT = RuleCondition>
83 LinkRoutingRuleSummary& WithConditions(ConditionsT&& value) {
84 SetConditions(std::forward<ConditionsT>(value));
85 return *this;
86 }
88
90
93 inline RuleStatus GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(RuleStatus value) {
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
110 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
111 template <typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) {
113 m_createdAtHasBeenSet = true;
114 m_createdAt = std::forward<CreatedAtT>(value);
115 }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
118 SetCreatedAt(std::forward<CreatedAtT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
128 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
129 template <typename UpdatedAtT = Aws::Utils::DateTime>
130 void SetUpdatedAt(UpdatedAtT&& value) {
131 m_updatedAtHasBeenSet = true;
132 m_updatedAt = std::forward<UpdatedAtT>(value);
133 }
134 template <typename UpdatedAtT = Aws::Utils::DateTime>
136 SetUpdatedAt(std::forward<UpdatedAtT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_ruleId;
142
143 int m_priority{0};
144
145 RuleCondition m_conditions;
146
148
149 Aws::Utils::DateTime m_createdAt{};
150
151 Aws::Utils::DateTime m_updatedAt{};
152 bool m_ruleIdHasBeenSet = false;
153 bool m_priorityHasBeenSet = false;
154 bool m_conditionsHasBeenSet = false;
155 bool m_statusHasBeenSet = false;
156 bool m_createdAtHasBeenSet = false;
157 bool m_updatedAtHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace RTBFabric
162} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue