AWS SDK for C++  1.9.132
AWS SDK for C++
DeleteUserRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteUser"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetUserArn() const{ return m_userArn; }
41 
45  inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
46 
50  inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; }
51 
55  inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); }
56 
60  inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); }
61 
65  inline DeleteUserRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
66 
70  inline DeleteUserRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
71 
75  inline DeleteUserRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetEnrollmentId() const{ return m_enrollmentId; }
82 
86  inline bool EnrollmentIdHasBeenSet() const { return m_enrollmentIdHasBeenSet; }
87 
91  inline void SetEnrollmentId(const Aws::String& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = value; }
92 
96  inline void SetEnrollmentId(Aws::String&& value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId = std::move(value); }
97 
101  inline void SetEnrollmentId(const char* value) { m_enrollmentIdHasBeenSet = true; m_enrollmentId.assign(value); }
102 
106  inline DeleteUserRequest& WithEnrollmentId(const Aws::String& value) { SetEnrollmentId(value); return *this;}
107 
111  inline DeleteUserRequest& WithEnrollmentId(Aws::String&& value) { SetEnrollmentId(std::move(value)); return *this;}
112 
116  inline DeleteUserRequest& WithEnrollmentId(const char* value) { SetEnrollmentId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_userArn;
121  bool m_userArnHasBeenSet;
122 
123  Aws::String m_enrollmentId;
124  bool m_enrollmentIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace AlexaForBusiness
129 } // namespace Aws
Aws::AlexaForBusiness::Model::DeleteUserRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserRequest.h:30
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithEnrollmentId
DeleteUserRequest & WithEnrollmentId(const Aws::String &value)
Definition: DeleteUserRequest.h:106
Aws::AlexaForBusiness::Model::DeleteUserRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetEnrollmentId
void SetEnrollmentId(const Aws::String &value)
Definition: DeleteUserRequest.h:91
Aws::AlexaForBusiness::Model::DeleteUserRequest::GetEnrollmentId
const Aws::String & GetEnrollmentId() const
Definition: DeleteUserRequest.h:81
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithUserArn
DeleteUserRequest & WithUserArn(const Aws::String &value)
Definition: DeleteUserRequest.h:65
Aws::AlexaForBusiness::Model::DeleteUserRequest::DeleteUserRequest
DeleteUserRequest()
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithUserArn
DeleteUserRequest & WithUserArn(Aws::String &&value)
Definition: DeleteUserRequest.h:70
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetUserArn
void SetUserArn(const Aws::String &value)
Definition: DeleteUserRequest.h:50
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetEnrollmentId
void SetEnrollmentId(Aws::String &&value)
Definition: DeleteUserRequest.h:96
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetUserArn
void SetUserArn(const char *value)
Definition: DeleteUserRequest.h:60
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::DeleteUserRequest::UserArnHasBeenSet
bool UserArnHasBeenSet() const
Definition: DeleteUserRequest.h:45
Aws::AlexaForBusiness::Model::DeleteUserRequest::GetUserArn
const Aws::String & GetUserArn() const
Definition: DeleteUserRequest.h:40
AWSString.h
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithEnrollmentId
DeleteUserRequest & WithEnrollmentId(Aws::String &&value)
Definition: DeleteUserRequest.h:111
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::DeleteUserRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetUserArn
void SetUserArn(Aws::String &&value)
Definition: DeleteUserRequest.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithUserArn
DeleteUserRequest & WithUserArn(const char *value)
Definition: DeleteUserRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::DeleteUserRequest::SetEnrollmentId
void SetEnrollmentId(const char *value)
Definition: DeleteUserRequest.h:101
Aws::AlexaForBusiness::Model::DeleteUserRequest
Definition: DeleteUserRequest.h:22
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::DeleteUserRequest::EnrollmentIdHasBeenSet
bool EnrollmentIdHasBeenSet() const
Definition: DeleteUserRequest.h:86
Aws::AlexaForBusiness::Model::DeleteUserRequest::WithEnrollmentId
DeleteUserRequest & WithEnrollmentId(const char *value)
Definition: DeleteUserRequest.h:116