AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListLabelsRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LookoutEquipment
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTEQUIPMENT_API ListLabelsRequest() = 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 "ListLabels"; }
32
33 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetLabelGroupName() const { return m_labelGroupName; }
43 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
44 template<typename LabelGroupNameT = Aws::String>
45 void SetLabelGroupName(LabelGroupNameT&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::forward<LabelGroupNameT>(value); }
46 template<typename LabelGroupNameT = Aws::String>
47 ListLabelsRequest& WithLabelGroupName(LabelGroupNameT&& value) { SetLabelGroupName(std::forward<LabelGroupNameT>(value)); return *this;}
49
51
55 inline const Aws::Utils::DateTime& GetIntervalStartTime() const { return m_intervalStartTime; }
56 inline bool IntervalStartTimeHasBeenSet() const { return m_intervalStartTimeHasBeenSet; }
57 template<typename IntervalStartTimeT = Aws::Utils::DateTime>
58 void SetIntervalStartTime(IntervalStartTimeT&& value) { m_intervalStartTimeHasBeenSet = true; m_intervalStartTime = std::forward<IntervalStartTimeT>(value); }
59 template<typename IntervalStartTimeT = Aws::Utils::DateTime>
60 ListLabelsRequest& WithIntervalStartTime(IntervalStartTimeT&& value) { SetIntervalStartTime(std::forward<IntervalStartTimeT>(value)); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetIntervalEndTime() const { return m_intervalEndTime; }
68 inline bool IntervalEndTimeHasBeenSet() const { return m_intervalEndTimeHasBeenSet; }
69 template<typename IntervalEndTimeT = Aws::Utils::DateTime>
70 void SetIntervalEndTime(IntervalEndTimeT&& value) { m_intervalEndTimeHasBeenSet = true; m_intervalEndTime = std::forward<IntervalEndTimeT>(value); }
71 template<typename IntervalEndTimeT = Aws::Utils::DateTime>
72 ListLabelsRequest& WithIntervalEndTime(IntervalEndTimeT&& value) { SetIntervalEndTime(std::forward<IntervalEndTimeT>(value)); return *this;}
74
76
79 inline const Aws::String& GetFaultCode() const { return m_faultCode; }
80 inline bool FaultCodeHasBeenSet() const { return m_faultCodeHasBeenSet; }
81 template<typename FaultCodeT = Aws::String>
82 void SetFaultCode(FaultCodeT&& value) { m_faultCodeHasBeenSet = true; m_faultCode = std::forward<FaultCodeT>(value); }
83 template<typename FaultCodeT = Aws::String>
84 ListLabelsRequest& WithFaultCode(FaultCodeT&& value) { SetFaultCode(std::forward<FaultCodeT>(value)); return *this;}
86
88
91 inline const Aws::String& GetEquipment() const { return m_equipment; }
92 inline bool EquipmentHasBeenSet() const { return m_equipmentHasBeenSet; }
93 template<typename EquipmentT = Aws::String>
94 void SetEquipment(EquipmentT&& value) { m_equipmentHasBeenSet = true; m_equipment = std::forward<EquipmentT>(value); }
95 template<typename EquipmentT = Aws::String>
96 ListLabelsRequest& WithEquipment(EquipmentT&& value) { SetEquipment(std::forward<EquipmentT>(value)); return *this;}
98
100
104 inline const Aws::String& GetNextToken() const { return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 template<typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
108 template<typename NextTokenT = Aws::String>
109 ListLabelsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
111
113
116 inline int GetMaxResults() const { return m_maxResults; }
117 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
118 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
119 inline ListLabelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
121 private:
122
123 Aws::String m_labelGroupName;
124 bool m_labelGroupNameHasBeenSet = false;
125
126 Aws::Utils::DateTime m_intervalStartTime{};
127 bool m_intervalStartTimeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_intervalEndTime{};
130 bool m_intervalEndTimeHasBeenSet = false;
131
132 Aws::String m_faultCode;
133 bool m_faultCodeHasBeenSet = false;
134
135 Aws::String m_equipment;
136 bool m_equipmentHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 int m_maxResults{0};
142 bool m_maxResultsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace LookoutEquipment
147} // namespace Aws
void SetIntervalEndTime(IntervalEndTimeT &&value)
AWS_LOOKOUTEQUIPMENT_API ListLabelsRequest()=default
ListLabelsRequest & WithIntervalEndTime(IntervalEndTimeT &&value)
ListLabelsRequest & WithLabelGroupName(LabelGroupNameT &&value)
ListLabelsRequest & WithFaultCode(FaultCodeT &&value)
ListLabelsRequest & WithIntervalStartTime(IntervalStartTimeT &&value)
const Aws::Utils::DateTime & GetIntervalEndTime() const
const Aws::Utils::DateTime & GetIntervalStartTime() const
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetIntervalStartTime(IntervalStartTimeT &&value)
ListLabelsRequest & WithNextToken(NextTokenT &&value)
ListLabelsRequest & WithEquipment(EquipmentT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String