AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAssetRevisionsRequest.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 ListAssetRevisionsRequest();
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 "ListAssetRevisions"; }
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); }
51 inline ListAssetRevisionsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
52 inline ListAssetRevisionsRequest& 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 ListAssetRevisionsRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
65 inline ListAssetRevisionsRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
66 inline ListAssetRevisionsRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
68
70
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListAssetRevisionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
92 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
94 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
95 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
96 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 inline ListAssetRevisionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
98 inline ListAssetRevisionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 inline ListAssetRevisionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101 private:
102
103 Aws::String m_domainIdentifier;
104 bool m_domainIdentifierHasBeenSet = false;
105
106 Aws::String m_identifier;
107 bool m_identifierHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace DataZone
118} // namespace Aws
ListAssetRevisionsRequest & WithIdentifier(const Aws::String &value)
ListAssetRevisionsRequest & WithDomainIdentifier(const char *value)
ListAssetRevisionsRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListAssetRevisionsRequest & WithIdentifier(Aws::String &&value)
ListAssetRevisionsRequest & WithMaxResults(int value)
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAssetRevisionsRequest & WithNextToken(const Aws::String &value)
ListAssetRevisionsRequest & WithNextToken(Aws::String &&value)
ListAssetRevisionsRequest & WithNextToken(const char *value)
ListAssetRevisionsRequest & WithDomainIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListAssetRevisionsRequest & WithIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String