/** * 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 Http { class URI; } //namespace Http namespace signer { namespace Model { /** */ class RemoveProfilePermissionRequest : public SignerRequest { public: AWS_SIGNER_API RemoveProfilePermissionRequest(); // 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 "RemoveProfilePermission"; } AWS_SIGNER_API Aws::String SerializePayload() const override; AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline RemoveProfilePermissionRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline RemoveProfilePermissionRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

A human-readable name for the signing profile with permissions to be * removed.

*/ inline RemoveProfilePermissionRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;} /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline RemoveProfilePermissionRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline RemoveProfilePermissionRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

An identifier for the current revision of the signing profile * permissions.

*/ inline RemoveProfilePermissionRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

A unique identifier for the cross-account permissions statement.

*/ inline const Aws::String& GetStatementId() const{ return m_statementId; } /** *

A unique identifier for the cross-account permissions statement.

*/ inline bool StatementIdHasBeenSet() const { return m_statementIdHasBeenSet; } /** *

A unique identifier for the cross-account permissions statement.

*/ inline void SetStatementId(const Aws::String& value) { m_statementIdHasBeenSet = true; m_statementId = value; } /** *

A unique identifier for the cross-account permissions statement.

*/ inline void SetStatementId(Aws::String&& value) { m_statementIdHasBeenSet = true; m_statementId = std::move(value); } /** *

A unique identifier for the cross-account permissions statement.

*/ inline void SetStatementId(const char* value) { m_statementIdHasBeenSet = true; m_statementId.assign(value); } /** *

A unique identifier for the cross-account permissions statement.

*/ inline RemoveProfilePermissionRequest& WithStatementId(const Aws::String& value) { SetStatementId(value); return *this;} /** *

A unique identifier for the cross-account permissions statement.

*/ inline RemoveProfilePermissionRequest& WithStatementId(Aws::String&& value) { SetStatementId(std::move(value)); return *this;} /** *

A unique identifier for the cross-account permissions statement.

*/ inline RemoveProfilePermissionRequest& WithStatementId(const char* value) { SetStatementId(value); return *this;} private: Aws::String m_profileName; bool m_profileNameHasBeenSet = false; Aws::String m_revisionId; bool m_revisionIdHasBeenSet = false; Aws::String m_statementId; bool m_statementIdHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws