AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetAssetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API GetAssetRequest() = 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 "GetAsset"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
34 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
41 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
42 template <typename DomainIdentifierT = Aws::String>
43 void SetDomainIdentifier(DomainIdentifierT&& value) {
44 m_domainIdentifierHasBeenSet = true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 }
47 template <typename DomainIdentifierT = Aws::String>
48 GetAssetRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
49 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetIdentifier() const { return m_identifier; }
62 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
63 template <typename IdentifierT = Aws::String>
64 void SetIdentifier(IdentifierT&& value) {
65 m_identifierHasBeenSet = true;
66 m_identifier = std::forward<IdentifierT>(value);
67 }
68 template <typename IdentifierT = Aws::String>
69 GetAssetRequest& WithIdentifier(IdentifierT&& value) {
70 SetIdentifier(std::forward<IdentifierT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetRevision() const { return m_revision; }
80 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
81 template <typename RevisionT = Aws::String>
82 void SetRevision(RevisionT&& value) {
83 m_revisionHasBeenSet = true;
84 m_revision = std::forward<RevisionT>(value);
85 }
86 template <typename RevisionT = Aws::String>
87 GetAssetRequest& WithRevision(RevisionT&& value) {
88 SetRevision(std::forward<RevisionT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_domainIdentifier;
94
95 Aws::String m_identifier;
96
97 Aws::String m_revision;
98 bool m_domainIdentifierHasBeenSet = false;
99 bool m_identifierHasBeenSet = false;
100 bool m_revisionHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace DataZone
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRevision() const
GetAssetRequest & WithRevision(RevisionT &&value)
AWS_DATAZONE_API GetAssetRequest()=default
const Aws::String & GetIdentifier() const
const Aws::String & GetDomainIdentifier() const
GetAssetRequest & WithIdentifier(IdentifierT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
void SetIdentifier(IdentifierT &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAssetRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String