AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RegisterEventTopicRequest.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
23 public:
24 AWS_DIRECTORYSERVICE_API RegisterEventTopicRequest() = default;
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 "RegisterEventTopic"; }
31
32 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
41 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
42 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
43 template <typename DirectoryIdT = Aws::String>
44 void SetDirectoryId(DirectoryIdT&& value) {
45 m_directoryIdHasBeenSet = true;
46 m_directoryId = std::forward<DirectoryIdT>(value);
47 }
48 template <typename DirectoryIdT = Aws::String>
50 SetDirectoryId(std::forward<DirectoryIdT>(value));
51 return *this;
52 }
54
56
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 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
RegisterEventTopicRequest & WithTopicName(TopicNameT &&value)
RegisterEventTopicRequest & WithDirectoryId(DirectoryIdT &&value)
AWS_DIRECTORYSERVICE_API RegisterEventTopicRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String