/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

An instance of EventStream in a list of EventStreams.

See * Also:

AWS * API Reference

*/ class EventStreamSummary { public: AWS_CUSTOMERPROFILES_API EventStreamSummary(); AWS_CUSTOMERPROFILES_API EventStreamSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API EventStreamSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique name of the domain.

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

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The name of the event stream.

*/ inline const Aws::String& GetEventStreamName() const{ return m_eventStreamName; } /** *

The name of the event stream.

*/ inline bool EventStreamNameHasBeenSet() const { return m_eventStreamNameHasBeenSet; } /** *

The name of the event stream.

*/ inline void SetEventStreamName(const Aws::String& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = value; } /** *

The name of the event stream.

*/ inline void SetEventStreamName(Aws::String&& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = std::move(value); } /** *

The name of the event stream.

*/ inline void SetEventStreamName(const char* value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName.assign(value); } /** *

The name of the event stream.

*/ inline EventStreamSummary& WithEventStreamName(const Aws::String& value) { SetEventStreamName(value); return *this;} /** *

The name of the event stream.

*/ inline EventStreamSummary& WithEventStreamName(Aws::String&& value) { SetEventStreamName(std::move(value)); return *this;} /** *

The name of the event stream.

*/ inline EventStreamSummary& WithEventStreamName(const char* value) { SetEventStreamName(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 bool EventStreamArnHasBeenSet() const { return m_eventStreamArnHasBeenSet; } /** *

A unique identifier for the event stream.

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

A unique identifier for the event stream.

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

A unique identifier for the event stream.

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

A unique identifier for the event stream.

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

A unique identifier for the event stream.

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

A unique identifier for the event stream.

*/ inline EventStreamSummary& WithEventStreamArn(const char* value) { SetEventStreamArn(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 bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The operational state of destination stream for export.

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

The operational state of destination stream for export.

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

The operational state of destination stream for export.

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

The operational state of destination stream for export.

*/ inline EventStreamSummary& 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 bool StoppedSinceHasBeenSet() const { return m_stoppedSinceHasBeenSet; } /** *

The timestamp when the State changed to * STOPPED.

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

The timestamp when the State changed to * STOPPED.

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

The timestamp when the State changed to * STOPPED.

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

The timestamp when the State changed to * STOPPED.

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

Summary information about the Kinesis data stream.

*/ inline const DestinationSummary& GetDestinationSummary() const{ return m_destinationSummary; } /** *

Summary information about the Kinesis data stream.

*/ inline bool DestinationSummaryHasBeenSet() const { return m_destinationSummaryHasBeenSet; } /** *

Summary information about the Kinesis data stream.

*/ inline void SetDestinationSummary(const DestinationSummary& value) { m_destinationSummaryHasBeenSet = true; m_destinationSummary = value; } /** *

Summary information about the Kinesis data stream.

*/ inline void SetDestinationSummary(DestinationSummary&& value) { m_destinationSummaryHasBeenSet = true; m_destinationSummary = std::move(value); } /** *

Summary information about the Kinesis data stream.

*/ inline EventStreamSummary& WithDestinationSummary(const DestinationSummary& value) { SetDestinationSummary(value); return *this;} /** *

Summary information about the Kinesis data stream.

*/ inline EventStreamSummary& WithDestinationSummary(DestinationSummary&& value) { SetDestinationSummary(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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline EventStreamSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_eventStreamName; bool m_eventStreamNameHasBeenSet = false; Aws::String m_eventStreamArn; bool m_eventStreamArnHasBeenSet = false; EventStreamState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_stoppedSince; bool m_stoppedSinceHasBeenSet = false; DestinationSummary m_destinationSummary; bool m_destinationSummaryHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws