AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeInstallationMediaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <aws/rds/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RDS
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeInstallationMedia"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetInstallationMediaId() const{ return m_installationMediaId; }
45 
49  inline bool InstallationMediaIdHasBeenSet() const { return m_installationMediaIdHasBeenSet; }
50 
54  inline void SetInstallationMediaId(const Aws::String& value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId = value; }
55 
59  inline void SetInstallationMediaId(Aws::String&& value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId = std::move(value); }
60 
64  inline void SetInstallationMediaId(const char* value) { m_installationMediaIdHasBeenSet = true; m_installationMediaId.assign(value); }
65 
69  inline DescribeInstallationMediaRequest& WithInstallationMediaId(const Aws::String& value) { SetInstallationMediaId(value); return *this;}
70 
74  inline DescribeInstallationMediaRequest& WithInstallationMediaId(Aws::String&& value) { SetInstallationMediaId(std::move(value)); return *this;}
75 
79  inline DescribeInstallationMediaRequest& WithInstallationMediaId(const char* value) { SetInstallationMediaId(value); return *this;}
80 
81 
93  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
94 
106  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
107 
119  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
120 
132  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
133 
145  inline DescribeInstallationMediaRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
146 
158  inline DescribeInstallationMediaRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
159 
171  inline DescribeInstallationMediaRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
172 
184  inline DescribeInstallationMediaRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
185 
186 
192  inline int GetMaxRecords() const{ return m_maxRecords; }
193 
199  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
200 
206  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
207 
213  inline DescribeInstallationMediaRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
214 
215 
221  inline const Aws::String& GetMarker() const{ return m_marker; }
222 
228  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
229 
235  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
236 
242  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
243 
249  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
250 
256  inline DescribeInstallationMediaRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
257 
263  inline DescribeInstallationMediaRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
264 
270  inline DescribeInstallationMediaRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
271 
272  private:
273 
274  Aws::String m_installationMediaId;
275  bool m_installationMediaIdHasBeenSet;
276 
277  Aws::Vector<Filter> m_filters;
278  bool m_filtersHasBeenSet;
279 
280  int m_maxRecords;
281  bool m_maxRecordsHasBeenSet;
282 
283  Aws::String m_marker;
284  bool m_markerHasBeenSet;
285  };
286 
287 } // namespace Model
288 } // namespace RDS
289 } // namespace Aws
Aws::RDS::Model::DescribeInstallationMediaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeInstallationMediaRequest.h:32
Aws::RDS::Model::DescribeInstallationMediaRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeInstallationMediaRequest.h:132
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeInstallationMediaRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeInstallationMediaRequest.h:93
Aws::RDS::Model::DescribeInstallationMediaRequest::DescribeInstallationMediaRequest
DescribeInstallationMediaRequest()
Aws::RDS::Model::DescribeInstallationMediaRequest::WithFilters
DescribeInstallationMediaRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeInstallationMediaRequest.h:145
Aws::RDS::Model::DescribeInstallationMediaRequest::SetInstallationMediaId
void SetInstallationMediaId(const char *value)
Definition: DescribeInstallationMediaRequest.h:64
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeInstallationMediaRequest::AddFilters
DescribeInstallationMediaRequest & AddFilters(Filter &&value)
Definition: DescribeInstallationMediaRequest.h:184
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeInstallationMediaRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeInstallationMediaRequest.h:192
Aws::RDS::Model::DescribeInstallationMediaRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeInstallationMediaRequest.h:206
Aws::RDS::Model::DescribeInstallationMediaRequest::WithMarker
DescribeInstallationMediaRequest & WithMarker(const Aws::String &value)
Definition: DescribeInstallationMediaRequest.h:256
Aws::RDS::Model::DescribeInstallationMediaRequest::WithInstallationMediaId
DescribeInstallationMediaRequest & WithInstallationMediaId(Aws::String &&value)
Definition: DescribeInstallationMediaRequest.h:74
Aws::RDS::Model::DescribeInstallationMediaRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeInstallationMediaRequest.h:106
AWSVector.h
Aws::RDS::Model::DescribeInstallationMediaRequest::SetInstallationMediaId
void SetInstallationMediaId(const Aws::String &value)
Definition: DescribeInstallationMediaRequest.h:54
Aws::RDS::Model::DescribeInstallationMediaRequest::AddFilters
DescribeInstallationMediaRequest & AddFilters(const Filter &value)
Definition: DescribeInstallationMediaRequest.h:171
Aws::RDS::Model::DescribeInstallationMediaRequest
Definition: DescribeInstallationMediaRequest.h:24
Aws::RDS::Model::DescribeInstallationMediaRequest::InstallationMediaIdHasBeenSet
bool InstallationMediaIdHasBeenSet() const
Definition: DescribeInstallationMediaRequest.h:49
Aws::RDS::Model::DescribeInstallationMediaRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeInstallationMediaRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeInstallationMediaRequest.h:235
RDS_EXPORTS.h
Aws::RDS::Model::Filter
Definition: Filter.h:43
Aws::RDS::Model::DescribeInstallationMediaRequest::WithMarker
DescribeInstallationMediaRequest & WithMarker(const char *value)
Definition: DescribeInstallationMediaRequest.h:270
Aws::RDS::Model::DescribeInstallationMediaRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Filter.h
Aws::RDS::Model::DescribeInstallationMediaRequest::WithInstallationMediaId
DescribeInstallationMediaRequest & WithInstallationMediaId(const char *value)
Definition: DescribeInstallationMediaRequest.h:79
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeInstallationMediaRequest::WithInstallationMediaId
DescribeInstallationMediaRequest & WithInstallationMediaId(const Aws::String &value)
Definition: DescribeInstallationMediaRequest.h:69
Aws::RDS::Model::DescribeInstallationMediaRequest::SetInstallationMediaId
void SetInstallationMediaId(Aws::String &&value)
Definition: DescribeInstallationMediaRequest.h:59
Aws::RDS::Model::DescribeInstallationMediaRequest::WithMaxRecords
DescribeInstallationMediaRequest & WithMaxRecords(int value)
Definition: DescribeInstallationMediaRequest.h:213
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeInstallationMediaRequest::WithMarker
DescribeInstallationMediaRequest & WithMarker(Aws::String &&value)
Definition: DescribeInstallationMediaRequest.h:263
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeInstallationMediaRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeInstallationMediaRequest.h:249
Aws::RDS::Model::DescribeInstallationMediaRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeInstallationMediaRequest.h:228
Aws::RDS::Model::DescribeInstallationMediaRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeInstallationMediaRequest.h:242
RDSRequest.h
Aws::RDS::Model::DescribeInstallationMediaRequest::GetInstallationMediaId
const Aws::String & GetInstallationMediaId() const
Definition: DescribeInstallationMediaRequest.h:44
Aws::RDS::Model::DescribeInstallationMediaRequest::WithFilters
DescribeInstallationMediaRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeInstallationMediaRequest.h:158
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeInstallationMediaRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeInstallationMediaRequest.h:199
Aws::RDS::Model::DescribeInstallationMediaRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeInstallationMediaRequest.h:221
Aws::RDS::Model::DescribeInstallationMediaRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeInstallationMediaRequest.h:119