/** * 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 ChimeSDKMediaPipelines { namespace Model { /** *

A structure that contains the configuration settings for a media insights * pipeline.

See Also:

AWS * API Reference

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

The name of the configuration.

*/ inline const Aws::String& GetMediaInsightsPipelineConfigurationName() const{ return m_mediaInsightsPipelineConfigurationName; } /** *

The name of the configuration.

*/ inline bool MediaInsightsPipelineConfigurationNameHasBeenSet() const { return m_mediaInsightsPipelineConfigurationNameHasBeenSet; } /** *

The name of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(const Aws::String& value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName = value; } /** *

The name of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(Aws::String&& value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName = std::move(value); } /** *

The name of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationName(const char* value) { m_mediaInsightsPipelineConfigurationNameHasBeenSet = true; m_mediaInsightsPipelineConfigurationName.assign(value); } /** *

The name of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationName(const Aws::String& value) { SetMediaInsightsPipelineConfigurationName(value); return *this;} /** *

The name of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationName(Aws::String&& value) { SetMediaInsightsPipelineConfigurationName(std::move(value)); return *this;} /** *

The name of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationName(const char* value) { SetMediaInsightsPipelineConfigurationName(value); return *this;} /** *

The ARN of the configuration.

*/ inline const Aws::String& GetMediaInsightsPipelineConfigurationArn() const{ return m_mediaInsightsPipelineConfigurationArn; } /** *

The ARN of the configuration.

*/ inline bool MediaInsightsPipelineConfigurationArnHasBeenSet() const { return m_mediaInsightsPipelineConfigurationArnHasBeenSet; } /** *

The ARN of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(const Aws::String& value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn = value; } /** *

The ARN of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(Aws::String&& value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn = std::move(value); } /** *

The ARN of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationArn(const char* value) { m_mediaInsightsPipelineConfigurationArnHasBeenSet = true; m_mediaInsightsPipelineConfigurationArn.assign(value); } /** *

The ARN of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationArn(const Aws::String& value) { SetMediaInsightsPipelineConfigurationArn(value); return *this;} /** *

The ARN of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationArn(Aws::String&& value) { SetMediaInsightsPipelineConfigurationArn(std::move(value)); return *this;} /** *

The ARN of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationArn(const char* value) { SetMediaInsightsPipelineConfigurationArn(value); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline const Aws::String& GetResourceAccessRoleArn() const{ return m_resourceAccessRoleArn; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline bool ResourceAccessRoleArnHasBeenSet() const { return m_resourceAccessRoleArnHasBeenSet; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline void SetResourceAccessRoleArn(const Aws::String& value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn = value; } /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline void SetResourceAccessRoleArn(Aws::String&& value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn = std::move(value); } /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline void SetResourceAccessRoleArn(const char* value) { m_resourceAccessRoleArnHasBeenSet = true; m_resourceAccessRoleArn.assign(value); } /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline MediaInsightsPipelineConfiguration& WithResourceAccessRoleArn(const Aws::String& value) { SetResourceAccessRoleArn(value); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline MediaInsightsPipelineConfiguration& WithResourceAccessRoleArn(Aws::String&& value) { SetResourceAccessRoleArn(std::move(value)); return *this;} /** *

The ARN of the role used by the service to access Amazon Web Services * resources.

*/ inline MediaInsightsPipelineConfiguration& WithResourceAccessRoleArn(const char* value) { SetResourceAccessRoleArn(value); return *this;} /** *

Lists the rules that trigger a real-time alert.

*/ inline const RealTimeAlertConfiguration& GetRealTimeAlertConfiguration() const{ return m_realTimeAlertConfiguration; } /** *

Lists the rules that trigger a real-time alert.

*/ inline bool RealTimeAlertConfigurationHasBeenSet() const { return m_realTimeAlertConfigurationHasBeenSet; } /** *

Lists the rules that trigger a real-time alert.

*/ inline void SetRealTimeAlertConfiguration(const RealTimeAlertConfiguration& value) { m_realTimeAlertConfigurationHasBeenSet = true; m_realTimeAlertConfiguration = value; } /** *

Lists the rules that trigger a real-time alert.

*/ inline void SetRealTimeAlertConfiguration(RealTimeAlertConfiguration&& value) { m_realTimeAlertConfigurationHasBeenSet = true; m_realTimeAlertConfiguration = std::move(value); } /** *

Lists the rules that trigger a real-time alert.

*/ inline MediaInsightsPipelineConfiguration& WithRealTimeAlertConfiguration(const RealTimeAlertConfiguration& value) { SetRealTimeAlertConfiguration(value); return *this;} /** *

Lists the rules that trigger a real-time alert.

*/ inline MediaInsightsPipelineConfiguration& WithRealTimeAlertConfiguration(RealTimeAlertConfiguration&& value) { SetRealTimeAlertConfiguration(std::move(value)); return *this;} /** *

The elements in the configuration.

*/ inline const Aws::Vector& GetElements() const{ return m_elements; } /** *

The elements in the configuration.

*/ inline bool ElementsHasBeenSet() const { return m_elementsHasBeenSet; } /** *

The elements in the configuration.

*/ inline void SetElements(const Aws::Vector& value) { m_elementsHasBeenSet = true; m_elements = value; } /** *

The elements in the configuration.

*/ inline void SetElements(Aws::Vector&& value) { m_elementsHasBeenSet = true; m_elements = std::move(value); } /** *

The elements in the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithElements(const Aws::Vector& value) { SetElements(value); return *this;} /** *

The elements in the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithElements(Aws::Vector&& value) { SetElements(std::move(value)); return *this;} /** *

The elements in the configuration.

*/ inline MediaInsightsPipelineConfiguration& AddElements(const MediaInsightsPipelineConfigurationElement& value) { m_elementsHasBeenSet = true; m_elements.push_back(value); return *this; } /** *

The elements in the configuration.

*/ inline MediaInsightsPipelineConfiguration& AddElements(MediaInsightsPipelineConfigurationElement&& value) { m_elementsHasBeenSet = true; m_elements.push_back(std::move(value)); return *this; } /** *

The ID of the configuration.

*/ inline const Aws::String& GetMediaInsightsPipelineConfigurationId() const{ return m_mediaInsightsPipelineConfigurationId; } /** *

The ID of the configuration.

*/ inline bool MediaInsightsPipelineConfigurationIdHasBeenSet() const { return m_mediaInsightsPipelineConfigurationIdHasBeenSet; } /** *

The ID of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationId(const Aws::String& value) { m_mediaInsightsPipelineConfigurationIdHasBeenSet = true; m_mediaInsightsPipelineConfigurationId = value; } /** *

The ID of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationId(Aws::String&& value) { m_mediaInsightsPipelineConfigurationIdHasBeenSet = true; m_mediaInsightsPipelineConfigurationId = std::move(value); } /** *

The ID of the configuration.

*/ inline void SetMediaInsightsPipelineConfigurationId(const char* value) { m_mediaInsightsPipelineConfigurationIdHasBeenSet = true; m_mediaInsightsPipelineConfigurationId.assign(value); } /** *

The ID of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationId(const Aws::String& value) { SetMediaInsightsPipelineConfigurationId(value); return *this;} /** *

The ID of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationId(Aws::String&& value) { SetMediaInsightsPipelineConfigurationId(std::move(value)); return *this;} /** *

The ID of the configuration.

*/ inline MediaInsightsPipelineConfiguration& WithMediaInsightsPipelineConfigurationId(const char* value) { SetMediaInsightsPipelineConfigurationId(value); return *this;} /** *

The time at which the configuration was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The time at which the configuration was created.

*/ inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; } /** *

The time at which the configuration was created.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; } /** *

The time at which the configuration was created.

*/ inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); } /** *

The time at which the configuration was created.

*/ inline MediaInsightsPipelineConfiguration& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The time at which the configuration was created.

