/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the basic information about a form.See Also:
AWS
* API Reference
The unique ID for the app associated with the form summary.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The unique ID for the app associated with the form summary.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The unique ID for the app associated with the form summary.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The unique ID for the app associated with the form summary.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The unique ID for the app associated with the form summary.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The unique ID for the app associated with the form summary.
*/ inline FormSummary& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The unique ID for the app associated with the form summary.
*/ inline FormSummary& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The unique ID for the app associated with the form summary.
*/ inline FormSummary& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The form's data source type.
*/ inline const FormDataTypeConfig& GetDataType() const{ return m_dataType; } /** *The form's data source type.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The form's data source type.
*/ inline void SetDataType(const FormDataTypeConfig& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The form's data source type.
*/ inline void SetDataType(FormDataTypeConfig&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The form's data source type.
*/ inline FormSummary& WithDataType(const FormDataTypeConfig& value) { SetDataType(value); return *this;} /** *The form's data source type.
*/ inline FormSummary& WithDataType(FormDataTypeConfig&& value) { SetDataType(std::move(value)); return *this;} /** *The name of the backend environment that is part of the Amplify app.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the backend environment that is part of the Amplify app.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the backend environment that is part of the Amplify app.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the backend environment that is part of the Amplify app.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the backend environment that is part of the Amplify app.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the backend environment that is part of the Amplify app.
*/ inline FormSummary& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the backend environment that is part of the Amplify app.
*/ inline FormSummary& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment that is part of the Amplify app.
*/ inline FormSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The type of operation to perform on the form.
*/ inline const FormActionType& GetFormActionType() const{ return m_formActionType; } /** *The type of operation to perform on the form.
*/ inline bool FormActionTypeHasBeenSet() const { return m_formActionTypeHasBeenSet; } /** *The type of operation to perform on the form.
*/ inline void SetFormActionType(const FormActionType& value) { m_formActionTypeHasBeenSet = true; m_formActionType = value; } /** *The type of operation to perform on the form.
*/ inline void SetFormActionType(FormActionType&& value) { m_formActionTypeHasBeenSet = true; m_formActionType = std::move(value); } /** *The type of operation to perform on the form.
*/ inline FormSummary& WithFormActionType(const FormActionType& value) { SetFormActionType(value); return *this;} /** *The type of operation to perform on the form.
*/ inline FormSummary& WithFormActionType(FormActionType&& value) { SetFormActionType(std::move(value)); return *this;} /** *The ID of the form.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the form.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the form.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the form.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the form.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the form.
*/ inline FormSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the form.
*/ inline FormSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the form.
*/ inline FormSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of the form.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the form.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the form.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the form.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the form.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the form.
*/ inline FormSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the form.
*/ inline FormSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the form.
*/ inline FormSummary& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; FormDataTypeConfig m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; FormActionType m_formActionType; bool m_formActionTypeHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace AmplifyUIBuilder } // namespace Aws