AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeMyUserProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace OpsWorks
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const SelfUserProfile& GetUserProfile() const{ return m_userProfile; }
46 
51  inline void SetUserProfile(const SelfUserProfile& value) { m_userProfile = value; }
52 
57  inline void SetUserProfile(SelfUserProfile&& value) { m_userProfile = std::move(value); }
58 
63  inline DescribeMyUserProfileResult& WithUserProfile(const SelfUserProfile& value) { SetUserProfile(value); return *this;}
64 
69  inline DescribeMyUserProfileResult& WithUserProfile(SelfUserProfile&& value) { SetUserProfile(std::move(value)); return *this;}
70 
71  private:
72 
73  SelfUserProfile m_userProfile;
74  };
75 
76 } // namespace Model
77 } // namespace OpsWorks
78 } // namespace Aws
Aws::OpsWorks::Model::SelfUserProfile
Definition: SelfUserProfile.h:32
Aws::OpsWorks::Model::DescribeMyUserProfileResult::SetUserProfile
void SetUserProfile(const SelfUserProfile &value)
Definition: DescribeMyUserProfileResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::OpsWorks::Model::DescribeMyUserProfileResult::GetUserProfile
const SelfUserProfile & GetUserProfile() const
Definition: DescribeMyUserProfileResult.h:45
SelfUserProfile.h
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeMyUserProfileResult::WithUserProfile
DescribeMyUserProfileResult & WithUserProfile(SelfUserProfile &&value)
Definition: DescribeMyUserProfileResult.h:69
Aws::OpsWorks::Model::DescribeMyUserProfileResult
Definition: DescribeMyUserProfileResult.h:34
Aws::OpsWorks::Model::DescribeMyUserProfileResult::DescribeMyUserProfileResult
DescribeMyUserProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeMyUserProfileResult::SetUserProfile
void SetUserProfile(SelfUserProfile &&value)
Definition: DescribeMyUserProfileResult.h:57
Aws::OpsWorks::Model::DescribeMyUserProfileResult::operator=
DescribeMyUserProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::OpsWorks::Model::DescribeMyUserProfileResult::DescribeMyUserProfileResult
DescribeMyUserProfileResult()
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeMyUserProfileResult::WithUserProfile
DescribeMyUserProfileResult & WithUserProfile(const SelfUserProfile &value)
Definition: DescribeMyUserProfileResult.h:63