AWS SDK for C++  1.9.158
AWS SDK for C++
ListSubscribedWorkteamsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SageMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListSubscribedWorkteams"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
42 
47  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
48 
53  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
54 
59  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
60 
65  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
66 
71  inline ListSubscribedWorkteamsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
72 
77  inline ListSubscribedWorkteamsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
78 
83  inline ListSubscribedWorkteamsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
84 
85 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
98  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 
105  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
106 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
119  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
120 
126  inline ListSubscribedWorkteamsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
133  inline ListSubscribedWorkteamsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
140  inline ListSubscribedWorkteamsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142 
146  inline int GetMaxResults() const{ return m_maxResults; }
147 
151  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
152 
156  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
157 
161  inline ListSubscribedWorkteamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
162 
163  private:
164 
165  Aws::String m_nameContains;
166  bool m_nameContainsHasBeenSet;
167 
168  Aws::String m_nextToken;
169  bool m_nextTokenHasBeenSet;
170 
171  int m_maxResults;
172  bool m_maxResultsHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace SageMaker
177 } // namespace Aws
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNameContains
ListSubscribedWorkteamsRequest & WithNameContains(const char *value)
Definition: ListSubscribedWorkteamsRequest.h:83
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNextToken
ListSubscribedWorkteamsRequest & WithNextToken(Aws::String &&value)
Definition: ListSubscribedWorkteamsRequest.h:133
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: ListSubscribedWorkteamsRequest.h:41
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNameContains
ListSubscribedWorkteamsRequest & WithNameContains(const Aws::String &value)
Definition: ListSubscribedWorkteamsRequest.h:71
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: ListSubscribedWorkteamsRequest.h:59
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithMaxResults
ListSubscribedWorkteamsRequest & WithMaxResults(int value)
Definition: ListSubscribedWorkteamsRequest.h:161
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSubscribedWorkteamsRequest.h:91
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSubscribedWorkteamsRequest.h:151
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest
Definition: ListSubscribedWorkteamsRequest.h:22
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSubscribedWorkteamsRequest.h:98
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSubscribedWorkteamsRequest.h:146
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSubscribedWorkteamsRequest.h:30
AWSString.h
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: ListSubscribedWorkteamsRequest.h:47
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSubscribedWorkteamsRequest.h:105
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNextToken
ListSubscribedWorkteamsRequest & WithNextToken(const char *value)
Definition: ListSubscribedWorkteamsRequest.h:140
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNameContains
ListSubscribedWorkteamsRequest & WithNameContains(Aws::String &&value)
Definition: ListSubscribedWorkteamsRequest.h:77
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSubscribedWorkteamsRequest.h:119
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: ListSubscribedWorkteamsRequest.h:53
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSubscribedWorkteamsRequest.h:156
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSubscribedWorkteamsRequest.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::ListSubscribedWorkteamsRequest
ListSubscribedWorkteamsRequest()
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::SetNameContains
void SetNameContains(const char *value)
Definition: ListSubscribedWorkteamsRequest.h:65
Aws::SageMaker::Model::ListSubscribedWorkteamsRequest::WithNextToken
ListSubscribedWorkteamsRequest & WithNextToken(const Aws::String &value)
Definition: ListSubscribedWorkteamsRequest.h:126