1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/dataexchange/DataExchange_EXPORTS.h>
8 #include <aws/dataexchange/DataExchangeRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16     class URI;
17 } //namespace Http
18 namespace DataExchange
19 {
20 namespace Model
21 {
22 
23   /**
24    */
25   class AWS_DATAEXCHANGE_API ListDataSetRevisionsRequest : public DataExchangeRequest
26   {
27   public:
28     ListDataSetRevisionsRequest();
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.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "ListDataSetRevisions"; }
35 
36     Aws::String SerializePayload() const override;
37 
38     void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41     /**
42      * <p>The unique identifier for a data set.</p>
43      */
GetDataSetId()44     inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
45 
46     /**
47      * <p>The unique identifier for a data set.</p>
48      */
DataSetIdHasBeenSet()49     inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
50 
51     /**
52      * <p>The unique identifier for a data set.</p>
53      */
SetDataSetId(const Aws::String & value)54     inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; }
55 
56     /**
57      * <p>The unique identifier for a data set.</p>
58      */
SetDataSetId(Aws::String && value)59     inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); }
60 
61     /**
62      * <p>The unique identifier for a data set.</p>
63      */
SetDataSetId(const char * value)64     inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); }
65 
66     /**
67      * <p>The unique identifier for a data set.</p>
68      */
WithDataSetId(const Aws::String & value)69     inline ListDataSetRevisionsRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
70 
71     /**
72      * <p>The unique identifier for a data set.</p>
73      */
WithDataSetId(Aws::String && value)74     inline ListDataSetRevisionsRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
75 
76     /**
77      * <p>The unique identifier for a data set.</p>
78      */
WithDataSetId(const char * value)79     inline ListDataSetRevisionsRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;}
80 
81 
82     /**
83      * <p>The maximum number of results returned by a single call.</p>
84      */
GetMaxResults()85     inline int GetMaxResults() const{ return m_maxResults; }
86 
87     /**
88      * <p>The maximum number of results returned by a single call.</p>
89      */
MaxResultsHasBeenSet()90     inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
92     /**
93      * <p>The maximum number of results returned by a single call.</p>
94      */
SetMaxResults(int value)95     inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 
97     /**
98      * <p>The maximum number of results returned by a single call.</p>
99      */
WithMaxResults(int value)100     inline ListDataSetRevisionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
101 
102 
103     /**
104      * <p>The token value retrieved from a previous call to access the next page of
105      * results.</p>
106      */
GetNextToken()107     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108 
109     /**
110      * <p>The token value retrieved from a previous call to access the next page of
111      * results.</p>
112      */
NextTokenHasBeenSet()113     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
114 
115     /**
116      * <p>The token value retrieved from a previous call to access the next page of
117      * results.</p>
118      */
SetNextToken(const Aws::String & value)119     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
120 
121     /**
122      * <p>The token value retrieved from a previous call to access the next page of
123      * results.</p>
124      */
SetNextToken(Aws::String && value)125     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126 
127     /**
128      * <p>The token value retrieved from a previous call to access the next page of
129      * results.</p>
130      */
SetNextToken(const char * value)131     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
132 
133     /**
134      * <p>The token value retrieved from a previous call to access the next page of
135      * results.</p>
136      */
WithNextToken(const Aws::String & value)137     inline ListDataSetRevisionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
138 
139     /**
140      * <p>The token value retrieved from a previous call to access the next page of
141      * results.</p>
142      */
WithNextToken(Aws::String && value)143     inline ListDataSetRevisionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
144 
145     /**
146      * <p>The token value retrieved from a previous call to access the next page of
147      * results.</p>
148      */
WithNextToken(const char * value)149     inline ListDataSetRevisionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
150 
151   private:
152 
153     Aws::String m_dataSetId;
154     bool m_dataSetIdHasBeenSet;
155 
156     int m_maxResults;
157     bool m_maxResultsHasBeenSet;
158 
159     Aws::String m_nextToken;
160     bool m_nextTokenHasBeenSet;
161   };
162 
163 } // namespace Model
164 } // namespace DataExchange
165 } // namespace Aws
166