/** * 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 ConnectCases { namespace Model { /** */ class BatchPutFieldOptionsRequest : public ConnectCasesRequest { public: AWS_CONNECTCASES_API BatchPutFieldOptionsRequest(); // 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 "BatchPutFieldOptions"; } 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 BatchPutFieldOptionsRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

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

The unique identifier of the Cases domain.

*/ inline BatchPutFieldOptionsRequest& 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 BatchPutFieldOptionsRequest& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The unique identifier of a field.

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

The unique identifier of a field.

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

A list of FieldOption objects.

*/ inline const Aws::Vector& GetOptions() const{ return m_options; } /** *

A list of FieldOption objects.

*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *

A list of FieldOption objects.

*/ inline void SetOptions(const Aws::Vector& value) { m_optionsHasBeenSet = true; m_options = value; } /** *

A list of FieldOption objects.

*/ inline void SetOptions(Aws::Vector&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *

A list of FieldOption objects.

*/ inline BatchPutFieldOptionsRequest& WithOptions(const Aws::Vector& value) { SetOptions(value); return *this;} /** *

A list of FieldOption objects.

*/ inline BatchPutFieldOptionsRequest& WithOptions(Aws::Vector&& value) { SetOptions(std::move(value)); return *this;} /** *

A list of FieldOption objects.

*/ inline BatchPutFieldOptionsRequest& AddOptions(const FieldOption& value) { m_optionsHasBeenSet = true; m_options.push_back(value); return *this; } /** *

A list of FieldOption objects.

*/ inline BatchPutFieldOptionsRequest& AddOptions(FieldOption&& value) { m_optionsHasBeenSet = true; m_options.push_back(std::move(value)); return *this; } private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; Aws::Vector m_options; bool m_optionsHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws