AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResetPasswordRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace WorkMail
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WORKMAIL_API ResetPasswordRequest();
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 "ResetPassword"; }
31
32 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
43 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
44 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
45 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
46 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
47 inline ResetPasswordRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
48 inline ResetPasswordRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
49 inline ResetPasswordRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
51
53
56 inline const Aws::String& GetUserId() const{ return m_userId; }
57 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
58 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
59 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
60 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
61 inline ResetPasswordRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
62 inline ResetPasswordRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
63 inline ResetPasswordRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
65
67
70 inline const Aws::String& GetPassword() const{ return m_password; }
71 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
72 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
73 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
74 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
75 inline ResetPasswordRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
76 inline ResetPasswordRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
77 inline ResetPasswordRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
79 private:
80
81 Aws::String m_organizationId;
82 bool m_organizationIdHasBeenSet = false;
83
84 Aws::String m_userId;
85 bool m_userIdHasBeenSet = false;
86
87 Aws::String m_password;
88 bool m_passwordHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WorkMail
93} // namespace Aws
ResetPasswordRequest & WithUserId(const char *value)
void SetOrganizationId(const Aws::String &value)
ResetPasswordRequest & WithOrganizationId(const char *value)
ResetPasswordRequest & WithOrganizationId(const Aws::String &value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ResetPasswordRequest & WithPassword(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ResetPasswordRequest & WithPassword(const char *value)
ResetPasswordRequest & WithUserId(Aws::String &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
ResetPasswordRequest & WithUserId(const Aws::String &value)
ResetPasswordRequest & WithOrganizationId(Aws::String &&value)
ResetPasswordRequest & WithPassword(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String