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 ListRevisionAssetsRequest : public DataExchangeRequest 26 { 27 public: 28 ListRevisionAssetsRequest(); 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 "ListRevisionAssets"; } 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& 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 ListRevisionAssetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} 150 151 152 /** 153 * <p>The unique identifier for a revision.</p> 154 */ GetRevisionId()155 inline const Aws::String& GetRevisionId() const{ return m_revisionId; } 156 157 /** 158 * <p>The unique identifier for a revision.</p> 159 */ RevisionIdHasBeenSet()160 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; } 161 162 /** 163 * <p>The unique identifier for a revision.</p> 164 */ SetRevisionId(const Aws::String & value)165 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; } 166 167 /** 168 * <p>The unique identifier for a revision.</p> 169 */ SetRevisionId(Aws::String && value)170 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); } 171 172 /** 173 * <p>The unique identifier for a revision.</p> 174 */ SetRevisionId(const char * value)175 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); } 176 177 /** 178 * <p>The unique identifier for a revision.</p> 179 */ WithRevisionId(const Aws::String & value)180 inline ListRevisionAssetsRequest& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} 181 182 /** 183 * <p>The unique identifier for a revision.</p> 184 */ WithRevisionId(Aws::String && value)185 inline ListRevisionAssetsRequest& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} 186 187 /** 188 * <p>The unique identifier for a revision.</p> 189 */ WithRevisionId(const char * value)190 inline ListRevisionAssetsRequest& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} 191 192 private: 193 194 Aws::String m_dataSetId; 195 bool m_dataSetIdHasBeenSet; 196 197 int m_maxResults; 198 bool m_maxResultsHasBeenSet; 199 200 Aws::String m_nextToken; 201 bool m_nextTokenHasBeenSet; 202 203 Aws::String m_revisionId; 204 bool m_revisionIdHasBeenSet; 205 }; 206 207 } // namespace Model 208 } // namespace DataExchange 209 } // namespace Aws 210