AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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