AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEndpointConfigsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/EndpointConfigSortKey.h>
10#include <aws/sagemaker/model/OrderKey.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API ListEndpointConfigsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListEndpointConfigs"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const EndpointConfigSortKey& GetSortBy() const{ return m_sortBy; }
45 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
46 inline void SetSortBy(const EndpointConfigSortKey& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
47 inline void SetSortBy(EndpointConfigSortKey&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
48 inline ListEndpointConfigsRequest& WithSortBy(const EndpointConfigSortKey& value) { SetSortBy(value); return *this;}
49 inline ListEndpointConfigsRequest& WithSortBy(EndpointConfigSortKey&& value) { SetSortBy(std::move(value)); return *this;}
51
53
56 inline const OrderKey& GetSortOrder() const{ return m_sortOrder; }
57 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
58 inline void SetSortOrder(const OrderKey& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
59 inline void SetSortOrder(OrderKey&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
60 inline ListEndpointConfigsRequest& WithSortOrder(const OrderKey& value) { SetSortOrder(value); return *this;}
61 inline ListEndpointConfigsRequest& WithSortOrder(OrderKey&& value) { SetSortOrder(std::move(value)); return *this;}
63
65
70 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
74 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
75 inline ListEndpointConfigsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 inline ListEndpointConfigsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 inline ListEndpointConfigsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79
81
84 inline int GetMaxResults() const{ return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline ListEndpointConfigsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89
91
95 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
96 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
97 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
98 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
99 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
100 inline ListEndpointConfigsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
101 inline ListEndpointConfigsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
102 inline ListEndpointConfigsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
104
106
110 inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
111 inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
112 inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
113 inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
117
119
123 inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
124 inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
125 inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
126 inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
130 private:
131
132 EndpointConfigSortKey m_sortBy;
133 bool m_sortByHasBeenSet = false;
134
135 OrderKey m_sortOrder;
136 bool m_sortOrderHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 int m_maxResults;
142 bool m_maxResultsHasBeenSet = false;
143
144 Aws::String m_nameContains;
145 bool m_nameContainsHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationTimeBefore;
148 bool m_creationTimeBeforeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_creationTimeAfter;
151 bool m_creationTimeAfterHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SageMaker
156} // namespace Aws
void SetCreationTimeAfter(const Aws::Utils::DateTime &value)
ListEndpointConfigsRequest & WithNextToken(Aws::String &&value)
ListEndpointConfigsRequest & WithCreationTimeAfter(Aws::Utils::DateTime &&value)
ListEndpointConfigsRequest & WithNextToken(const Aws::String &value)
ListEndpointConfigsRequest & WithSortBy(const EndpointConfigSortKey &value)
ListEndpointConfigsRequest & WithMaxResults(int value)
void SetSortBy(const EndpointConfigSortKey &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListEndpointConfigsRequest & WithNextToken(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListEndpointConfigsRequest & WithCreationTimeAfter(const Aws::Utils::DateTime &value)
ListEndpointConfigsRequest & WithCreationTimeBefore(Aws::Utils::DateTime &&value)
void SetCreationTimeBefore(const Aws::Utils::DateTime &value)
ListEndpointConfigsRequest & WithNameContains(Aws::String &&value)
ListEndpointConfigsRequest & WithSortOrder(const OrderKey &value)
ListEndpointConfigsRequest & WithSortBy(EndpointConfigSortKey &&value)
virtual const char * GetServiceRequestName() const override
ListEndpointConfigsRequest & WithNameContains(const char *value)
ListEndpointConfigsRequest & WithSortOrder(OrderKey &&value)
ListEndpointConfigsRequest & WithNameContains(const Aws::String &value)
ListEndpointConfigsRequest & WithCreationTimeBefore(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String