AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssetRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.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 DataZone
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATAZONE_API GetAssetRequest();
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 "GetAsset"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
46 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
47 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
48 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
49 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
50 inline GetAssetRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
51 inline GetAssetRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
52 inline GetAssetRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
62 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
63 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
64 inline GetAssetRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
65 inline GetAssetRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
66 inline GetAssetRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
68
70
73 inline const Aws::String& GetRevision() const{ return m_revision; }
74 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
75 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
76 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
77 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
78 inline GetAssetRequest& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
79 inline GetAssetRequest& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
80 inline GetAssetRequest& WithRevision(const char* value) { SetRevision(value); return *this;}
82 private:
83
84 Aws::String m_domainIdentifier;
85 bool m_domainIdentifierHasBeenSet = false;
86
87 Aws::String m_identifier;
88 bool m_identifierHasBeenSet = false;
89
90 Aws::String m_revision;
91 bool m_revisionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataZone
96} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetAssetRequest & WithRevision(Aws::String &&value)
const Aws::String & GetRevision() const
GetAssetRequest & WithDomainIdentifier(const char *value)
void SetDomainIdentifier(Aws::String &&value)
GetAssetRequest & WithDomainIdentifier(const Aws::String &value)
GetAssetRequest & WithRevision(const Aws::String &value)
void SetDomainIdentifier(const char *value)
void SetDomainIdentifier(const Aws::String &value)
void SetIdentifier(const char *value)
GetAssetRequest & WithIdentifier(const char *value)
const Aws::String & GetIdentifier() const
GetAssetRequest & WithIdentifier(const Aws::String &value)
const Aws::String & GetDomainIdentifier() const
GetAssetRequest & WithIdentifier(Aws::String &&value)
void SetRevision(const Aws::String &value)
void SetIdentifier(Aws::String &&value)
void SetRevision(Aws::String &&value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAssetRequest & WithDomainIdentifier(Aws::String &&value)
void SetIdentifier(const Aws::String &value)
GetAssetRequest & WithRevision(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String