/** * 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 Redshift { namespace Model { /** */ class DescribeAuthenticationProfilesRequest : public RedshiftRequest { public: AWS_REDSHIFT_API DescribeAuthenticationProfilesRequest(); // 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 "DescribeAuthenticationProfiles"; } AWS_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline const Aws::String& GetAuthenticationProfileName() const{ return m_authenticationProfileName; } /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline bool AuthenticationProfileNameHasBeenSet() const { return m_authenticationProfileNameHasBeenSet; } /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline void SetAuthenticationProfileName(const Aws::String& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = value; } /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline void SetAuthenticationProfileName(Aws::String&& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = std::move(value); } /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline void SetAuthenticationProfileName(const char* value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName.assign(value); } /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline DescribeAuthenticationProfilesRequest& WithAuthenticationProfileName(const Aws::String& value) { SetAuthenticationProfileName(value); return *this;} /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline DescribeAuthenticationProfilesRequest& WithAuthenticationProfileName(Aws::String&& value) { SetAuthenticationProfileName(std::move(value)); return *this;} /** *

The name of the authentication profile to describe. If not specified then all * authentication profiles owned by the account are listed.

*/ inline DescribeAuthenticationProfilesRequest& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;} private: Aws::String m_authenticationProfileName; bool m_authenticationProfileNameHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws