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

The ID of the workbook that contains the screen automation.

*/ inline const Aws::String& GetWorkbookId() const{ return m_workbookId; } /** *

The ID of the workbook that contains the screen automation.

*/ inline bool WorkbookIdHasBeenSet() const { return m_workbookIdHasBeenSet; } /** *

The ID of the workbook that contains the screen automation.

*/ inline void SetWorkbookId(const Aws::String& value) { m_workbookIdHasBeenSet = true; m_workbookId = value; } /** *

The ID of the workbook that contains the screen automation.

*/ inline void SetWorkbookId(Aws::String&& value) { m_workbookIdHasBeenSet = true; m_workbookId = std::move(value); } /** *

The ID of the workbook that contains the screen automation.

*/ inline void SetWorkbookId(const char* value) { m_workbookIdHasBeenSet = true; m_workbookId.assign(value); } /** *

The ID of the workbook that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithWorkbookId(const Aws::String& value) { SetWorkbookId(value); return *this;} /** *

The ID of the workbook that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithWorkbookId(Aws::String&& value) { SetWorkbookId(std::move(value)); return *this;} /** *

The ID of the workbook that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithWorkbookId(const char* value) { SetWorkbookId(value); return *this;} /** *

The ID of the app that contains the screen automation.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The ID of the app that contains the screen automation.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The ID of the app that contains the screen automation.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The ID of the app that contains the screen automation.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The ID of the app that contains the screen automation.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The ID of the app that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The ID of the app that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The ID of the app that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

The ID of the screen that contains the screen automation.

*/ inline const Aws::String& GetScreenId() const{ return m_screenId; } /** *

The ID of the screen that contains the screen automation.

*/ inline bool ScreenIdHasBeenSet() const { return m_screenIdHasBeenSet; } /** *

The ID of the screen that contains the screen automation.

*/ inline void SetScreenId(const Aws::String& value) { m_screenIdHasBeenSet = true; m_screenId = value; } /** *

The ID of the screen that contains the screen automation.

*/ inline void SetScreenId(Aws::String&& value) { m_screenIdHasBeenSet = true; m_screenId = std::move(value); } /** *

The ID of the screen that contains the screen automation.

*/ inline void SetScreenId(const char* value) { m_screenIdHasBeenSet = true; m_screenId.assign(value); } /** *

The ID of the screen that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithScreenId(const Aws::String& value) { SetScreenId(value); return *this;} /** *

The ID of the screen that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithScreenId(Aws::String&& value) { SetScreenId(std::move(value)); return *this;} /** *

The ID of the screen that contains the screen automation.

*/ inline InvokeScreenAutomationRequest& WithScreenId(const char* value) { SetScreenId(value); return *this;} /** *

The ID of the automation action to be performed.

*/ inline const Aws::String& GetScreenAutomationId() const{ return m_screenAutomationId; } /** *

The ID of the automation action to be performed.

*/ inline bool ScreenAutomationIdHasBeenSet() const { return m_screenAutomationIdHasBeenSet; } /** *

The ID of the automation action to be performed.

*/ inline void SetScreenAutomationId(const Aws::String& value) { m_screenAutomationIdHasBeenSet = true; m_screenAutomationId = value; } /** *

The ID of the automation action to be performed.

*/ inline void SetScreenAutomationId(Aws::String&& value) { m_screenAutomationIdHasBeenSet = true; m_screenAutomationId = std::move(value); } /** *

The ID of the automation action to be performed.

*/ inline void SetScreenAutomationId(const char* value) { m_screenAutomationIdHasBeenSet = true; m_screenAutomationId.assign(value); } /** *

The ID of the automation action to be performed.

*/ inline InvokeScreenAutomationRequest& WithScreenAutomationId(const Aws::String& value) { SetScreenAutomationId(value); return *this;} /** *

The ID of the automation action to be performed.

*/ inline InvokeScreenAutomationRequest& WithScreenAutomationId(Aws::String&& value) { SetScreenAutomationId(std::move(value)); return *this;} /** *

The ID of the automation action to be performed.

*/ inline InvokeScreenAutomationRequest& WithScreenAutomationId(const char* value) { SetScreenAutomationId(value); return *this;} /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline const Aws::Map& GetVariables() const{ return m_variables; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline void SetVariables(const Aws::Map& value) { m_variablesHasBeenSet = true; m_variables = value; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline void SetVariables(Aws::Map&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& WithVariables(const Aws::Map& value) { SetVariables(value); return *this;} /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& WithVariables(Aws::Map&& value) { SetVariables(std::move(value)); return *this;} /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(const Aws::String& key, const VariableValue& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(Aws::String&& key, const VariableValue& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(const Aws::String& key, VariableValue&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(Aws::String&& key, VariableValue&& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), std::move(value)); return *this; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(const char* key, VariableValue&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; } /** *

Variables are specified as a map where the key is the name of the variable * as defined on the screen. The value is an object which currently has only one * property, rawValue, which holds the value of the variable to be passed to the * screen. Any variables defined in a screen are required to be passed in the call. *

*/ inline InvokeScreenAutomationRequest& AddVariables(const char* key, const VariableValue& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline const Aws::String& GetRowId() const{ return m_rowId; } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline bool RowIdHasBeenSet() const { return m_rowIdHasBeenSet; } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline void SetRowId(const Aws::String& value) { m_rowIdHasBeenSet = true; m_rowId = value; } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline void SetRowId(Aws::String&& value) { m_rowIdHasBeenSet = true; m_rowId = std::move(value); } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline void SetRowId(const char* value) { m_rowIdHasBeenSet = true; m_rowId.assign(value); } /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline InvokeScreenAutomationRequest& WithRowId(const Aws::String& value) { SetRowId(value); return *this;} /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline InvokeScreenAutomationRequest& WithRowId(Aws::String&& value) { SetRowId(std::move(value)); return *this;} /** *

The row ID for the automation if the automation is defined inside a block * with source or list.

*/ inline InvokeScreenAutomationRequest& WithRowId(const char* value) { SetRowId(value); return *this;} /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline InvokeScreenAutomationRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline InvokeScreenAutomationRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The request token for performing the automation action. Request tokens help * to identify duplicate requests. If a call times out or fails due to a transient * error like a failed network connection, you can retry the call with the same * request token. The service ensures that if the first call using that request * token is successfully performed, the second call will return the response of the * previous call rather than performing the action again.

Note that * request tokens are valid only for a few minutes. You cannot use request tokens * to dedupe requests spanning hours or days.

*/ inline InvokeScreenAutomationRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} private: Aws::String m_workbookId; bool m_workbookIdHasBeenSet = false; Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_screenId; bool m_screenIdHasBeenSet = false; Aws::String m_screenAutomationId; bool m_screenAutomationIdHasBeenSet = false; Aws::Map m_variables; bool m_variablesHasBeenSet = false; Aws::String m_rowId; bool m_rowIdHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws