AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListInferenceExecutionsRequest.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 <aws/lookoutequipment/model/InferenceExecutionStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LookoutEquipment
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTEQUIPMENT_API ListInferenceExecutionsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListInferenceExecutions"; }
33
34 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetNextToken() const { return m_nextToken; }
45 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 template<typename NextTokenT = Aws::String>
47 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
48 template<typename NextTokenT = Aws::String>
49 ListInferenceExecutionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListInferenceExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::String& GetInferenceSchedulerName() const { return m_inferenceSchedulerName; }
67 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
68 template<typename InferenceSchedulerNameT = Aws::String>
69 void SetInferenceSchedulerName(InferenceSchedulerNameT&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::forward<InferenceSchedulerNameT>(value); }
70 template<typename InferenceSchedulerNameT = Aws::String>
71 ListInferenceExecutionsRequest& WithInferenceSchedulerName(InferenceSchedulerNameT&& value) { SetInferenceSchedulerName(std::forward<InferenceSchedulerNameT>(value)); return *this;}
73
75
79 inline const Aws::Utils::DateTime& GetDataStartTimeAfter() const { return m_dataStartTimeAfter; }
80 inline bool DataStartTimeAfterHasBeenSet() const { return m_dataStartTimeAfterHasBeenSet; }
81 template<typename DataStartTimeAfterT = Aws::Utils::DateTime>
82 void SetDataStartTimeAfter(DataStartTimeAfterT&& value) { m_dataStartTimeAfterHasBeenSet = true; m_dataStartTimeAfter = std::forward<DataStartTimeAfterT>(value); }
83 template<typename DataStartTimeAfterT = Aws::Utils::DateTime>
84 ListInferenceExecutionsRequest& WithDataStartTimeAfter(DataStartTimeAfterT&& value) { SetDataStartTimeAfter(std::forward<DataStartTimeAfterT>(value)); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetDataEndTimeBefore() const { return m_dataEndTimeBefore; }
93 inline bool DataEndTimeBeforeHasBeenSet() const { return m_dataEndTimeBeforeHasBeenSet; }
94 template<typename DataEndTimeBeforeT = Aws::Utils::DateTime>
95 void SetDataEndTimeBefore(DataEndTimeBeforeT&& value) { m_dataEndTimeBeforeHasBeenSet = true; m_dataEndTimeBefore = std::forward<DataEndTimeBeforeT>(value); }
96 template<typename DataEndTimeBeforeT = Aws::Utils::DateTime>
97 ListInferenceExecutionsRequest& WithDataEndTimeBefore(DataEndTimeBeforeT&& value) { SetDataEndTimeBefore(std::forward<DataEndTimeBeforeT>(value)); return *this;}
99
101
104 inline InferenceExecutionStatus GetStatus() const { return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(InferenceExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
109 private:
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113
114 int m_maxResults{0};
115 bool m_maxResultsHasBeenSet = false;
116
117 Aws::String m_inferenceSchedulerName;
118 bool m_inferenceSchedulerNameHasBeenSet = false;
119
120 Aws::Utils::DateTime m_dataStartTimeAfter{};
121 bool m_dataStartTimeAfterHasBeenSet = false;
122
123 Aws::Utils::DateTime m_dataEndTimeBefore{};
124 bool m_dataEndTimeBeforeHasBeenSet = false;
125
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace LookoutEquipment
132} // namespace Aws
ListInferenceExecutionsRequest & WithDataEndTimeBefore(DataEndTimeBeforeT &&value)
AWS_LOOKOUTEQUIPMENT_API ListInferenceExecutionsRequest()=default
ListInferenceExecutionsRequest & WithNextToken(NextTokenT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListInferenceExecutionsRequest & WithDataStartTimeAfter(DataStartTimeAfterT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceExecutionsRequest & WithInferenceSchedulerName(InferenceSchedulerNameT &&value)
ListInferenceExecutionsRequest & WithStatus(InferenceExecutionStatus value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String