AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeUserProfilesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace OpsWorks
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<UserProfile>& GetUserProfiles() const{ return m_userProfiles; }
46 
50  inline void SetUserProfiles(const Aws::Vector<UserProfile>& value) { m_userProfiles = value; }
51 
55  inline void SetUserProfiles(Aws::Vector<UserProfile>&& value) { m_userProfiles = std::move(value); }
56 
60  inline DescribeUserProfilesResult& WithUserProfiles(const Aws::Vector<UserProfile>& value) { SetUserProfiles(value); return *this;}
61 
65  inline DescribeUserProfilesResult& WithUserProfiles(Aws::Vector<UserProfile>&& value) { SetUserProfiles(std::move(value)); return *this;}
66 
70  inline DescribeUserProfilesResult& AddUserProfiles(const UserProfile& value) { m_userProfiles.push_back(value); return *this; }
71 
75  inline DescribeUserProfilesResult& AddUserProfiles(UserProfile&& value) { m_userProfiles.push_back(std::move(value)); return *this; }
76 
77  private:
78 
79  Aws::Vector<UserProfile> m_userProfiles;
80  };
81 
82 } // namespace Model
83 } // namespace OpsWorks
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeUserProfilesResult::AddUserProfiles
DescribeUserProfilesResult & AddUserProfiles(const UserProfile &value)
Definition: DescribeUserProfilesResult.h:70
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::UserProfile
Definition: UserProfile.h:32
UserProfile.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeUserProfilesResult::AddUserProfiles
DescribeUserProfilesResult & AddUserProfiles(UserProfile &&value)
Definition: DescribeUserProfilesResult.h:75
Aws::OpsWorks::Model::DescribeUserProfilesResult::DescribeUserProfilesResult
DescribeUserProfilesResult()
Aws::OpsWorks::Model::DescribeUserProfilesResult
Definition: DescribeUserProfilesResult.h:35
Aws::OpsWorks::Model::DescribeUserProfilesResult::operator=
DescribeUserProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeUserProfilesResult::GetUserProfiles
const Aws::Vector< UserProfile > & GetUserProfiles() const
Definition: DescribeUserProfilesResult.h:45
Aws::OpsWorks::Model::DescribeUserProfilesResult::WithUserProfiles
DescribeUserProfilesResult & WithUserProfiles(Aws::Vector< UserProfile > &&value)
Definition: DescribeUserProfilesResult.h:65
Aws::OpsWorks::Model::DescribeUserProfilesResult::SetUserProfiles
void SetUserProfiles(Aws::Vector< UserProfile > &&value)
Definition: DescribeUserProfilesResult.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeUserProfilesResult::DescribeUserProfilesResult
DescribeUserProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeUserProfilesResult::WithUserProfiles
DescribeUserProfilesResult & WithUserProfiles(const Aws::Vector< UserProfile > &value)
Definition: DescribeUserProfilesResult.h:60
Aws::OpsWorks::Model::DescribeUserProfilesResult::SetUserProfiles
void SetUserProfiles(const Aws::Vector< UserProfile > &value)
Definition: DescribeUserProfilesResult.h:50