AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateEventStreamRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API CreateEventStreamRequest() = 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 "CreateEventStream"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template<typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
44 template<typename DomainNameT = Aws::String>
45 CreateEventStreamRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
47
49
53 inline const Aws::String& GetUri() const { return m_uri; }
54 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
55 template<typename UriT = Aws::String>
56 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
57 template<typename UriT = Aws::String>
58 CreateEventStreamRequest& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
60
62
65 inline const Aws::String& GetEventStreamName() const { return m_eventStreamName; }
66 inline bool EventStreamNameHasBeenSet() const { return m_eventStreamNameHasBeenSet; }
67 template<typename EventStreamNameT = Aws::String>
68 void SetEventStreamName(EventStreamNameT&& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = std::forward<EventStreamNameT>(value); }
69 template<typename EventStreamNameT = Aws::String>
70 CreateEventStreamRequest& WithEventStreamName(EventStreamNameT&& value) { SetEventStreamName(std::forward<EventStreamNameT>(value)); return *this;}
72
74
77 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
78 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
79 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
81 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
82 CreateEventStreamRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
83 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
84 CreateEventStreamRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
85 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
86 }
88 private:
89
90 Aws::String m_domainName;
91 bool m_domainNameHasBeenSet = false;
92
93 Aws::String m_uri;
94 bool m_uriHasBeenSet = false;
95
96 Aws::String m_eventStreamName;
97 bool m_eventStreamNameHasBeenSet = false;
98
100 bool m_tagsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CustomerProfiles
105} // namespace Aws
CreateEventStreamRequest & WithDomainName(DomainNameT &&value)
CreateEventStreamRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API CreateEventStreamRequest()=default
CreateEventStreamRequest & WithEventStreamName(EventStreamNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String