AWS SDK for C++  1.9.2
AWS SDK for C++
DeleteConditionalForwarderRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteConditionalForwarder"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
44 
48  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
49 
53  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
54 
58  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
59 
63  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
64 
68  inline DeleteConditionalForwarderRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
69 
73  inline DeleteConditionalForwarderRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
74 
78  inline DeleteConditionalForwarderRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
79 
80 
85  inline const Aws::String& GetRemoteDomainName() const{ return m_remoteDomainName; }
86 
91  inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; }
92 
97  inline void SetRemoteDomainName(const Aws::String& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = value; }
98 
103  inline void SetRemoteDomainName(Aws::String&& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = std::move(value); }
104 
109  inline void SetRemoteDomainName(const char* value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName.assign(value); }
110 
115  inline DeleteConditionalForwarderRequest& WithRemoteDomainName(const Aws::String& value) { SetRemoteDomainName(value); return *this;}
116 
121  inline DeleteConditionalForwarderRequest& WithRemoteDomainName(Aws::String&& value) { SetRemoteDomainName(std::move(value)); return *this;}
122 
127  inline DeleteConditionalForwarderRequest& WithRemoteDomainName(const char* value) { SetRemoteDomainName(value); return *this;}
128 
129  private:
130 
131  Aws::String m_directoryId;
132  bool m_directoryIdHasBeenSet;
133 
134  Aws::String m_remoteDomainName;
135  bool m_remoteDomainNameHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace DirectoryService
140 } // namespace Aws
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DeleteConditionalForwarderRequest.h:48
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DeleteConditionalForwarderRequest.h:43
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::DeleteConditionalForwarderRequest
DeleteConditionalForwarderRequest()
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithDirectoryId
DeleteConditionalForwarderRequest & WithDirectoryId(const Aws::String &value)
Definition: DeleteConditionalForwarderRequest.h:68
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithDirectoryId
DeleteConditionalForwarderRequest & WithDirectoryId(Aws::String &&value)
Definition: DeleteConditionalForwarderRequest.h:73
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SerializePayload
Aws::String SerializePayload() const override
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithDirectoryId
DeleteConditionalForwarderRequest & WithDirectoryId(const char *value)
Definition: DeleteConditionalForwarderRequest.h:78
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DeleteConditionalForwarderRequest.h:58
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteConditionalForwarderRequest.h:33
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithRemoteDomainName
DeleteConditionalForwarderRequest & WithRemoteDomainName(const char *value)
Definition: DeleteConditionalForwarderRequest.h:127
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(const Aws::String &value)
Definition: DeleteConditionalForwarderRequest.h:97
AWSString.h
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::GetRemoteDomainName
const Aws::String & GetRemoteDomainName() const
Definition: DeleteConditionalForwarderRequest.h:85
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DeleteConditionalForwarderRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::RemoteDomainNameHasBeenSet
bool RemoteDomainNameHasBeenSet() const
Definition: DeleteConditionalForwarderRequest.h:91
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest
Definition: DeleteConditionalForwarderRequest.h:25
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(Aws::String &&value)
Definition: DeleteConditionalForwarderRequest.h:103
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithRemoteDomainName
DeleteConditionalForwarderRequest & WithRemoteDomainName(Aws::String &&value)
Definition: DeleteConditionalForwarderRequest.h:121
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DeleteConditionalForwarderRequest.h:63
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::WithRemoteDomainName
DeleteConditionalForwarderRequest & WithRemoteDomainName(const Aws::String &value)
Definition: DeleteConditionalForwarderRequest.h:115
Aws::DirectoryService::Model::DeleteConditionalForwarderRequest::SetRemoteDomainName
void SetRemoteDomainName(const char *value)
Definition: DeleteConditionalForwarderRequest.h:109