/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Redshift { namespace Model { class ModifyAuthenticationProfileResult { public: AWS_REDSHIFT_API ModifyAuthenticationProfileResult(); AWS_REDSHIFT_API ModifyAuthenticationProfileResult(const Aws::AmazonWebServiceResult& result); AWS_REDSHIFT_API ModifyAuthenticationProfileResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

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

The name of the authentication profile that was replaced.

*/ inline ModifyAuthenticationProfileResult& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;} /** *

The updated content of the authentication profile in JSON format.

*/ inline const Aws::String& GetAuthenticationProfileContent() const{ return m_authenticationProfileContent; } /** *

The updated content of the authentication profile in JSON format.

*/ inline void SetAuthenticationProfileContent(const Aws::String& value) { m_authenticationProfileContent = value; } /** *

The updated content of the authentication profile in JSON format.

*/ inline void SetAuthenticationProfileContent(Aws::String&& value) { m_authenticationProfileContent = std::move(value); } /** *

The updated content of the authentication profile in JSON format.

*/ inline void SetAuthenticationProfileContent(const char* value) { m_authenticationProfileContent.assign(value); } /** *

The updated content of the authentication profile in JSON format.

*/ inline ModifyAuthenticationProfileResult& WithAuthenticationProfileContent(const Aws::String& value) { SetAuthenticationProfileContent(value); return *this;} /** *

The updated content of the authentication profile in JSON format.

*/ inline ModifyAuthenticationProfileResult& WithAuthenticationProfileContent(Aws::String&& value) { SetAuthenticationProfileContent(std::move(value)); return *this;} /** *

The updated content of the authentication profile in JSON format.

*/ inline ModifyAuthenticationProfileResult& WithAuthenticationProfileContent(const char* value) { SetAuthenticationProfileContent(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyAuthenticationProfileResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyAuthenticationProfileResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_authenticationProfileName; Aws::String m_authenticationProfileContent; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace Redshift } // namespace Aws