AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteLogSubscriptionRequest.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 
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 "DeleteLogSubscription"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
41 
45  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
46 
50  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
51 
55  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
56 
60  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
61 
65  inline DeleteLogSubscriptionRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
66 
70  inline DeleteLogSubscriptionRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
71 
75  inline DeleteLogSubscriptionRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_directoryId;
80  bool m_directoryIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace DirectoryService
85 } // namespace Aws
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DeleteLogSubscriptionRequest.h:50
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DeleteLogSubscriptionRequest.h:55
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteLogSubscriptionRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::WithDirectoryId
DeleteLogSubscriptionRequest & WithDirectoryId(const char *value)
Definition: DeleteLogSubscriptionRequest.h:75
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DeleteLogSubscriptionRequest.h:60
DirectoryService_EXPORTS.h
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DeleteLogSubscriptionRequest.h:45
AWSString.h
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DeleteLogSubscriptionRequest.h:40
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::DeleteLogSubscriptionRequest
DeleteLogSubscriptionRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::WithDirectoryId
DeleteLogSubscriptionRequest & WithDirectoryId(const Aws::String &value)
Definition: DeleteLogSubscriptionRequest.h:65
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest::WithDirectoryId
DeleteLogSubscriptionRequest & WithDirectoryId(Aws::String &&value)
Definition: DeleteLogSubscriptionRequest.h:70
Aws::DirectoryService::Model::DeleteLogSubscriptionRequest
Definition: DeleteLogSubscriptionRequest.h:22
DirectoryServiceRequest.h