7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Filter.h>
43 template <
typename KeyNamesT = Aws::Vector<Aws::String>>
45 m_keyNamesHasBeenSet =
true;
46 m_keyNames = std::forward<KeyNamesT>(value);
48 template <
typename KeyNamesT = Aws::Vector<Aws::String>>
53 template <
typename KeyNamesT = Aws::String>
55 m_keyNamesHasBeenSet =
true;
56 m_keyNames.emplace_back(std::forward<KeyNamesT>(value));
67 template <
typename KeyPairIdsT = Aws::Vector<Aws::String>>
69 m_keyPairIdsHasBeenSet =
true;
70 m_keyPairIds = std::forward<KeyPairIdsT>(value);
72 template <
typename KeyPairIdsT = Aws::Vector<Aws::String>>
77 template <
typename KeyPairIdsT = Aws::String>
79 m_keyPairIdsHasBeenSet =
true;
80 m_keyPairIds.emplace_back(std::forward<KeyPairIdsT>(value));
93 m_includePublicKeyHasBeenSet =
true;
94 m_includePublicKey = value;
112 m_dryRunHasBeenSet =
true;
137 template <
typename FiltersT = Aws::Vector<Filter>>
139 m_filtersHasBeenSet =
true;
140 m_filters = std::forward<FiltersT>(value);
142 template <
typename FiltersT = Aws::Vector<Filter>>
147 template <
typename FiltersT = Filter>
149 m_filtersHasBeenSet =
true;
150 m_filters.emplace_back(std::forward<FiltersT>(value));
159 bool m_includePublicKey{
false};
161 bool m_dryRun{
false};
164 bool m_keyNamesHasBeenSet =
false;
165 bool m_keyPairIdsHasBeenSet =
false;
166 bool m_includePublicKeyHasBeenSet =
false;
167 bool m_dryRunHasBeenSet =
false;
168 bool m_filtersHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetKeyPairIds() const
void SetDryRun(bool value)
DescribeKeyPairsRequest & WithFilters(FiltersT &&value)
DescribeKeyPairsRequest & WithKeyNames(KeyNamesT &&value)
const Aws::Vector< Aws::String > & GetKeyNames() const
DescribeKeyPairsRequest & WithIncludePublicKey(bool value)
void SetIncludePublicKey(bool value)
DescribeKeyPairsRequest & AddKeyPairIds(KeyPairIdsT &&value)
DescribeKeyPairsRequest & WithDryRun(bool value)
bool KeyNamesHasBeenSet() const
void SetKeyPairIds(KeyPairIdsT &&value)
AWS_EC2_API DescribeKeyPairsRequest()=default
DescribeKeyPairsRequest & WithKeyPairIds(KeyPairIdsT &&value)
bool GetIncludePublicKey() const
bool FiltersHasBeenSet() const
const Aws::Vector< Filter > & GetFilters() const
AWS_EC2_API Aws::String SerializePayload() const override
bool KeyPairIdsHasBeenSet() const
bool IncludePublicKeyHasBeenSet() const
bool DryRunHasBeenSet() const
virtual const char * GetServiceRequestName() const override
DescribeKeyPairsRequest & AddKeyNames(KeyNamesT &&value)
void SetKeyNames(KeyNamesT &&value)
DescribeKeyPairsRequest & AddFilters(FiltersT &&value)
void SetFilters(FiltersT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector