/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace IAM { namespace Model { /** *

Contains the response to a successful GenerateCredentialReport * request.

See Also:

AWS * API Reference

*/ class GenerateCredentialReportResult { public: AWS_IAM_API GenerateCredentialReportResult(); AWS_IAM_API GenerateCredentialReportResult(const Aws::AmazonWebServiceResult& result); AWS_IAM_API GenerateCredentialReportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the state of the credential report.

*/ inline const ReportStateType& GetState() const{ return m_state; } /** *

Information about the state of the credential report.

*/ inline void SetState(const ReportStateType& value) { m_state = value; } /** *

Information about the state of the credential report.

*/ inline void SetState(ReportStateType&& value) { m_state = std::move(value); } /** *

Information about the state of the credential report.

*/ inline GenerateCredentialReportResult& WithState(const ReportStateType& value) { SetState(value); return *this;} /** *

Information about the state of the credential report.

*/ inline GenerateCredentialReportResult& WithState(ReportStateType&& value) { SetState(std::move(value)); return *this;} /** *

Information about the credential report.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Information about the credential report.

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

Information about the credential report.

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

Information about the credential report.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

Information about the credential report.

*/ inline GenerateCredentialReportResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Information about the credential report.

*/ inline GenerateCredentialReportResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Information about the credential report.

*/ inline GenerateCredentialReportResult& WithDescription(const char* value) { SetDescription(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 GenerateCredentialReportResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GenerateCredentialReportResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: ReportStateType m_state; Aws::String m_description; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws