/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class CreateEventStreamResult { public: AWS_CUSTOMERPROFILES_API CreateEventStreamResult(); AWS_CUSTOMERPROFILES_API CreateEventStreamResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API CreateEventStreamResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A unique identifier for the event stream.

*/ inline const Aws::String& GetEventStreamArn() const{ return m_eventStreamArn; } /** *

A unique identifier for the event stream.

*/ inline void SetEventStreamArn(const Aws::String& value) { m_eventStreamArn = value; } /** *

A unique identifier for the event stream.

*/ inline void SetEventStreamArn(Aws::String&& value) { m_eventStreamArn = std::move(value); } /** *

A unique identifier for the event stream.

*/ inline void SetEventStreamArn(const char* value) { m_eventStreamArn.assign(value); } /** *

A unique identifier for the event stream.

*/ inline CreateEventStreamResult& WithEventStreamArn(const Aws::String& value) { SetEventStreamArn(value); return *this;} /** *

A unique identifier for the event stream.

*/ inline CreateEventStreamResult& WithEventStreamArn(Aws::String&& value) { SetEventStreamArn(std::move(value)); return *this;} /** *

A unique identifier for the event stream.

*/ inline CreateEventStreamResult& WithEventStreamArn(const char* value) { SetEventStreamArn(value); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline CreateEventStreamResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateEventStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEventStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEventStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_eventStreamArn; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws