AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConsolidatedReportRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/model/ReportFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace WellArchitected
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_WELLARCHITECTED_API GetConsolidatedReportRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetConsolidatedReport"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const ReportFormat& GetFormat() const{ return m_format; }
49 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
50 inline void SetFormat(const ReportFormat& value) { m_formatHasBeenSet = true; m_format = value; }
51 inline void SetFormat(ReportFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
52 inline GetConsolidatedReportRequest& WithFormat(const ReportFormat& value) { SetFormat(value); return *this;}
53 inline GetConsolidatedReportRequest& WithFormat(ReportFormat&& value) { SetFormat(std::move(value)); return *this;}
55
57
60 inline bool GetIncludeSharedResources() const{ return m_includeSharedResources; }
61 inline bool IncludeSharedResourcesHasBeenSet() const { return m_includeSharedResourcesHasBeenSet; }
62 inline void SetIncludeSharedResources(bool value) { m_includeSharedResourcesHasBeenSet = true; m_includeSharedResources = value; }
65
67
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
73 inline GetConsolidatedReportRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline GetConsolidatedReportRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline GetConsolidatedReportRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
82 inline int GetMaxResults() const{ return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline GetConsolidatedReportRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87 private:
88
89 ReportFormat m_format;
90 bool m_formatHasBeenSet = false;
91
92 bool m_includeSharedResources;
93 bool m_includeSharedResourcesHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 int m_maxResults;
99 bool m_maxResultsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace WellArchitected
104} // namespace Aws
GetConsolidatedReportRequest & WithFormat(const ReportFormat &value)
GetConsolidatedReportRequest & WithNextToken(Aws::String &&value)
GetConsolidatedReportRequest & WithNextToken(const Aws::String &value)
GetConsolidatedReportRequest & WithNextToken(const char *value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetConsolidatedReportRequest & WithFormat(ReportFormat &&value)
GetConsolidatedReportRequest & WithIncludeSharedResources(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String