AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeUserResult.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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const User& GetUser() const{ return m_user; }
39 
43  inline void SetUser(const User& value) { m_user = value; }
44 
48  inline void SetUser(User&& value) { m_user = std::move(value); }
49 
53  inline DescribeUserResult& WithUser(const User& value) { SetUser(value); return *this;}
54 
58  inline DescribeUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
59 
60  private:
61 
62  User m_user;
63  };
64 
65 } // namespace Model
66 } // namespace Connect
67 } // namespace Aws
Aws::Connect::Model::DescribeUserResult::WithUser
DescribeUserResult & WithUser(const User &value)
Definition: DescribeUserResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::DescribeUserResult::DescribeUserResult
DescribeUserResult()
Aws::Connect::Model::User
Definition: User.h:37
Aws::Connect::Model::DescribeUserResult::SetUser
void SetUser(const User &value)
Definition: DescribeUserResult.h:43
Aws::Connect::Model::DescribeUserResult
Definition: DescribeUserResult.h:28
Aws::Connect::Model::DescribeUserResult::DescribeUserResult
DescribeUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::DescribeUserResult::GetUser
const User & GetUser() const
Definition: DescribeUserResult.h:38
Aws::Connect::Model::DescribeUserResult::operator=
DescribeUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
User.h
Aws::Connect::Model::DescribeUserResult::WithUser
DescribeUserResult & WithUser(User &&value)
Definition: DescribeUserResult.h:58
Aws::Connect::Model::DescribeUserResult::SetUser
void SetUser(User &&value)
Definition: DescribeUserResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h