*/ inline MediaInsightsPipelineConfiguration& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The time at which the configuration was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; } /** *

The time at which the configuration was last updated.

*/ inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; } /** *

The time at which the configuration was last updated.

*/ inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; } /** *

The time at which the configuration was last updated.

*/ inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); } /** *

The time at which the configuration was last updated.

*/ inline MediaInsightsPipelineConfiguration& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;} /** *

The time at which the configuration was last updated.

*/ inline MediaInsightsPipelineConfiguration& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_mediaInsightsPipelineConfigurationName; bool m_mediaInsightsPipelineConfigurationNameHasBeenSet = false; Aws::String m_mediaInsightsPipelineConfigurationArn; bool m_mediaInsightsPipelineConfigurationArnHasBeenSet = false; Aws::String m_resourceAccessRoleArn; bool m_resourceAccessRoleArnHasBeenSet = false; RealTimeAlertConfiguration m_realTimeAlertConfiguration; bool m_realTimeAlertConfigurationHasBeenSet = false; Aws::Vector m_elements; bool m_elementsHasBeenSet = false; Aws::String m_mediaInsightsPipelineConfigurationId; bool m_mediaInsightsPipelineConfigurationIdHasBeenSet = false; Aws::Utils::DateTime m_createdTimestamp; bool m_createdTimestampHasBeenSet = false; Aws::Utils::DateTime m_updatedTimestamp; bool m_updatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKMediaPipelines } // namespace Aws