AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; }
45 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); }
46 inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); }
47 inline ListLabelsRequest& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
48 inline ListLabelsRequest& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
49 inline ListLabelsRequest& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetIntervalStartTime() const{ return m_intervalStartTime; }
58 inline bool IntervalStartTimeHasBeenSet() const { return m_intervalStartTimeHasBeenSet; }
59 inline void SetIntervalStartTime(const Aws::Utils::DateTime& value) { m_intervalStartTimeHasBeenSet = true; m_intervalStartTime = value; }
60 inline void SetIntervalStartTime(Aws::Utils::DateTime&& value) { m_intervalStartTimeHasBeenSet = true; m_intervalStartTime = std::move(value); }
62 inline ListLabelsRequest& WithIntervalStartTime(Aws::Utils::DateTime&& value) { SetIntervalStartTime(std::move(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetIntervalEndTime() const{ return m_intervalEndTime; }
70 inline bool IntervalEndTimeHasBeenSet() const { return m_intervalEndTimeHasBeenSet; }
71 inline void SetIntervalEndTime(const Aws::Utils::DateTime& value) { m_intervalEndTimeHasBeenSet = true; m_intervalEndTime = value; }
72 inline void SetIntervalEndTime(Aws::Utils::DateTime&& value) { m_intervalEndTimeHasBeenSet = true; m_intervalEndTime = std::move(value); }
74 inline ListLabelsRequest& WithIntervalEndTime(Aws::Utils::DateTime&& value) { SetIntervalEndTime(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetFaultCode() const{ return m_faultCode; }
82 inline bool FaultCodeHasBeenSet() const { return m_faultCodeHasBeenSet; }
83 inline void SetFaultCode(const Aws::String& value) { m_faultCodeHasBeenSet = true; m_faultCode = value; }
84 inline void SetFaultCode(Aws::String&& value) { m_faultCodeHasBeenSet = true; m_faultCode = std::move(value); }
85 inline void SetFaultCode(const char* value) { m_faultCodeHasBeenSet = true; m_faultCode.assign(value); }
86 inline ListLabelsRequest& WithFaultCode(const Aws::String& value) { SetFaultCode(value); return *this;}
87 inline ListLabelsRequest& WithFaultCode(Aws::String&& value) { SetFaultCode(std::move(value)); return *this;}
88 inline ListLabelsRequest& WithFaultCode(const char* value) { SetFaultCode(value); return *this;}
90
92
95 inline const Aws::String& GetEquipment() const{ return m_equipment; }
96 inline bool EquipmentHasBeenSet() const { return m_equipmentHasBeenSet; }
97 inline void SetEquipment(const Aws::String& value) { m_equipmentHasBeenSet = true; m_equipment = value; }
98 inline void SetEquipment(Aws::String&& value) { m_equipmentHasBeenSet = true; m_equipment = std::move(value); }
99 inline void SetEquipment(const char* value) { m_equipmentHasBeenSet = true; m_equipment.assign(value); }
100 inline ListLabelsRequest& WithEquipment(const Aws::String& value) { SetEquipment(value); return *this;}
101 inline ListLabelsRequest& WithEquipment(Aws::String&& value) { SetEquipment(std::move(value)); return *this;}
102 inline ListLabelsRequest& WithEquipment(const char* value) { SetEquipment(value); return *this;}
104
106
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ListLabelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ListLabelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ListLabelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119
121
124 inline int GetMaxResults() const{ return m_maxResults; }
125 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
126 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
127 inline ListLabelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
129 private:
130
131 Aws::String m_labelGroupName;
132 bool m_labelGroupNameHasBeenSet = false;
133
134 Aws::Utils::DateTime m_intervalStartTime;
135 bool m_intervalStartTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_intervalEndTime;
138 bool m_intervalEndTimeHasBeenSet = false;
139
140 Aws::String m_faultCode;
141 bool m_faultCodeHasBeenSet = false;
142
143 Aws::String m_equipment;
144 bool m_equipmentHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148
149 int m_maxResults;
150 bool m_maxResultsHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace LookoutEquipment
155} // namespace Aws
ListLabelsRequest & WithFaultCode(const Aws::String &value)
ListLabelsRequest & WithIntervalEndTime(const Aws::Utils::DateTime &value)
void SetLabelGroupName(const Aws::String &value)
ListLabelsRequest & WithFaultCode(Aws::String &&value)
ListLabelsRequest & WithIntervalStartTime(const Aws::Utils::DateTime &value)
void SetIntervalStartTime(const Aws::Utils::DateTime &value)
void SetIntervalStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetIntervalEndTime() const
ListLabelsRequest & WithLabelGroupName(const Aws::String &value)
ListLabelsRequest & WithFaultCode(const char *value)
ListLabelsRequest & WithIntervalEndTime(Aws::Utils::DateTime &&value)
ListLabelsRequest & WithEquipment(const Aws::String &value)
void SetIntervalEndTime(Aws::Utils::DateTime &&value)
ListLabelsRequest & WithNextToken(Aws::String &&value)
ListLabelsRequest & WithLabelGroupName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API ListLabelsRequest()
const Aws::Utils::DateTime & GetIntervalStartTime() const
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
void SetIntervalEndTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListLabelsRequest & WithNextToken(const char *value)
ListLabelsRequest & WithEquipment(Aws::String &&value)
ListLabelsRequest & WithNextToken(const Aws::String &value)
ListLabelsRequest & WithEquipment(const char *value)
ListLabelsRequest & WithLabelGroupName(const char *value)
ListLabelsRequest & WithIntervalStartTime(Aws::Utils::DateTime &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String