/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Transfer { namespace Model { /** */ class UpdateProfileRequest : public TransferRequest { public: AWS_TRANSFER_API UpdateProfileRequest(); // 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 "UpdateProfile"; } AWS_TRANSFER_API Aws::String SerializePayload() const override; AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier of the profile object that you are updating.

*/ inline const Aws::String& GetProfileId() const{ return m_profileId; } /** *

The identifier of the profile object that you are updating.

*/ inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; } /** *

The identifier of the profile object that you are updating.

*/ inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; } /** *

The identifier of the profile object that you are updating.

*/ inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); } /** *

The identifier of the profile object that you are updating.

*/ inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); } /** *

The identifier of the profile object that you are updating.

*/ inline UpdateProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;} /** *

The identifier of the profile object that you are updating.

*/ inline UpdateProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;} /** *

The identifier of the profile object that you are updating.

*/ inline UpdateProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;} /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline const Aws::Vector& GetCertificateIds() const{ return m_certificateIds; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline bool CertificateIdsHasBeenSet() const { return m_certificateIdsHasBeenSet; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline void SetCertificateIds(const Aws::Vector& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = value; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline void SetCertificateIds(Aws::Vector&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds = std::move(value); } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline UpdateProfileRequest& WithCertificateIds(const Aws::Vector& value) { SetCertificateIds(value); return *this;} /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline UpdateProfileRequest& WithCertificateIds(Aws::Vector&& value) { SetCertificateIds(std::move(value)); return *this;} /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline UpdateProfileRequest& AddCertificateIds(const Aws::String& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline UpdateProfileRequest& AddCertificateIds(Aws::String&& value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(std::move(value)); return *this; } /** *

An array of identifiers for the imported certificates. You use this * identifier for working with profiles and partner profiles.

*/ inline UpdateProfileRequest& AddCertificateIds(const char* value) { m_certificateIdsHasBeenSet = true; m_certificateIds.push_back(value); return *this; } private: Aws::String m_profileId; bool m_profileIdHasBeenSet = false; Aws::Vector m_certificateIds; bool m_certificateIdsHasBeenSet = false; }; } // namespace Model } // namespace Transfer } // namespace Aws