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

The resource identifiers, in the form of directory IDs.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The resource identifiers, in the form of directory IDs.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The resource identifiers, in the form of directory IDs.

*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *

The resource identifiers, in the form of directory IDs.

*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *

The resource identifiers, in the form of directory IDs.

*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *

The resource identifiers, in the form of directory IDs.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The resource identifiers, in the form of directory IDs.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The resource identifiers, in the form of directory IDs.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *

The properties of the certificate-based authentication.

*/ inline const CertificateBasedAuthProperties& GetCertificateBasedAuthProperties() const{ return m_certificateBasedAuthProperties; } /** *

The properties of the certificate-based authentication.

*/ inline bool CertificateBasedAuthPropertiesHasBeenSet() const { return m_certificateBasedAuthPropertiesHasBeenSet; } /** *

The properties of the certificate-based authentication.

*/ inline void SetCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = value; } /** *

The properties of the certificate-based authentication.

*/ inline void SetCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { m_certificateBasedAuthPropertiesHasBeenSet = true; m_certificateBasedAuthProperties = std::move(value); } /** *

The properties of the certificate-based authentication.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithCertificateBasedAuthProperties(const CertificateBasedAuthProperties& value) { SetCertificateBasedAuthProperties(value); return *this;} /** *

The properties of the certificate-based authentication.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithCertificateBasedAuthProperties(CertificateBasedAuthProperties&& value) { SetCertificateBasedAuthProperties(std::move(value)); return *this;} /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline const Aws::Vector& GetPropertiesToDelete() const{ return m_propertiesToDelete; } /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline bool PropertiesToDeleteHasBeenSet() const { return m_propertiesToDeleteHasBeenSet; } /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline void SetPropertiesToDelete(const Aws::Vector& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete = value; } /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline void SetPropertiesToDelete(Aws::Vector&& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete = std::move(value); } /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithPropertiesToDelete(const Aws::Vector& value) { SetPropertiesToDelete(value); return *this;} /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& WithPropertiesToDelete(Aws::Vector&& value) { SetPropertiesToDelete(std::move(value)); return *this;} /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& AddPropertiesToDelete(const DeletableCertificateBasedAuthProperty& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete.push_back(value); return *this; } /** *

The properties of the certificate-based authentication you want to * delete.

*/ inline ModifyCertificateBasedAuthPropertiesRequest& AddPropertiesToDelete(DeletableCertificateBasedAuthProperty&& value) { m_propertiesToDeleteHasBeenSet = true; m_propertiesToDelete.push_back(std::move(value)); return *this; } private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; CertificateBasedAuthProperties m_certificateBasedAuthProperties; bool m_certificateBasedAuthPropertiesHasBeenSet = false; Aws::Vector m_propertiesToDelete; bool m_propertiesToDeleteHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws