AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMailboxDetailsRequest.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 GetMailboxDetailsRequest();
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 "GetMailboxDetails"; }
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 GetMailboxDetailsRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
48 inline GetMailboxDetailsRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
49 inline GetMailboxDetailsRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
51
53
61 inline const Aws::String& GetUserId() const{ return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
64 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
65 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
66 inline GetMailboxDetailsRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline GetMailboxDetailsRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline GetMailboxDetailsRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
70 private:
71
72 Aws::String m_organizationId;
73 bool m_organizationIdHasBeenSet = false;
74
75 Aws::String m_userId;
76 bool m_userIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace WorkMail
81} // namespace Aws
GetMailboxDetailsRequest & WithOrganizationId(const char *value)
GetMailboxDetailsRequest & WithUserId(const char *value)
GetMailboxDetailsRequest & WithUserId(Aws::String &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
GetMailboxDetailsRequest & WithUserId(const Aws::String &value)
GetMailboxDetailsRequest & WithOrganizationId(const Aws::String &value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetMailboxDetailsRequest & WithOrganizationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String