/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ConnectCases { namespace Model { /** */ class PutCaseEventConfigurationRequest : public ConnectCasesRequest { public: AWS_CONNECTCASES_API PutCaseEventConfigurationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutCaseEventConfiguration"; } AWS_CONNECTCASES_API Aws::String SerializePayload() const override; /** *

The unique identifier of the Cases domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The unique identifier of the Cases domain.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The unique identifier of the Cases domain.

*/ inline PutCaseEventConfigurationRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline PutCaseEventConfigurationRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline PutCaseEventConfigurationRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline const EventBridgeConfiguration& GetEventBridge() const{ return m_eventBridge; } /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline bool EventBridgeHasBeenSet() const { return m_eventBridgeHasBeenSet; } /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline void SetEventBridge(const EventBridgeConfiguration& value) { m_eventBridgeHasBeenSet = true; m_eventBridge = value; } /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline void SetEventBridge(EventBridgeConfiguration&& value) { m_eventBridgeHasBeenSet = true; m_eventBridge = std::move(value); } /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline PutCaseEventConfigurationRequest& WithEventBridge(const EventBridgeConfiguration& value) { SetEventBridge(value); return *this;} /** *

Configuration to enable EventBridge case event delivery and determine what * data is delivered.

*/ inline PutCaseEventConfigurationRequest& WithEventBridge(EventBridgeConfiguration&& value) { SetEventBridge(std::move(value)); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; EventBridgeConfiguration m_eventBridge; bool m_eventBridgeHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws