/** * 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 ConnectCases { namespace Model { /** */ class UpdateFieldRequest : public ConnectCasesRequest { public: AWS_CONNECTCASES_API UpdateFieldRequest(); // 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 "UpdateField"; } AWS_CONNECTCASES_API Aws::String SerializePayload() const override; /** *

The description of a field.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of a field.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of a field.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of a field.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of a field.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of a field.

*/ inline UpdateFieldRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of a field.

*/ inline UpdateFieldRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of a field.

*/ inline UpdateFieldRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

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 UpdateFieldRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

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

The unique identifier of the Cases domain.

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

The unique identifier of a field.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The unique identifier of a field.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The unique identifier of a field.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The unique identifier of a field.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The unique identifier of a field.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The unique identifier of a field.

*/ inline UpdateFieldRequest& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The unique identifier of a field.

*/ inline UpdateFieldRequest& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The unique identifier of a field.

*/ inline UpdateFieldRequest& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The name of the field.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the field.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the field.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the field.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the field.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the field.

*/ inline UpdateFieldRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the field.

*/ inline UpdateFieldRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the field.

*/ inline UpdateFieldRequest& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws