AWS SDK for C++  1.9.153
AWS SDK for C++
ListUserProfilesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<UserProfileDetails>& GetUserProfiles() const{ return m_userProfiles; }
41 
45  inline void SetUserProfiles(const Aws::Vector<UserProfileDetails>& value) { m_userProfiles = value; }
46 
50  inline void SetUserProfiles(Aws::Vector<UserProfileDetails>&& value) { m_userProfiles = std::move(value); }
51 
55  inline ListUserProfilesResult& WithUserProfiles(const Aws::Vector<UserProfileDetails>& value) { SetUserProfiles(value); return *this;}
56 
60  inline ListUserProfilesResult& WithUserProfiles(Aws::Vector<UserProfileDetails>&& value) { SetUserProfiles(std::move(value)); return *this;}
61 
65  inline ListUserProfilesResult& AddUserProfiles(const UserProfileDetails& value) { m_userProfiles.push_back(value); return *this; }
66 
70  inline ListUserProfilesResult& AddUserProfiles(UserProfileDetails&& value) { m_userProfiles.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListUserProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListUserProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListUserProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<UserProfileDetails> m_userProfiles;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace SageMaker
124 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ListUserProfilesResult::ListUserProfilesResult
ListUserProfilesResult()
Aws::SageMaker::Model::ListUserProfilesResult::SetUserProfiles
void SetUserProfiles(const Aws::Vector< UserProfileDetails > &value)
Definition: ListUserProfilesResult.h:45
Aws::SageMaker::Model::ListUserProfilesResult::AddUserProfiles
ListUserProfilesResult & AddUserProfiles(const UserProfileDetails &value)
Definition: ListUserProfilesResult.h:65
Aws::SageMaker::Model::UserProfileDetails
Definition: UserProfileDetails.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ListUserProfilesResult::AddUserProfiles
ListUserProfilesResult & AddUserProfiles(UserProfileDetails &&value)
Definition: ListUserProfilesResult.h:70
AWSVector.h
Aws::SageMaker::Model::ListUserProfilesResult::SetUserProfiles
void SetUserProfiles(Aws::Vector< UserProfileDetails > &&value)
Definition: ListUserProfilesResult.h:50
Aws::SageMaker::Model::ListUserProfilesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUserProfilesResult.h:83
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ListUserProfilesResult
Definition: ListUserProfilesResult.h:30
Aws::SageMaker::Model::ListUserProfilesResult::operator=
ListUserProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::SageMaker::Model::ListUserProfilesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUserProfilesResult.h:77
Aws::SageMaker::Model::ListUserProfilesResult::WithUserProfiles
ListUserProfilesResult & WithUserProfiles(const Aws::Vector< UserProfileDetails > &value)
Definition: ListUserProfilesResult.h:55
Aws::SageMaker::Model::ListUserProfilesResult::GetUserProfiles
const Aws::Vector< UserProfileDetails > & GetUserProfiles() const
Definition: ListUserProfilesResult.h:40
Aws::SageMaker::Model::ListUserProfilesResult::WithNextToken
ListUserProfilesResult & WithNextToken(Aws::String &&value)
Definition: ListUserProfilesResult.h:107
Aws::SageMaker::Model::ListUserProfilesResult::WithNextToken
ListUserProfilesResult & WithNextToken(const Aws::String &value)
Definition: ListUserProfilesResult.h:101
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ListUserProfilesResult::ListUserProfilesResult
ListUserProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::ListUserProfilesResult::WithUserProfiles
ListUserProfilesResult & WithUserProfiles(Aws::Vector< UserProfileDetails > &&value)
Definition: ListUserProfilesResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ListUserProfilesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUserProfilesResult.h:89
UserProfileDetails.h
Aws::SageMaker::Model::ListUserProfilesResult::WithNextToken
ListUserProfilesResult & WithNextToken(const char *value)
Definition: ListUserProfilesResult.h:113
Aws::SageMaker::Model::ListUserProfilesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListUserProfilesResult.h:95