163 lines
5.1 KiB
C++
163 lines
5.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/connect/Connect_EXPORTS.h>
|
|
#include <aws/connect/ConnectRequest.h>
|
|
#include <aws/connect/model/UserIdentityInfo.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Connect
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_CONNECT_API UpdateUserIdentityInfoRequest : public ConnectRequest
|
|
{
|
|
public:
|
|
UpdateUserIdentityInfoRequest();
|
|
|
|
// Service request name is the Operation name which will send this request out,
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|
// so we can not get operation's name from response.
|
|
inline virtual const char* GetServiceRequestName() const override { return "UpdateUserIdentityInfo"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline const UserIdentityInfo& GetIdentityInfo() const{ return m_identityInfo; }
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline bool IdentityInfoHasBeenSet() const { return m_identityInfoHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline void SetIdentityInfo(const UserIdentityInfo& value) { m_identityInfoHasBeenSet = true; m_identityInfo = value; }
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline void SetIdentityInfo(UserIdentityInfo&& value) { m_identityInfoHasBeenSet = true; m_identityInfo = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithIdentityInfo(const UserIdentityInfo& value) { SetIdentityInfo(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identity information for the user.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithIdentityInfo(UserIdentityInfo&& value) { SetIdentityInfo(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline const Aws::String& GetUserId() const{ return m_userId; }
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the user account.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The identifier of the Amazon Connect instance.</p>
|
|
*/
|
|
inline UpdateUserIdentityInfoRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
|
|
|
|
private:
|
|
|
|
UserIdentityInfo m_identityInfo;
|
|
bool m_identityInfoHasBeenSet;
|
|
|
|
Aws::String m_userId;
|
|
bool m_userIdHasBeenSet;
|
|
|
|
Aws::String m_instanceId;
|
|
bool m_instanceIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Connect
|
|
} // namespace Aws
|