AWS SDK for C++  1.8.27
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::IAM::Model::CreateUserRequest Class Reference

#include <CreateUserRequest.h>

+ Inheritance diagram for Aws::IAM::Model::CreateUserRequest:

Public Member Functions

 CreateUserRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetPath () const
 
bool PathHasBeenSet () const
 
void SetPath (const Aws::String &value)
 
void SetPath (Aws::String &&value)
 
void SetPath (const char *value)
 
CreateUserRequestWithPath (const Aws::String &value)
 
CreateUserRequestWithPath (Aws::String &&value)
 
CreateUserRequestWithPath (const char *value)
 
const Aws::StringGetUserName () const
 
bool UserNameHasBeenSet () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
CreateUserRequestWithUserName (const Aws::String &value)
 
CreateUserRequestWithUserName (Aws::String &&value)
 
CreateUserRequestWithUserName (const char *value)
 
const Aws::StringGetPermissionsBoundary () const
 
bool PermissionsBoundaryHasBeenSet () const
 
void SetPermissionsBoundary (const Aws::String &value)
 
void SetPermissionsBoundary (Aws::String &&value)
 
void SetPermissionsBoundary (const char *value)
 
CreateUserRequestWithPermissionsBoundary (const Aws::String &value)
 
CreateUserRequestWithPermissionsBoundary (Aws::String &&value)
 
CreateUserRequestWithPermissionsBoundary (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateUserRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateUserRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateUserRequestAddTags (const Tag &value)
 
CreateUserRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::IAM::IAMRequest
virtual ~IAMRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::IAM::IAMRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 23 of file CreateUserRequest.h.

Constructor & Destructor Documentation

◆ CreateUserRequest()

Aws::IAM::Model::CreateUserRequest::CreateUserRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::AddTags ( const Tag value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 343 of file CreateUserRequest.h.

◆ AddTags() [2/2]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::AddTags ( Tag &&  value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 354 of file CreateUserRequest.h.

◆ DumpBodyToUrl()

void Aws::IAM::Model::CreateUserRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetPath()

const Aws::String& Aws::IAM::Model::CreateUserRequest::GetPath ( ) const
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 53 of file CreateUserRequest.h.

◆ GetPermissionsBoundary()

const Aws::String& Aws::IAM::Model::CreateUserRequest::GetPermissionsBoundary ( ) const
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 223 of file CreateUserRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IAM::Model::CreateUserRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateUserRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::IAM::Model::CreateUserRequest::GetTags ( ) const
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 277 of file CreateUserRequest.h.

◆ GetUserName()

const Aws::String& Aws::IAM::Model::CreateUserRequest::GetUserName ( ) const
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 160 of file CreateUserRequest.h.

◆ PathHasBeenSet()

bool Aws::IAM::Model::CreateUserRequest::PathHasBeenSet ( ) const
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 67 of file CreateUserRequest.h.

◆ PermissionsBoundaryHasBeenSet()

bool Aws::IAM::Model::CreateUserRequest::PermissionsBoundaryHasBeenSet ( ) const
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 229 of file CreateUserRequest.h.

◆ SerializePayload()

Aws::String Aws::IAM::Model::CreateUserRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetPath() [1/3]

void Aws::IAM::Model::CreateUserRequest::SetPath ( const Aws::String value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 81 of file CreateUserRequest.h.

◆ SetPath() [2/3]

void Aws::IAM::Model::CreateUserRequest::SetPath ( Aws::String &&  value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 95 of file CreateUserRequest.h.

◆ SetPath() [3/3]

void Aws::IAM::Model::CreateUserRequest::SetPath ( const char *  value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 109 of file CreateUserRequest.h.

◆ SetPermissionsBoundary() [1/3]

void Aws::IAM::Model::CreateUserRequest::SetPermissionsBoundary ( const Aws::String value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 235 of file CreateUserRequest.h.

◆ SetPermissionsBoundary() [2/3]

void Aws::IAM::Model::CreateUserRequest::SetPermissionsBoundary ( Aws::String &&  value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 241 of file CreateUserRequest.h.

◆ SetPermissionsBoundary() [3/3]

void Aws::IAM::Model::CreateUserRequest::SetPermissionsBoundary ( const char *  value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 247 of file CreateUserRequest.h.

◆ SetTags() [1/2]

void Aws::IAM::Model::CreateUserRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 299 of file CreateUserRequest.h.

◆ SetTags() [2/2]

void Aws::IAM::Model::CreateUserRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 310 of file CreateUserRequest.h.

◆ SetUserName() [1/3]

void Aws::IAM::Model::CreateUserRequest::SetUserName ( const Aws::String value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 176 of file CreateUserRequest.h.

◆ SetUserName() [2/3]

void Aws::IAM::Model::CreateUserRequest::SetUserName ( Aws::String &&  value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 184 of file CreateUserRequest.h.

◆ SetUserName() [3/3]

void Aws::IAM::Model::CreateUserRequest::SetUserName ( const char *  value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 192 of file CreateUserRequest.h.

◆ TagsHasBeenSet()

bool Aws::IAM::Model::CreateUserRequest::TagsHasBeenSet ( ) const
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 288 of file CreateUserRequest.h.

◆ UserNameHasBeenSet()

bool Aws::IAM::Model::CreateUserRequest::UserNameHasBeenSet ( ) const
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 168 of file CreateUserRequest.h.

◆ WithPath() [1/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPath ( const Aws::String value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 123 of file CreateUserRequest.h.

◆ WithPath() [2/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPath ( Aws::String &&  value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 137 of file CreateUserRequest.h.

◆ WithPath() [3/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPath ( const char *  value)
inline

The path for the user name. For more information about paths, see IAM Identifiers in the IAM User Guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

This parameter allows (through its regex pattern) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! () through the DEL character (), including most punctuation characters, digits, and upper and lowercased letters.

Definition at line 151 of file CreateUserRequest.h.

◆ WithPermissionsBoundary() [1/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPermissionsBoundary ( const Aws::String value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 253 of file CreateUserRequest.h.

◆ WithPermissionsBoundary() [2/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPermissionsBoundary ( Aws::String &&  value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 259 of file CreateUserRequest.h.

◆ WithPermissionsBoundary() [3/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithPermissionsBoundary ( const char *  value)
inline

The ARN of the policy that is used to set the permissions boundary for the user.

Definition at line 265 of file CreateUserRequest.h.

◆ WithTags() [1/2]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 321 of file CreateUserRequest.h.

◆ WithTags() [2/2]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created user. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM Identities in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags per user, then the entire request fails and the user is not created.

Definition at line 332 of file CreateUserRequest.h.

◆ WithUserName() [1/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithUserName ( const Aws::String value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 200 of file CreateUserRequest.h.

◆ WithUserName() [2/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithUserName ( Aws::String &&  value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 208 of file CreateUserRequest.h.

◆ WithUserName() [3/3]

CreateUserRequest& Aws::IAM::Model::CreateUserRequest::WithUserName ( const char *  value)
inline

The name of the user to create.

IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".

Definition at line 216 of file CreateUserRequest.h.


The documentation for this class was generated from the following file: