7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/Tag.h>
45 template<
typename KeyPairNameT = Aws::String>
46 void SetKeyPairName(KeyPairNameT&& value) { m_keyPairNameHasBeenSet =
true; m_keyPairName = std::forward<KeyPairNameT>(value); }
47 template<
typename KeyPairNameT = Aws::String>
59 template<
typename TagsT = Aws::Vector<Tag>>
60 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
61 template<
typename TagsT = Aws::Vector<Tag>>
63 template<
typename TagsT = Tag>
69 bool m_keyPairNameHasBeenSet =
false;
72 bool m_tagsHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateKeyPairRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetKeyPairName(KeyPairNameT &&value)
bool KeyPairNameHasBeenSet() const
const Aws::String & GetKeyPairName() const
CreateKeyPairRequest & AddTags(TagsT &&value)
AWS_LIGHTSAIL_API CreateKeyPairRequest()=default
CreateKeyPairRequest & WithKeyPairName(KeyPairNameT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector