AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFpgaImagesRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace EC2
17{
18namespace 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_EC2_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
48 inline bool GetDryRun() const{ return m_dryRun; }
49 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
50 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
51 inline DescribeFpgaImagesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetFpgaImageIds() const{ return m_fpgaImageIds; }
59 inline bool FpgaImageIdsHasBeenSet() const { return m_fpgaImageIdsHasBeenSet; }
60 inline void SetFpgaImageIds(const Aws::Vector<Aws::String>& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds = value; }
61 inline void SetFpgaImageIds(Aws::Vector<Aws::String>&& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds = std::move(value); }
63 inline DescribeFpgaImagesRequest& WithFpgaImageIds(Aws::Vector<Aws::String>&& value) { SetFpgaImageIds(std::move(value)); return *this;}
64 inline DescribeFpgaImagesRequest& AddFpgaImageIds(const Aws::String& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(value); return *this; }
65 inline DescribeFpgaImagesRequest& AddFpgaImageIds(Aws::String&& value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(std::move(value)); return *this; }
66 inline DescribeFpgaImagesRequest& AddFpgaImageIds(const char* value) { m_fpgaImageIdsHasBeenSet = true; m_fpgaImageIds.push_back(value); return *this; }
68
70
76 inline const Aws::Vector<Aws::String>& GetOwners() const{ return m_owners; }
77 inline bool OwnersHasBeenSet() const { return m_ownersHasBeenSet; }
78 inline void SetOwners(const Aws::Vector<Aws::String>& value) { m_ownersHasBeenSet = true; m_owners = value; }
79 inline void SetOwners(Aws::Vector<Aws::String>&& value) { m_ownersHasBeenSet = true; m_owners = std::move(value); }
80 inline DescribeFpgaImagesRequest& WithOwners(const Aws::Vector<Aws::String>& value) { SetOwners(value); return *this;}
81 inline DescribeFpgaImagesRequest& WithOwners(Aws::Vector<Aws::String>&& value) { SetOwners(std::move(value)); return *this;}
82 inline DescribeFpgaImagesRequest& AddOwners(const Aws::String& value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; }
83 inline DescribeFpgaImagesRequest& AddOwners(Aws::String&& value) { m_ownersHasBeenSet = true; m_owners.push_back(std::move(value)); return *this; }
84 inline DescribeFpgaImagesRequest& AddOwners(const char* value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; }
86
88
110 inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
111 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
112 inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
113 inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
114 inline DescribeFpgaImagesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
115 inline DescribeFpgaImagesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
116 inline DescribeFpgaImagesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
117 inline DescribeFpgaImagesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
119
121
124 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
126 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
127 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 inline DescribeFpgaImagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
130 inline DescribeFpgaImagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 inline DescribeFpgaImagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133
135
138 inline int GetMaxResults() const{ return m_maxResults; }
139 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
140 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
141 inline DescribeFpgaImagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
143 private:
144
145 bool m_dryRun;
146 bool m_dryRunHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_fpgaImageIds;
149 bool m_fpgaImageIdsHasBeenSet = false;
150
152 bool m_ownersHasBeenSet = false;
153
154 Aws::Vector<Filter> m_filters;
155 bool m_filtersHasBeenSet = false;
156
157 Aws::String m_nextToken;
158 bool m_nextTokenHasBeenSet = false;
159
160 int m_maxResults;
161 bool m_maxResultsHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace EC2
166} // namespace Aws
void SetFpgaImageIds(Aws::Vector< Aws::String > &&value)
DescribeFpgaImagesRequest & WithFpgaImageIds(const Aws::Vector< Aws::String > &value)
DescribeFpgaImagesRequest & WithDryRun(bool value)
DescribeFpgaImagesRequest & AddOwners(Aws::String &&value)
DescribeFpgaImagesRequest & AddFpgaImageIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetFpgaImageIds() const
DescribeFpgaImagesRequest & AddFilters(const Filter &value)
DescribeFpgaImagesRequest & WithFpgaImageIds(Aws::Vector< Aws::String > &&value)
DescribeFpgaImagesRequest & AddFilters(Filter &&value)
DescribeFpgaImagesRequest & AddFpgaImageIds(Aws::String &&value)
const Aws::Vector< Filter > & GetFilters() const
DescribeFpgaImagesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeFpgaImagesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetFpgaImageIds(const Aws::Vector< Aws::String > &value)
DescribeFpgaImagesRequest & WithOwners(Aws::Vector< Aws::String > &&value)
DescribeFpgaImagesRequest & WithNextToken(const Aws::String &value)
DescribeFpgaImagesRequest & AddFpgaImageIds(const char *value)
void SetOwners(Aws::Vector< Aws::String > &&value)
DescribeFpgaImagesRequest & WithMaxResults(int value)
DescribeFpgaImagesRequest & WithNextToken(Aws::String &&value)
void SetFilters(Aws::Vector< Filter > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetOwners(const Aws::Vector< Aws::String > &value)
DescribeFpgaImagesRequest & WithOwners(const Aws::Vector< Aws::String > &value)
DescribeFpgaImagesRequest & AddOwners(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOwners() const
void SetFilters(const Aws::Vector< Filter > &value)
DescribeFpgaImagesRequest & AddOwners(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeFpgaImagesRequest & WithFilters(const Aws::Vector< Filter > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector