AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterMailDomainRequest.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#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace WorkMail
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKMAIL_API RegisterMailDomainRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RegisterMailDomain"; }
32
33 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline RegisterMailDomainRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline RegisterMailDomainRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline RegisterMailDomainRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
57 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
58 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
59 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 inline RegisterMailDomainRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
62 inline RegisterMailDomainRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
63 inline RegisterMailDomainRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
65
67
70 inline const Aws::String& GetDomainName() const{ return m_domainName; }
71 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
72 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
73 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
74 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
75 inline RegisterMailDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
76 inline RegisterMailDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
77 inline RegisterMailDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
79 private:
80
81 Aws::String m_clientToken;
82 bool m_clientTokenHasBeenSet = false;
83
84 Aws::String m_organizationId;
85 bool m_organizationIdHasBeenSet = false;
86
87 Aws::String m_domainName;
88 bool m_domainNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace WorkMail
93} // namespace Aws
RegisterMailDomainRequest & WithDomainName(const Aws::String &value)
RegisterMailDomainRequest & WithClientToken(Aws::String &&value)
RegisterMailDomainRequest & WithOrganizationId(const char *value)
RegisterMailDomainRequest & WithOrganizationId(Aws::String &&value)
RegisterMailDomainRequest & WithDomainName(const char *value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_WORKMAIL_API Aws::String SerializePayload() const override
RegisterMailDomainRequest & WithOrganizationId(const Aws::String &value)
RegisterMailDomainRequest & WithDomainName(Aws::String &&value)
RegisterMailDomainRequest & WithClientToken(const Aws::String &value)
RegisterMailDomainRequest & WithClientToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String