This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codestar/include/aws/codestar/model/CreateUserProfileRequest.h

250 lines
9.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codestar/CodeStar_EXPORTS.h>
#include <aws/codestar/CodeStarRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace CodeStar
{
namespace Model
{
/**
*/
class AWS_CODESTAR_API CreateUserProfileRequest : public CodeStarRequest
{
public:
CreateUserProfileRequest();
// 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 "CreateUserProfile"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline const Aws::String& GetUserArn() const{ return m_userArn; }
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline CreateUserProfileRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline CreateUserProfileRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
*/
inline CreateUserProfileRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline CreateUserProfileRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline CreateUserProfileRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name that will be displayed as the friendly name for the user in AWS
* CodeStar. </p>
*/
inline CreateUserProfileRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline CreateUserProfileRequest& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline CreateUserProfileRequest& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
/**
* <p>The email address that will be displayed as part of the user's profile in AWS
* CodeStar.</p>
*/
inline CreateUserProfileRequest& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; }
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline bool SshPublicKeyHasBeenSet() const { return m_sshPublicKeyHasBeenSet; }
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline void SetSshPublicKey(const Aws::String& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = value; }
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline void SetSshPublicKey(Aws::String&& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = std::move(value); }
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline void SetSshPublicKey(const char* value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey.assign(value); }
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline CreateUserProfileRequest& WithSshPublicKey(const Aws::String& value) { SetSshPublicKey(value); return *this;}
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline CreateUserProfileRequest& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;}
/**
* <p>The SSH public key associated with the user in AWS CodeStar. If a project
* owner allows the user remote access to project resources, this public key will
* be used along with the user's private key for SSH access.</p>
*/
inline CreateUserProfileRequest& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;}
private:
Aws::String m_userArn;
bool m_userArnHasBeenSet;
Aws::String m_displayName;
bool m_displayNameHasBeenSet;
Aws::String m_emailAddress;
bool m_emailAddressHasBeenSet;
Aws::String m_sshPublicKey;
bool m_sshPublicKeyHasBeenSet;
};
} // namespace Model
} // namespace CodeStar
} // namespace Aws