AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegisterEventTopicRequest.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
25 {
26 public:
27 AWS_DIRECTORYSERVICE_API RegisterEventTopicRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "RegisterEventTopic"; }
34
35 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
46 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
47 template<typename DirectoryIdT = Aws::String>
48 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
49 template<typename DirectoryIdT = Aws::String>
50 RegisterEventTopicRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
52
54
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 RegisterEventTopicRequest& 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 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