/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Connect { namespace Model { /** */ class UpdateContactFlowContentRequest : public ConnectRequest { public: AWS_CONNECT_API UpdateContactFlowContentRequest(); // 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 "UpdateContactFlowContent"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The identifier of the Amazon Connect instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The identifier of the Amazon Connect instance.

*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *

The identifier of the Amazon Connect instance.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *

The identifier of the Amazon Connect instance.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *

The identifier of the Amazon Connect instance.

*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *

The identifier of the Amazon Connect instance.

*/ inline UpdateContactFlowContentRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The identifier of the Amazon Connect instance.

*/ inline UpdateContactFlowContentRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The identifier of the Amazon Connect instance.

*/ inline UpdateContactFlowContentRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The identifier of the flow.

*/ inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; } /** *

The identifier of the flow.

*/ inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; } /** *

The identifier of the flow.

*/ inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; } /** *

The identifier of the flow.

*/ inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); } /** *

The identifier of the flow.

*/ inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); } /** *

The identifier of the flow.

*/ inline UpdateContactFlowContentRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;} /** *

The identifier of the flow.

*/ inline UpdateContactFlowContentRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;} /** *

The identifier of the flow.

*/ inline UpdateContactFlowContentRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;} /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline const Aws::String& GetContent() const{ return m_content; } /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline UpdateContactFlowContentRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline UpdateContactFlowContentRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *

The JSON string that represents flow's content. For an example, see Example * contact flow in Amazon Connect Flow language.

*/ inline UpdateContactFlowContentRequest& WithContent(const char* value) { SetContent(value); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_contactFlowId; bool m_contactFlowIdHasBeenSet = false; Aws::String m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws