AWS SDK for C++  1.8.154
AWS SDK for C++
DeregisterEventTopicRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeregisterEventTopic"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
46 
51  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
52 
57  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
58 
63  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
64 
69  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
70 
75  inline DeregisterEventTopicRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
76 
81  inline DeregisterEventTopicRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
82 
87  inline DeregisterEventTopicRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
88 
89 
94  inline const Aws::String& GetTopicName() const{ return m_topicName; }
95 
100  inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
101 
106  inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
107 
112  inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
113 
118  inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
119 
124  inline DeregisterEventTopicRequest& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
125 
130  inline DeregisterEventTopicRequest& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
131 
136  inline DeregisterEventTopicRequest& WithTopicName(const char* value) { SetTopicName(value); return *this;}
137 
138  private:
139 
140  Aws::String m_directoryId;
141  bool m_directoryIdHasBeenSet;
142 
143  Aws::String m_topicName;
144  bool m_topicNameHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace DirectoryService
149 } // namespace Aws
Aws::DirectoryService::Model::DeregisterEventTopicRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DeregisterEventTopicRequest.h:51
Aws::DirectoryService::Model::DeregisterEventTopicRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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::DeregisterEventTopicRequest::SetTopicName
void SetTopicName(const char *value)
Definition: DeregisterEventTopicRequest.h:118
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithDirectoryId
DeregisterEventTopicRequest & WithDirectoryId(const Aws::String &value)
Definition: DeregisterEventTopicRequest.h:75
Aws::DirectoryService::Model::DeregisterEventTopicRequest::GetTopicName
const Aws::String & GetTopicName() const
Definition: DeregisterEventTopicRequest.h:94
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithTopicName
DeregisterEventTopicRequest & WithTopicName(const char *value)
Definition: DeregisterEventTopicRequest.h:136
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithTopicName
DeregisterEventTopicRequest & WithTopicName(Aws::String &&value)
Definition: DeregisterEventTopicRequest.h:130
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithTopicName
DeregisterEventTopicRequest & WithTopicName(const Aws::String &value)
Definition: DeregisterEventTopicRequest.h:124
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DeregisterEventTopicRequest.h:69
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DeregisterEventTopicRequest.h:63
Aws::DirectoryService::Model::DeregisterEventTopicRequest
Definition: DeregisterEventTopicRequest.h:26
Aws::DirectoryService::Model::DeregisterEventTopicRequest::DeregisterEventTopicRequest
DeregisterEventTopicRequest()
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DeregisterEventTopicRequest.h:57
AWSString.h
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SetTopicName
void SetTopicName(const Aws::String &value)
Definition: DeregisterEventTopicRequest.h:106
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithDirectoryId
DeregisterEventTopicRequest & WithDirectoryId(const char *value)
Definition: DeregisterEventTopicRequest.h:87
Aws::DirectoryService::Model::DeregisterEventTopicRequest::TopicNameHasBeenSet
bool TopicNameHasBeenSet() const
Definition: DeregisterEventTopicRequest.h:100
Aws::DirectoryService::Model::DeregisterEventTopicRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterEventTopicRequest.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DeregisterEventTopicRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DeregisterEventTopicRequest.h:45
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DeregisterEventTopicRequest::WithDirectoryId
DeregisterEventTopicRequest & WithDirectoryId(Aws::String &&value)
Definition: DeregisterEventTopicRequest.h:81
Aws::DirectoryService::Model::DeregisterEventTopicRequest::SetTopicName
void SetTopicName(Aws::String &&value)
Definition: DeregisterEventTopicRequest.h:112
DirectoryServiceRequest.h