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

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline GetEventStreamResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline GetEventStreamResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline GetEventStreamResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

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 GetEventStreamResult& WithEventStreamArn(const Aws::String& value) { SetEventStreamArn(value); return *this;} /** *

A unique identifier for the event stream.

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

A unique identifier for the event stream.

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

The timestamp of when the export was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the export was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp of when the export was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The timestamp of when the export was created.

*/ inline GetEventStreamResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the export was created.

*/ inline GetEventStreamResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The operational state of destination stream for export.

*/ inline const EventStreamState& GetState() const{ return m_state; } /** *

The operational state of destination stream for export.

*/ inline void SetState(const EventStreamState& value) { m_state = value; } /** *

The operational state of destination stream for export.

*/ inline void SetState(EventStreamState&& value) { m_state = std::move(value); } /** *

The operational state of destination stream for export.

*/ inline GetEventStreamResult& WithState(const EventStreamState& value) { SetState(value); return *this;} /** *

The operational state of destination stream for export.

*/ inline GetEventStreamResult& WithState(EventStreamState&& value) { SetState(std::move(value)); return *this;} /** *

The timestamp when the State changed to * STOPPED.

*/ inline const Aws::Utils::DateTime& GetStoppedSince() const{ return m_stoppedSince; } /** *

The timestamp when the State changed to * STOPPED.

*/ inline void SetStoppedSince(const Aws::Utils::DateTime& value) { m_stoppedSince = value; } /** *

The timestamp when the State changed to * STOPPED.

*/ inline void SetStoppedSince(Aws::Utils::DateTime&& value) { m_stoppedSince = std::move(value); } /** *

The timestamp when the State changed to * STOPPED.

*/ inline GetEventStreamResult& WithStoppedSince(const Aws::Utils::DateTime& value) { SetStoppedSince(value); return *this;} /** *

The timestamp when the State changed to * STOPPED.

*/ inline GetEventStreamResult& WithStoppedSince(Aws::Utils::DateTime&& value) { SetStoppedSince(std::move(value)); return *this;} /** *

Details regarding the Kinesis stream.

*/ inline const EventStreamDestinationDetails& GetDestinationDetails() const{ return m_destinationDetails; } /** *

Details regarding the Kinesis stream.

*/ inline void SetDestinationDetails(const EventStreamDestinationDetails& value) { m_destinationDetails = value; } /** *

Details regarding the Kinesis stream.

*/ inline void SetDestinationDetails(EventStreamDestinationDetails&& value) { m_destinationDetails = std::move(value); } /** *

Details regarding the Kinesis stream.

*/ inline GetEventStreamResult& WithDestinationDetails(const EventStreamDestinationDetails& value) { SetDestinationDetails(value); return *this;} /** *

Details regarding the Kinesis stream.

*/ inline GetEventStreamResult& WithDestinationDetails(EventStreamDestinationDetails&& value) { SetDestinationDetails(std::move(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 GetEventStreamResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

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

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

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

*/ inline GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& 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 GetEventStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEventStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEventStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainName; Aws::String m_eventStreamArn; Aws::Utils::DateTime m_createdAt; EventStreamState m_state; Aws::Utils::DateTime m_stoppedSince; EventStreamDestinationDetails m_destinationDetails; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws