AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUserResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/User.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace IAM
25{
26namespace Model
27{
35 {
36 public:
37 AWS_IAM_API GetUserResult();
40
41
43
63 inline const User& GetUser() const{ return m_user; }
64 inline void SetUser(const User& value) { m_user = value; }
65 inline void SetUser(User&& value) { m_user = std::move(value); }
66 inline GetUserResult& WithUser(const User& value) { SetUser(value); return *this;}
67 inline GetUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
73 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
74 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 inline GetUserResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
76 inline GetUserResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
78 private:
79
80 User m_user;
81
82 ResponseMetadata m_responseMetadata;
83 };
84
85} // namespace Model
86} // namespace IAM
87} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
GetUserResult & WithResponseMetadata(ResponseMetadata &&value)
const User & GetUser() const
AWS_IAM_API GetUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetUser(const User &value)
GetUserResult & WithResponseMetadata(const ResponseMetadata &value)
GetUserResult & WithUser(const User &value)
AWS_IAM_API GetUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
GetUserResult & WithUser(User &&value)
void SetResponseMetadata(ResponseMetadata &&value)
Aws::Utils::Xml::XmlDocument XmlDocument