/** * 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 { namespace Http { class URI; } //namespace Http namespace WellArchitected { namespace Model { /** */ class GetConsolidatedReportRequest : public WellArchitectedRequest { public: AWS_WELLARCHITECTED_API GetConsolidatedReportRequest(); // 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 "GetConsolidatedReport"; } AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override; AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline const ReportFormat& GetFormat() const{ return m_format; } /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline void SetFormat(const ReportFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline void SetFormat(ReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline GetConsolidatedReportRequest& WithFormat(const ReportFormat& value) { SetFormat(value); return *this;} /** *

The format of the consolidated report.

For PDF, * Base64String is returned. For JSON, * Metrics is returned.

*/ inline GetConsolidatedReportRequest& WithFormat(ReportFormat&& value) { SetFormat(std::move(value)); return *this;} /** *

Set to true to have shared resources included in the report.

*/ inline bool GetIncludeSharedResources() const{ return m_includeSharedResources; } /** *

Set to true to have shared resources included in the report.

*/ inline bool IncludeSharedResourcesHasBeenSet() const { return m_includeSharedResourcesHasBeenSet; } /** *

Set to true to have shared resources included in the report.

*/ inline void SetIncludeSharedResources(bool value) { m_includeSharedResourcesHasBeenSet = true; m_includeSharedResources = value; } /** *

Set to true to have shared resources included in the report.

*/ inline GetConsolidatedReportRequest& WithIncludeSharedResources(bool value) { SetIncludeSharedResources(value); return *this;} inline const Aws::String& GetNextToken() const{ return m_nextToken; } inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } inline GetConsolidatedReportRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} inline GetConsolidatedReportRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline GetConsolidatedReportRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return for this request.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return for this request.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return for this request.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return for this request.

*/ inline GetConsolidatedReportRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: ReportFormat m_format; bool m_formatHasBeenSet = false; bool m_includeSharedResources; bool m_includeSharedResourcesHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace WellArchitected } // namespace Aws