AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetReportMetadataRequest.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 GetReportMetadataRequest() = 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 "GetReportMetadata"; }
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>
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 }
65 SetReportVersion(value);
66 return *this;
67 }
69 private:
70 Aws::String m_reportId;
71
72 long long m_reportVersion{0};
73 bool m_reportIdHasBeenSet = false;
74 bool m_reportVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Artifact
79} // namespace Aws
GetReportMetadataRequest & WithReportId(ReportIdT &&value)
GetReportMetadataRequest & WithReportVersion(long long value)
AWS_ARTIFACT_API GetReportMetadataRequest()=default
AWS_ARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ARTIFACT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String