AWS SDK for C++  1.9.158
AWS SDK for C++
CreateUserResult.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 Aws::String& GetUserId() const{ return m_userId; }
39 
43  inline void SetUserId(const Aws::String& value) { m_userId = value; }
44 
48  inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
49 
53  inline void SetUserId(const char* value) { m_userId.assign(value); }
54 
58  inline CreateUserResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
59 
63  inline CreateUserResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
64 
68  inline CreateUserResult& WithUserId(const char* value) { SetUserId(value); return *this;}
69 
70 
74  inline const Aws::String& GetUserArn() const{ return m_userArn; }
75 
79  inline void SetUserArn(const Aws::String& value) { m_userArn = value; }
80 
84  inline void SetUserArn(Aws::String&& value) { m_userArn = std::move(value); }
85 
89  inline void SetUserArn(const char* value) { m_userArn.assign(value); }
90 
94  inline CreateUserResult& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
95 
99  inline CreateUserResult& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
100 
104  inline CreateUserResult& WithUserArn(const char* value) { SetUserArn(value); return *this;}
105 
106  private:
107 
108  Aws::String m_userId;
109 
110  Aws::String m_userArn;
111  };
112 
113 } // namespace Model
114 } // namespace Connect
115 } // namespace Aws
Aws::Connect::Model::CreateUserResult::operator=
CreateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::CreateUserResult::WithUserArn
CreateUserResult & WithUserArn(const Aws::String &value)
Definition: CreateUserResult.h:94
Aws::Connect::Model::CreateUserResult::CreateUserResult
CreateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::CreateUserResult::WithUserArn
CreateUserResult & WithUserArn(const char *value)
Definition: CreateUserResult.h:104
Aws::Connect::Model::CreateUserResult::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: CreateUserResult.h:79
Aws::Connect::Model::CreateUserResult::WithUserId
CreateUserResult & WithUserId(const Aws::String &value)
Definition: CreateUserResult.h:58
Aws::Connect::Model::CreateUserResult::SetUserId
void SetUserId(const Aws::String &value)
Definition: CreateUserResult.h:43
AWSString.h
Aws::Connect::Model::CreateUserResult::SetUserId
void SetUserId(const char *value)
Definition: CreateUserResult.h:53
Aws::Connect::Model::CreateUserResult::WithUserArn
CreateUserResult & WithUserArn(Aws::String &&value)
Definition: CreateUserResult.h:99
Aws::Connect::Model::CreateUserResult::CreateUserResult
CreateUserResult()
Aws::Connect::Model::CreateUserResult::GetUserArn
const Aws::String & GetUserArn() const
Definition: CreateUserResult.h:74
Aws::Connect::Model::CreateUserResult
Definition: CreateUserResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::CreateUserResult::SetUserId
void SetUserId(Aws::String &&value)
Definition: CreateUserResult.h:48
Aws::Connect::Model::CreateUserResult::SetUserArn
void SetUserArn(const char *value)
Definition: CreateUserResult.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::CreateUserResult::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: CreateUserResult.h:84
Aws::Connect::Model::CreateUserResult::WithUserId
CreateUserResult & WithUserId(Aws::String &&value)
Definition: CreateUserResult.h:63
Aws::Connect::Model::CreateUserResult::GetUserId
const Aws::String & GetUserId() const
Definition: CreateUserResult.h:38
Connect_EXPORTS.h
Aws::Connect::Model::CreateUserResult::WithUserId
CreateUserResult & WithUserId(const char *value)
Definition: CreateUserResult.h:68