AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteAliasRequest.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 "DeleteAlias"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
41 
45  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 
50  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
51 
55  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
56 
60  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 
65  inline DeleteAliasRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
66 
70  inline DeleteAliasRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
71 
75  inline DeleteAliasRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
76 
77 
82  inline const Aws::String& GetEntityId() const{ return m_entityId; }
83 
88  inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
89 
94  inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
95 
100  inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
101 
106  inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
107 
112  inline DeleteAliasRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
113 
118  inline DeleteAliasRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
119 
124  inline DeleteAliasRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
125 
126 
132  inline const Aws::String& GetAlias() const{ return m_alias; }
133 
139  inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
140 
146  inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
147 
153  inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
154 
160  inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
161 
167  inline DeleteAliasRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
168 
174  inline DeleteAliasRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
175 
181  inline DeleteAliasRequest& WithAlias(const char* value) { SetAlias(value); return *this;}
182 
183  private:
184 
185  Aws::String m_organizationId;
186  bool m_organizationIdHasBeenSet;
187 
188  Aws::String m_entityId;
189  bool m_entityIdHasBeenSet;
190 
191  Aws::String m_alias;
192  bool m_aliasHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace WorkMail
197 } // namespace Aws
Aws::WorkMail::Model::DeleteAliasRequest::WithOrganizationId
DeleteAliasRequest & WithOrganizationId(const char *value)
Definition: DeleteAliasRequest.h:75
Aws::WorkMail::Model::DeleteAliasRequest::WithAlias
DeleteAliasRequest & WithAlias(Aws::String &&value)
Definition: DeleteAliasRequest.h:174
Aws::WorkMail::Model::DeleteAliasRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: DeleteAliasRequest.h:40
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::DeleteAliasRequest::SetEntityId
void SetEntityId(const char *value)
Definition: DeleteAliasRequest.h:106
Aws::WorkMail::Model::DeleteAliasRequest::WithOrganizationId
DeleteAliasRequest & WithOrganizationId(const Aws::String &value)
Definition: DeleteAliasRequest.h:65
Aws::WorkMail::Model::DeleteAliasRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: DeleteAliasRequest.h:55
Aws::WorkMail::Model::DeleteAliasRequest::SetAlias
void SetAlias(const char *value)
Definition: DeleteAliasRequest.h:160
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::DeleteAliasRequest::WithAlias
DeleteAliasRequest & WithAlias(const Aws::String &value)
Definition: DeleteAliasRequest.h:167
Aws::WorkMail::Model::DeleteAliasRequest::AliasHasBeenSet
bool AliasHasBeenSet() const
Definition: DeleteAliasRequest.h:139
WorkMail_EXPORTS.h
WorkMailRequest.h
Aws::WorkMail::Model::DeleteAliasRequest::WithEntityId
DeleteAliasRequest & WithEntityId(const Aws::String &value)
Definition: DeleteAliasRequest.h:112
Aws::WorkMail::Model::DeleteAliasRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: DeleteAliasRequest.h:50
Aws::WorkMail::Model::DeleteAliasRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: DeleteAliasRequest.h:60
Aws::WorkMail::Model::DeleteAliasRequest::WithOrganizationId
DeleteAliasRequest & WithOrganizationId(Aws::String &&value)
Definition: DeleteAliasRequest.h:70
AWSString.h
Aws::WorkMail::Model::DeleteAliasRequest::SetEntityId
void SetEntityId(Aws::String &&value)
Definition: DeleteAliasRequest.h:100
Aws::WorkMail::Model::DeleteAliasRequest::WithAlias
DeleteAliasRequest & WithAlias(const char *value)
Definition: DeleteAliasRequest.h:181
Aws::WorkMail::Model::DeleteAliasRequest::SetAlias
void SetAlias(Aws::String &&value)
Definition: DeleteAliasRequest.h:153
Aws::WorkMail::Model::DeleteAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::DeleteAliasRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::DeleteAliasRequest::EntityIdHasBeenSet
bool EntityIdHasBeenSet() const
Definition: DeleteAliasRequest.h:88
Aws::WorkMail::Model::DeleteAliasRequest
Definition: DeleteAliasRequest.h:22
Aws::WorkMail::Model::DeleteAliasRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: DeleteAliasRequest.h:45
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::DeleteAliasRequest::DeleteAliasRequest
DeleteAliasRequest()
Aws::WorkMail::Model::DeleteAliasRequest::WithEntityId
DeleteAliasRequest & WithEntityId(const char *value)
Definition: DeleteAliasRequest.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::DeleteAliasRequest::WithEntityId
DeleteAliasRequest & WithEntityId(Aws::String &&value)
Definition: DeleteAliasRequest.h:118
Aws::WorkMail::Model::DeleteAliasRequest::SetEntityId
void SetEntityId(const Aws::String &value)
Definition: DeleteAliasRequest.h:94
Aws::WorkMail::Model::DeleteAliasRequest::GetAlias
const Aws::String & GetAlias() const
Definition: DeleteAliasRequest.h:132
Aws::WorkMail::Model::DeleteAliasRequest::SetAlias
void SetAlias(const Aws::String &value)
Definition: DeleteAliasRequest.h:146
Aws::WorkMail::Model::DeleteAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAliasRequest.h:30
Aws::WorkMail::Model::DeleteAliasRequest::GetEntityId
const Aws::String & GetEntityId() const
Definition: DeleteAliasRequest.h:82