AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserIdentityInfoRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/connect/model/UserIdentityInfo.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserIdentityInfo"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const UserIdentityInfo& GetIdentityInfo() const{ return m_identityInfo; }
41 inline bool IdentityInfoHasBeenSet() const { return m_identityInfoHasBeenSet; }
42 inline void SetIdentityInfo(const UserIdentityInfo& value) { m_identityInfoHasBeenSet = true; m_identityInfo = value; }
43 inline void SetIdentityInfo(UserIdentityInfo&& value) { m_identityInfoHasBeenSet = true; m_identityInfo = std::move(value); }
45 inline UpdateUserIdentityInfoRequest& WithIdentityInfo(UserIdentityInfo&& value) { SetIdentityInfo(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetUserId() const{ return m_userId; }
53 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
54 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
55 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
56 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
57 inline UpdateUserIdentityInfoRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
58 inline UpdateUserIdentityInfoRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
59 inline UpdateUserIdentityInfoRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
61
63
68 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
69 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
70 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
71 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
72 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
73 inline UpdateUserIdentityInfoRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
74 inline UpdateUserIdentityInfoRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
75 inline UpdateUserIdentityInfoRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
77 private:
78
79 UserIdentityInfo m_identityInfo;
80 bool m_identityInfoHasBeenSet = false;
81
82 Aws::String m_userId;
83 bool m_userIdHasBeenSet = false;
84
85 Aws::String m_instanceId;
86 bool m_instanceIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
UpdateUserIdentityInfoRequest & WithUserId(const Aws::String &value)
UpdateUserIdentityInfoRequest & WithUserId(const char *value)
UpdateUserIdentityInfoRequest & WithInstanceId(Aws::String &&value)
UpdateUserIdentityInfoRequest & WithInstanceId(const Aws::String &value)
UpdateUserIdentityInfoRequest & WithIdentityInfo(const UserIdentityInfo &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateUserIdentityInfoRequest & WithIdentityInfo(UserIdentityInfo &&value)
UpdateUserIdentityInfoRequest & WithInstanceId(const char *value)
UpdateUserIdentityInfoRequest & WithUserId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String