AWS SDK for C++  1.9.159
AWS SDK for C++
DeregisterMailDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkMail
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 "DeregisterMailDomain"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
42 
47  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
48 
53  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
54 
59  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
60 
65  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
66 
71  inline DeregisterMailDomainRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
72 
77  inline DeregisterMailDomainRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
78 
83  inline DeregisterMailDomainRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
84 
85 
89  inline const Aws::String& GetDomainName() const{ return m_domainName; }
90 
94  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
95 
99  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
100 
104  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
105 
109  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
110 
114  inline DeregisterMailDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
115 
119  inline DeregisterMailDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
120 
124  inline DeregisterMailDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_organizationId;
129  bool m_organizationIdHasBeenSet;
130 
131  Aws::String m_domainName;
132  bool m_domainNameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace WorkMail
137 } // namespace Aws
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithDomainName
DeregisterMailDomainRequest & WithDomainName(Aws::String &&value)
Definition: DeregisterMailDomainRequest.h:119
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DeregisterMailDomainRequest.h:99
Aws::WorkMail::Model::DeregisterMailDomainRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DeregisterMailDomainRequest.h:94
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: DeregisterMailDomainRequest.h:59
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithOrganizationId
DeregisterMailDomainRequest & WithOrganizationId(Aws::String &&value)
Definition: DeregisterMailDomainRequest.h:77
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: DeregisterMailDomainRequest.h:53
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DeregisterMailDomainRequest.h:104
Aws::WorkMail::Model::DeregisterMailDomainRequest
Definition: DeregisterMailDomainRequest.h:22
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: DeregisterMailDomainRequest.h:65
WorkMail_EXPORTS.h
Aws::WorkMail::Model::DeregisterMailDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterMailDomainRequest.h:30
WorkMailRequest.h
Aws::WorkMail::Model::DeregisterMailDomainRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DeregisterMailDomainRequest.h:89
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithDomainName
DeregisterMailDomainRequest & WithDomainName(const Aws::String &value)
Definition: DeregisterMailDomainRequest.h:114
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithOrganizationId
DeregisterMailDomainRequest & WithOrganizationId(const char *value)
Definition: DeregisterMailDomainRequest.h:83
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithDomainName
DeregisterMailDomainRequest & WithDomainName(const char *value)
Definition: DeregisterMailDomainRequest.h:124
AWSString.h
Aws::WorkMail::Model::DeregisterMailDomainRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::DeregisterMailDomainRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: DeregisterMailDomainRequest.h:41
Aws::WorkMail::Model::DeregisterMailDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::DeregisterMailDomainRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DeregisterMailDomainRequest.h:109
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::DeregisterMailDomainRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: DeregisterMailDomainRequest.h:47
Aws::WorkMail::Model::DeregisterMailDomainRequest::WithOrganizationId
DeregisterMailDomainRequest & WithOrganizationId(const Aws::String &value)
Definition: DeregisterMailDomainRequest.h:71
Aws::WorkMail::Model::DeregisterMailDomainRequest::DeregisterMailDomainRequest
DeregisterMailDomainRequest()