AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DeregisterEventTopicRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DirectoryService {
15namespace Model {
16
24 public:
25 AWS_DIRECTORYSERVICE_API DeregisterEventTopicRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeregisterEventTopic"; }
32
33 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
42 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
43 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
44 template <typename DirectoryIdT = Aws::String>
45 void SetDirectoryId(DirectoryIdT&& value) {
46 m_directoryIdHasBeenSet = true;
47 m_directoryId = std::forward<DirectoryIdT>(value);
48 }
49 template <typename DirectoryIdT = Aws::String>
51 SetDirectoryId(std::forward<DirectoryIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetTopicName() const { return m_topicName; }
62 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
63 template <typename TopicNameT = Aws::String>
64 void SetTopicName(TopicNameT&& value) {
65 m_topicNameHasBeenSet = true;
66 m_topicName = std::forward<TopicNameT>(value);
67 }
68 template <typename TopicNameT = Aws::String>
70 SetTopicName(std::forward<TopicNameT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_directoryId;
76
77 Aws::String m_topicName;
78 bool m_directoryIdHasBeenSet = false;
79 bool m_topicNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace DirectoryService
84} // 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