AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeFpgaImagesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <aws/ec2/model/Filter.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace EC2
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 "DescribeFpgaImages"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline bool GetDryRun() const{ return m_dryRun; }
48 
55  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
56 
63  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 
71  inline DescribeFpgaImagesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
72 
73 
77  inline const Aws::Vector<Aws::String>& GetFpgaImageIds() const{ return m_fpgaImageIds; }
78 
82  inline bool FpgaImageIdsHasBeenSet() const { return m_fpgaImageIdsHasBeenSet; }
83 
87  inline void SetFpgaImageIds(const Aws::Vector<Aws::String>& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds = value; }
88 
92  inline void SetFpgaImageIds(Aws::Vector<Aws::String>&& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds = std::move(value); }
93 
97  inline DescribeFpgaImagesRequest& WithFpgaImageIds(const Aws::Vector<Aws::String>& value) { SetFpgaImageIds(value); return *this;}
98 
102  inline DescribeFpgaImagesRequest& WithFpgaImageIds(Aws::Vector<Aws::String>&& value) { SetFpgaImageIds(std::move(value)); return *this;}
103 
107  inline DescribeFpgaImagesRequest& AddFpgaImageIds(const Aws::String& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(value); return *this; }
108 
112  inline DescribeFpgaImagesRequest& AddFpgaImageIds(Aws::String&& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(std::move(value)); return *this; }
113 
117  inline DescribeFpgaImagesRequest& AddFpgaImageIds(const char* value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(value); return *this; }
118 
119 
125  inline const Aws::Vector<Aws::String>& GetOwners() const{ return m_owners; }
126 
132  inline bool OwnersHasBeenSet() const { return m_ownersHasBeenSet; }
133 
139  inline void SetOwners(const Aws::Vector<Aws::String>& value) { m_ownersHasBeenSet = true; m_owners = value; }
140 
146  inline void SetOwners(Aws::Vector<Aws::String>&& value) { m_ownersHasBeenSet = true; m_owners = std::move(value); }
147 
153  inline DescribeFpgaImagesRequest& WithOwners(const Aws::Vector<Aws::String>& value) { SetOwners(value); return *this;}
154 
160  inline DescribeFpgaImagesRequest& WithOwners(Aws::Vector<Aws::String>&& value) { SetOwners(std::move(value)); return *this;}
161 
167  inline DescribeFpgaImagesRequest& AddOwners(const Aws::String& value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; }
168 
174  inline DescribeFpgaImagesRequest& AddOwners(Aws::String&& value) { m_ownersHasBeenSet = true; m_owners.push_back(std::move(value)); return *this; }
175 
181  inline DescribeFpgaImagesRequest& AddOwners(const char* value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; }
182 
183 
205  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
206 
228  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
229 
251  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
252 
274  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
275 
297  inline DescribeFpgaImagesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
298 
320  inline DescribeFpgaImagesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
321 
343  inline DescribeFpgaImagesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
344 
366  inline DescribeFpgaImagesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
367 
368 
372  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
373 
377  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
378 
382  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
383 
387  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
388 
392  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
393 
397  inline DescribeFpgaImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
398 
402  inline DescribeFpgaImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
403 
407  inline DescribeFpgaImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
408 
409 
413  inline int GetMaxResults() const{ return m_maxResults; }
414 
418  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
419 
423  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
424 
428  inline DescribeFpgaImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
429 
430  private:
431 
432  bool m_dryRun;
433  bool m_dryRunHasBeenSet;
434 
435  Aws::Vector<Aws::String> m_fpgaImageIds;
436  bool m_fpgaImageIdsHasBeenSet;
437 
438  Aws::Vector<Aws::String> m_owners;
439  bool m_ownersHasBeenSet;
440 
441  Aws::Vector<Filter> m_filters;
442  bool m_filtersHasBeenSet;
443 
444  Aws::String m_nextToken;
445  bool m_nextTokenHasBeenSet;
446 
447  int m_maxResults;
448  bool m_maxResultsHasBeenSet;
449  };
450 
451 } // namespace Model
452 } // namespace EC2
453 } // namespace Aws
Aws::EC2::Model::DescribeFpgaImagesRequest::WithFilters
DescribeFpgaImagesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: DescribeFpgaImagesRequest.h:320
Aws::EC2::Model::DescribeFpgaImagesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeFpgaImagesRequest.h:63
Aws::EC2::Model::DescribeFpgaImagesRequest::WithFilters
DescribeFpgaImagesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: DescribeFpgaImagesRequest.h:297
Aws::EC2::Model::DescribeFpgaImagesRequest::GetOwners
const Aws::Vector< Aws::String > & GetOwners() const
Definition: DescribeFpgaImagesRequest.h:125
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeFpgaImagesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFpgaImagesRequest.h:387
Aws::EC2::Model::DescribeFpgaImagesRequest::WithOwners
DescribeFpgaImagesRequest & WithOwners(Aws::Vector< Aws::String > &&value)
Definition: DescribeFpgaImagesRequest.h:160
Aws::EC2::Model::DescribeFpgaImagesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeFpgaImagesRequest::WithNextToken
DescribeFpgaImagesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeFpgaImagesRequest.h:402
Aws::EC2::Model::DescribeFpgaImagesRequest::AddFilters
DescribeFpgaImagesRequest & AddFilters(const Filter &value)
Definition: DescribeFpgaImagesRequest.h:343
Aws::EC2::Model::DescribeFpgaImagesRequest::WithDryRun
DescribeFpgaImagesRequest & WithDryRun(bool value)
Definition: DescribeFpgaImagesRequest.h:71
Aws::EC2::Model::DescribeFpgaImagesRequest::AddOwners
DescribeFpgaImagesRequest & AddOwners(const Aws::String &value)
Definition: DescribeFpgaImagesRequest.h:167
Aws::EC2::Model::DescribeFpgaImagesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: DescribeFpgaImagesRequest.h:205
Aws::EC2::Model::DescribeFpgaImagesRequest::SetFpgaImageIds
void SetFpgaImageIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFpgaImagesRequest.h:87
Aws::EC2::Model::DescribeFpgaImagesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:418
Aws::EC2::Model::DescribeFpgaImagesRequest
Definition: DescribeFpgaImagesRequest.h:24
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeFpgaImagesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeFpgaImagesRequest.h:423
Aws::EC2::Model::Filter
Definition: Filter.h:36
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DescribeFpgaImagesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFpgaImagesRequest.h:382
Aws::EC2::Model::DescribeFpgaImagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFpgaImagesRequest.h:32
Aws::EC2::Model::DescribeFpgaImagesRequest::SetOwners
void SetOwners(const Aws::Vector< Aws::String > &value)
Definition: DescribeFpgaImagesRequest.h:139
Aws::EC2::Model::DescribeFpgaImagesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFpgaImagesRequest.h:392
AWSVector.h
Filter.h
Aws::EC2::Model::DescribeFpgaImagesRequest::SetFpgaImageIds
void SetFpgaImageIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFpgaImagesRequest.h:92
Aws::EC2::Model::DescribeFpgaImagesRequest::AddFilters
DescribeFpgaImagesRequest & AddFilters(Filter &&value)
Definition: DescribeFpgaImagesRequest.h:366
Aws::EC2::Model::DescribeFpgaImagesRequest::AddFpgaImageIds
DescribeFpgaImagesRequest & AddFpgaImageIds(Aws::String &&value)
Definition: DescribeFpgaImagesRequest.h:112
Aws::EC2::Model::DescribeFpgaImagesRequest::WithMaxResults
DescribeFpgaImagesRequest & WithMaxResults(int value)
Definition: DescribeFpgaImagesRequest.h:428
Aws::EC2::Model::DescribeFpgaImagesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:377
EC2Request.h
Aws::EC2::Model::DescribeFpgaImagesRequest::AddFpgaImageIds
DescribeFpgaImagesRequest & AddFpgaImageIds(const Aws::String &value)
Definition: DescribeFpgaImagesRequest.h:107
Aws::EC2::Model::DescribeFpgaImagesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: DescribeFpgaImagesRequest.h:274
AWSString.h
Aws::EC2::Model::DescribeFpgaImagesRequest::GetFpgaImageIds
const Aws::Vector< Aws::String > & GetFpgaImageIds() const
Definition: DescribeFpgaImagesRequest.h:77
Aws::EC2::Model::DescribeFpgaImagesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeFpgaImagesRequest.h:413
Aws::EC2::Model::DescribeFpgaImagesRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeFpgaImagesRequest.h:47
Aws::EC2::Model::DescribeFpgaImagesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFpgaImagesRequest.h:372
Aws::EC2::Model::DescribeFpgaImagesRequest::FpgaImageIdsHasBeenSet
bool FpgaImageIdsHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:82
Aws::EC2::Model::DescribeFpgaImagesRequest::AddOwners
DescribeFpgaImagesRequest & AddOwners(const char *value)
Definition: DescribeFpgaImagesRequest.h:181
Aws::EC2::Model::DescribeFpgaImagesRequest::WithFpgaImageIds
DescribeFpgaImagesRequest & WithFpgaImageIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFpgaImagesRequest.h:97
Aws::EC2::Model::DescribeFpgaImagesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:228
Aws::EC2::Model::DescribeFpgaImagesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeFpgaImagesRequest::WithNextToken
DescribeFpgaImagesRequest & WithNextToken(const char *value)
Definition: DescribeFpgaImagesRequest.h:407
Aws::EC2::Model::DescribeFpgaImagesRequest::WithNextToken
DescribeFpgaImagesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeFpgaImagesRequest.h:397
Aws::EC2::Model::DescribeFpgaImagesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:55
Aws::EC2::Model::DescribeFpgaImagesRequest::AddOwners
DescribeFpgaImagesRequest & AddOwners(Aws::String &&value)
Definition: DescribeFpgaImagesRequest.h:174
Aws::EC2::Model::DescribeFpgaImagesRequest::AddFpgaImageIds
DescribeFpgaImagesRequest & AddFpgaImageIds(const char *value)
Definition: DescribeFpgaImagesRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DescribeFpgaImagesRequest::WithFpgaImageIds
DescribeFpgaImagesRequest & WithFpgaImageIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFpgaImagesRequest.h:102
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeFpgaImagesRequest::WithOwners
DescribeFpgaImagesRequest & WithOwners(const Aws::Vector< Aws::String > &value)
Definition: DescribeFpgaImagesRequest.h:153
Aws::EC2::Model::DescribeFpgaImagesRequest::DescribeFpgaImagesRequest
DescribeFpgaImagesRequest()
EC2_EXPORTS.h
Aws::EC2::Model::DescribeFpgaImagesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: DescribeFpgaImagesRequest.h:251
Aws::EC2::Model::DescribeFpgaImagesRequest::SetOwners
void SetOwners(Aws::Vector< Aws::String > &&value)
Definition: DescribeFpgaImagesRequest.h:146
Aws::EC2::Model::DescribeFpgaImagesRequest::OwnersHasBeenSet
bool OwnersHasBeenSet() const
Definition: DescribeFpgaImagesRequest.h:132