AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeregisterEventTopicRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DirectoryService
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_DIRECTORYSERVICE_API DeregisterEventTopicRequest() = default;
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_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
46 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
47 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 template<typename DirectoryIdT = Aws::String>
49 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
50 template<typename DirectoryIdT = Aws::String>
51 DeregisterEventTopicRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetTopicName() const { return m_topicName; }
60 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
61 template<typename TopicNameT = Aws::String>
62 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet = true; m_topicName = std::forward<TopicNameT>(value); }
63 template<typename TopicNameT = Aws::String>
64 DeregisterEventTopicRequest& WithTopicName(TopicNameT&& value) { SetTopicName(std::forward<TopicNameT>(value)); return *this;}
66 private:
67
68 Aws::String m_directoryId;
69 bool m_directoryIdHasBeenSet = false;
70
71 Aws::String m_topicName;
72 bool m_topicNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DirectoryService
77} // namespace Aws
AWS_DIRECTORYSERVICE_API DeregisterEventTopicRequest()=default
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeregisterEventTopicRequest & WithTopicName(TopicNameT &&value)
DeregisterEventTopicRequest & WithDirectoryId(DirectoryIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String