AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetConsolidatedReportRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/ReportFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace WellArchitected {
19namespace Model {
20
24 public:
25 AWS_WELLARCHITECTED_API GetConsolidatedReportRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetConsolidatedReport"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
43 inline ReportFormat GetFormat() const { return m_format; }
44 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
45 inline void SetFormat(ReportFormat value) {
46 m_formatHasBeenSet = true;
47 m_format = value;
48 }
50 SetFormat(value);
51 return *this;
52 }
54
56
59 inline bool GetIncludeSharedResources() const { return m_includeSharedResources; }
60 inline bool IncludeSharedResourcesHasBeenSet() const { return m_includeSharedResourcesHasBeenSet; }
61 inline void SetIncludeSharedResources(bool value) {
62 m_includeSharedResourcesHasBeenSet = true;
63 m_includeSharedResources = value;
64 }
67 return *this;
68 }
70
72
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 template <typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) {
77 m_nextTokenHasBeenSet = true;
78 m_nextToken = std::forward<NextTokenT>(value);
79 }
80 template <typename NextTokenT = Aws::String>
82 SetNextToken(std::forward<NextTokenT>(value));
83 return *this;
84 }
86
88
91 inline int GetMaxResults() const { return m_maxResults; }
92 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
93 inline void SetMaxResults(int value) {
94 m_maxResultsHasBeenSet = true;
95 m_maxResults = value;
96 }
98 SetMaxResults(value);
99 return *this;
100 }
102 private:
104 bool m_formatHasBeenSet = false;
105
106 bool m_includeSharedResources{false};
107 bool m_includeSharedResourcesHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace WellArchitected
118} // namespace Aws
AWS_WELLARCHITECTED_API GetConsolidatedReportRequest()=default
GetConsolidatedReportRequest & WithNextToken(NextTokenT &&value)
GetConsolidatedReportRequest & WithFormat(ReportFormat value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetConsolidatedReportRequest & WithIncludeSharedResources(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String