AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetReportRequest.h
1
6#pragma once
7#include <aws/artifact/ArtifactRequest.h>
8#include <aws/artifact/Artifact_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Artifact {
18namespace Model {
19
23 public:
24 AWS_ARTIFACT_API GetReportRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetReport"; }
31
32 AWS_ARTIFACT_API Aws::String SerializePayload() const override;
33
34 AWS_ARTIFACT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetReportId() const { return m_reportId; }
41 inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; }
42 template <typename ReportIdT = Aws::String>
43 void SetReportId(ReportIdT&& value) {
44 m_reportIdHasBeenSet = true;
45 m_reportId = std::forward<ReportIdT>(value);
46 }
47 template <typename ReportIdT = Aws::String>
48 GetReportRequest& WithReportId(ReportIdT&& value) {
49 SetReportId(std::forward<ReportIdT>(value));
50 return *this;
51 }
53
55
58 inline long long GetReportVersion() const { return m_reportVersion; }
59 inline bool ReportVersionHasBeenSet() const { return m_reportVersionHasBeenSet; }
60 inline void SetReportVersion(long long value) {
61 m_reportVersionHasBeenSet = true;
62 m_reportVersion = value;
63 }
64 inline GetReportRequest& WithReportVersion(long long value) {
65 SetReportVersion(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTermToken() const { return m_termToken; }
75 inline bool TermTokenHasBeenSet() const { return m_termTokenHasBeenSet; }
76 template <typename TermTokenT = Aws::String>
77 void SetTermToken(TermTokenT&& value) {
78 m_termTokenHasBeenSet = true;
79 m_termToken = std::forward<TermTokenT>(value);
80 }
81 template <typename TermTokenT = Aws::String>
82 GetReportRequest& WithTermToken(TermTokenT&& value) {
83 SetTermToken(std::forward<TermTokenT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_reportId;
89
90 long long m_reportVersion{0};
91
92 Aws::String m_termToken;
93 bool m_reportIdHasBeenSet = false;
94 bool m_reportVersionHasBeenSet = false;
95 bool m_termTokenHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Artifact
100} // namespace Aws
AWS_ARTIFACT_API Aws::String SerializePayload() const override
GetReportRequest & WithReportId(ReportIdT &&value)
const Aws::String & GetReportId() const
const Aws::String & GetTermToken() const
GetReportRequest & WithReportVersion(long long value)
virtual const char * GetServiceRequestName() const override
AWS_ARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetReportRequest & WithTermToken(TermTokenT &&value)
AWS_ARTIFACT_API GetReportRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String