AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
43 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
44 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
45 inline CreateEventStreamRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
46 inline CreateEventStreamRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
47 inline CreateEventStreamRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
49
51
55 inline const Aws::String& GetUri() const{ return m_uri; }
56 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
57 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
58 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
59 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
60 inline CreateEventStreamRequest& WithUri(const Aws::String& value) { SetUri(value); return *this;}
61 inline CreateEventStreamRequest& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
62 inline CreateEventStreamRequest& WithUri(const char* value) { SetUri(value); return *this;}
64
66
69 inline const Aws::String& GetEventStreamName() const{ return m_eventStreamName; }
70 inline bool EventStreamNameHasBeenSet() const { return m_eventStreamNameHasBeenSet; }
71 inline void SetEventStreamName(const Aws::String& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = value; }
72 inline void SetEventStreamName(Aws::String&& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = std::move(value); }
73 inline void SetEventStreamName(const char* value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName.assign(value); }
74 inline CreateEventStreamRequest& WithEventStreamName(const Aws::String& value) { SetEventStreamName(value); return *this;}
75 inline CreateEventStreamRequest& WithEventStreamName(Aws::String&& value) { SetEventStreamName(std::move(value)); return *this;}
76 inline CreateEventStreamRequest& WithEventStreamName(const char* value) { SetEventStreamName(value); return *this;}
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
86 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline CreateEventStreamRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
88 inline CreateEventStreamRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
89 inline CreateEventStreamRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 inline CreateEventStreamRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline CreateEventStreamRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline CreateEventStreamRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
93 inline CreateEventStreamRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline CreateEventStreamRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline CreateEventStreamRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
97 private:
98
99 Aws::String m_domainName;
100 bool m_domainNameHasBeenSet = false;
101
102 Aws::String m_uri;
103 bool m_uriHasBeenSet = false;
104
105 Aws::String m_eventStreamName;
106 bool m_eventStreamNameHasBeenSet = false;
107
109 bool m_tagsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CustomerProfiles
114} // namespace Aws
CreateEventStreamRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateEventStreamRequest & WithEventStreamName(const char *value)
CreateEventStreamRequest & AddTags(const char *key, const char *value)
CreateEventStreamRequest & WithUri(const char *value)
CreateEventStreamRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventStreamRequest & WithUri(const Aws::String &value)
CreateEventStreamRequest & WithEventStreamName(Aws::String &&value)
CreateEventStreamRequest & WithDomainName(Aws::String &&value)
CreateEventStreamRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEventStreamRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateEventStreamRequest & WithEventStreamName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEventStreamRequest & AddTags(const char *key, Aws::String &&value)
CreateEventStreamRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEventStreamRequest & WithDomainName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventStreamRequest & WithUri(Aws::String &&value)
CreateEventStreamRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateEventStreamRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
CreateEventStreamRequest & WithDomainName(const Aws::String &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