AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEventStreamResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CUSTOMERPROFILES_API CreateEventStreamResult();
34
35
37
40 inline const Aws::String& GetEventStreamArn() const{ return m_eventStreamArn; }
41 inline void SetEventStreamArn(const Aws::String& value) { m_eventStreamArn = value; }
42 inline void SetEventStreamArn(Aws::String&& value) { m_eventStreamArn = std::move(value); }
43 inline void SetEventStreamArn(const char* value) { m_eventStreamArn.assign(value); }
44 inline CreateEventStreamResult& WithEventStreamArn(const Aws::String& value) { SetEventStreamArn(value); return *this;}
45 inline CreateEventStreamResult& WithEventStreamArn(Aws::String&& value) { SetEventStreamArn(std::move(value)); return *this;}
46 inline CreateEventStreamResult& WithEventStreamArn(const char* value) { SetEventStreamArn(value); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
54 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
55 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
56 inline CreateEventStreamResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
57 inline CreateEventStreamResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
58 inline CreateEventStreamResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
59 inline CreateEventStreamResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
60 inline CreateEventStreamResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
61 inline CreateEventStreamResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
62 inline CreateEventStreamResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
63 inline CreateEventStreamResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
64 inline CreateEventStreamResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline CreateEventStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline CreateEventStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline CreateEventStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_eventStreamArn;
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CustomerProfiles
88} // namespace Aws
AWS_CUSTOMERPROFILES_API CreateEventStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventStreamResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventStreamResult & WithEventStreamArn(Aws::String &&value)
AWS_CUSTOMERPROFILES_API CreateEventStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEventStreamResult & WithEventStreamArn(const char *value)
CreateEventStreamResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEventStreamResult & AddTags(const char *key, Aws::String &&value)
CreateEventStreamResult & WithRequestId(Aws::String &&value)
CreateEventStreamResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateEventStreamResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateEventStreamResult & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateEventStreamResult & WithEventStreamArn(const Aws::String &value)
CreateEventStreamResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateEventStreamResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateEventStreamResult & WithRequestId(const char *value)
CreateEventStreamResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateEventStreamResult & AddTags(const char *key, const char *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
Aws::Utils::Json::JsonValue JsonValue