/** * 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 Cloud9 { namespace Model { /** */ class DeleteEnvironmentMembershipRequest : public Cloud9Request { public: AWS_CLOUD9_API DeleteEnvironmentMembershipRequest(); // 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 "DeleteEnvironmentMembership"; } AWS_CLOUD9_API Aws::String SerializePayload() const override; AWS_CLOUD9_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the environment to delete the environment member from.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of the environment to delete the environment member from.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The ID of the environment to delete the environment member from.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The ID of the environment to delete the environment member from.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The ID of the environment to delete the environment member from.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The ID of the environment to delete the environment member from.

*/ inline DeleteEnvironmentMembershipRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of the environment to delete the environment member from.

*/ inline DeleteEnvironmentMembershipRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of the environment to delete the environment member from.

*/ inline DeleteEnvironmentMembershipRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline DeleteEnvironmentMembershipRequest& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline DeleteEnvironmentMembershipRequest& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the environment member to delete from the * environment.

*/ inline DeleteEnvironmentMembershipRequest& WithUserArn(const char* value) { SetUserArn(value); return *this;} private: Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_userArn; bool m_userArnHasBeenSet = false; }; } // namespace Model } // namespace Cloud9 } // namespace Aws