AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
47 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
48 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
49 inline ListInferenceExecutionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
50 inline ListInferenceExecutionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
51 inline ListInferenceExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
53
55
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListInferenceExecutionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline const Aws::String& GetInferenceSchedulerName() const{ return m_inferenceSchedulerName; }
69 inline bool InferenceSchedulerNameHasBeenSet() const { return m_inferenceSchedulerNameHasBeenSet; }
70 inline void SetInferenceSchedulerName(const Aws::String& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = value; }
71 inline void SetInferenceSchedulerName(Aws::String&& value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName = std::move(value); }
72 inline void SetInferenceSchedulerName(const char* value) { m_inferenceSchedulerNameHasBeenSet = true; m_inferenceSchedulerName.assign(value); }
77
79
83 inline const Aws::Utils::DateTime& GetDataStartTimeAfter() const{ return m_dataStartTimeAfter; }
84 inline bool DataStartTimeAfterHasBeenSet() const { return m_dataStartTimeAfterHasBeenSet; }
85 inline void SetDataStartTimeAfter(const Aws::Utils::DateTime& value) { m_dataStartTimeAfterHasBeenSet = true; m_dataStartTimeAfter = value; }
86 inline void SetDataStartTimeAfter(Aws::Utils::DateTime&& value) { m_dataStartTimeAfterHasBeenSet = true; m_dataStartTimeAfter = std::move(value); }
90
92
96 inline const Aws::Utils::DateTime& GetDataEndTimeBefore() const{ return m_dataEndTimeBefore; }
97 inline bool DataEndTimeBeforeHasBeenSet() const { return m_dataEndTimeBeforeHasBeenSet; }
98 inline void SetDataEndTimeBefore(const Aws::Utils::DateTime& value) { m_dataEndTimeBeforeHasBeenSet = true; m_dataEndTimeBefore = value; }
99 inline void SetDataEndTimeBefore(Aws::Utils::DateTime&& value) { m_dataEndTimeBeforeHasBeenSet = true; m_dataEndTimeBefore = std::move(value); }
103
105
108 inline const InferenceExecutionStatus& GetStatus() const{ return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
110 inline void SetStatus(const InferenceExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
111 inline void SetStatus(InferenceExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
113 inline ListInferenceExecutionsRequest& WithStatus(InferenceExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_nextToken;
118 bool m_nextTokenHasBeenSet = false;
119
120 int m_maxResults;
121 bool m_maxResultsHasBeenSet = false;
122
123 Aws::String m_inferenceSchedulerName;
124 bool m_inferenceSchedulerNameHasBeenSet = false;
125
126 Aws::Utils::DateTime m_dataStartTimeAfter;
127 bool m_dataStartTimeAfterHasBeenSet = false;
128
129 Aws::Utils::DateTime m_dataEndTimeBefore;
130 bool m_dataEndTimeBeforeHasBeenSet = false;
131
133 bool m_statusHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace LookoutEquipment
138} // namespace Aws
ListInferenceExecutionsRequest & WithDataStartTimeAfter(const Aws::Utils::DateTime &value)
ListInferenceExecutionsRequest & WithInferenceSchedulerName(Aws::String &&value)
ListInferenceExecutionsRequest & WithStatus(const InferenceExecutionStatus &value)
ListInferenceExecutionsRequest & WithDataEndTimeBefore(const Aws::Utils::DateTime &value)
ListInferenceExecutionsRequest & WithDataEndTimeBefore(Aws::Utils::DateTime &&value)
ListInferenceExecutionsRequest & WithInferenceSchedulerName(const char *value)
ListInferenceExecutionsRequest & WithStatus(InferenceExecutionStatus &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ListInferenceExecutionsRequest & WithDataStartTimeAfter(Aws::Utils::DateTime &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListInferenceExecutionsRequest & WithNextToken(const char *value)
ListInferenceExecutionsRequest & WithInferenceSchedulerName(const Aws::String &value)
ListInferenceExecutionsRequest & WithNextToken(Aws::String &&value)
ListInferenceExecutionsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String