AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListWorkteamsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/ListWorkteamsSortByOptions.h>
10#include <aws/sagemaker/model/SortOrder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API ListWorkteamsRequest();
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 "ListWorkteams"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const ListWorkteamsSortByOptions& GetSortBy() const{ return m_sortBy; }
44 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
45 inline void SetSortBy(const ListWorkteamsSortByOptions& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
46 inline void SetSortBy(ListWorkteamsSortByOptions&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
47 inline ListWorkteamsRequest& WithSortBy(const ListWorkteamsSortByOptions& value) { SetSortBy(value); return *this;}
48 inline ListWorkteamsRequest& WithSortBy(ListWorkteamsSortByOptions&& value) { SetSortBy(std::move(value)); return *this;}
50
52
55 inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
56 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
57 inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
58 inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
59 inline ListWorkteamsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
60 inline ListWorkteamsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
62
64
68 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
69 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
70 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
71 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
72 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
73 inline ListWorkteamsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
74 inline ListWorkteamsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
75 inline ListWorkteamsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
77
79
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
89 inline ListWorkteamsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
90 inline ListWorkteamsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline ListWorkteamsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93
95
98 inline int GetMaxResults() const{ return m_maxResults; }
99 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
100 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
101 inline ListWorkteamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103 private:
104
106 bool m_sortByHasBeenSet = false;
107
108 SortOrder m_sortOrder;
109 bool m_sortOrderHasBeenSet = false;
110
111 Aws::String m_nameContains;
112 bool m_nameContainsHasBeenSet = false;
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListWorkteamsRequest & WithNameContains(const Aws::String &value)
void SetSortBy(const ListWorkteamsSortByOptions &value)
ListWorkteamsRequest & WithSortOrder(SortOrder &&value)
ListWorkteamsRequest & WithSortBy(const ListWorkteamsSortByOptions &value)
ListWorkteamsRequest & WithNextToken(const char *value)
ListWorkteamsRequest & WithMaxResults(int value)
const ListWorkteamsSortByOptions & GetSortBy() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
ListWorkteamsRequest & WithSortBy(ListWorkteamsSortByOptions &&value)
ListWorkteamsRequest & WithNameContains(Aws::String &&value)
void SetSortBy(ListWorkteamsSortByOptions &&value)
ListWorkteamsRequest & WithNextToken(const Aws::String &value)
ListWorkteamsRequest & WithSortOrder(const SortOrder &value)
ListWorkteamsRequest & WithNameContains(const char *value)
void SetNameContains(const Aws::String &value)
ListWorkteamsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String