/** * 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 RolesAnywhere { namespace Model { /** */ class DisableProfileRequest : public RolesAnywhereRequest { public: AWS_ROLESANYWHERE_API DisableProfileRequest(); // 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 "DisableProfile"; } AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override; /** *

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

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

The unique identifier of the profile.

*/ inline DisableProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;} private: Aws::String m_profileId; bool m_profileIdHasBeenSet = false; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws