7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/ResourceLocation.h>
11#include <aws/lightsail/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lightsail/model/Tag.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
84 inline void SetSupportCode(
const char* value) { m_supportCodeHasBeenSet =
true; m_supportCode.assign(value); }
140 inline KeyPair&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
141 inline KeyPair&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
152 inline void SetFingerprint(
const char* value) { m_fingerprintHasBeenSet =
true; m_fingerprint.assign(value); }
160 bool m_nameHasBeenSet =
false;
163 bool m_arnHasBeenSet =
false;
166 bool m_supportCodeHasBeenSet =
false;
169 bool m_createdAtHasBeenSet =
false;
172 bool m_locationHasBeenSet =
false;
175 bool m_resourceTypeHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
181 bool m_fingerprintHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
KeyPair & WithCreatedAt(Aws::Utils::DateTime &&value)
KeyPair & WithLocation(const ResourceLocation &value)
void SetName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetSupportCode(const char *value)
KeyPair & WithArn(const Aws::String &value)
KeyPair & WithSupportCode(const char *value)
void SetFingerprint(const char *value)
void SetName(const char *value)
bool LocationHasBeenSet() const
const Aws::String & GetName() const
void SetArn(const char *value)
KeyPair & WithArn(const char *value)
KeyPair & WithName(const char *value)
bool NameHasBeenSet() const
KeyPair & AddTags(Tag &&value)
KeyPair & WithSupportCode(const Aws::String &value)
bool FingerprintHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
KeyPair & WithFingerprint(Aws::String &&value)
AWS_LIGHTSAIL_API KeyPair & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetSupportCode(const Aws::String &value)
AWS_LIGHTSAIL_API KeyPair()
void SetLocation(ResourceLocation &&value)
KeyPair & WithName(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetSupportCode() const
KeyPair & WithFingerprint(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
KeyPair & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
KeyPair & WithSupportCode(Aws::String &&value)
void SetResourceType(const ResourceType &value)
void SetFingerprint(const Aws::String &value)
KeyPair & WithLocation(ResourceLocation &&value)
KeyPair & WithTags(const Aws::Vector< Tag > &value)
void SetResourceType(ResourceType &&value)
const Aws::String & GetFingerprint() const
KeyPair & WithName(const Aws::String &value)
const ResourceType & GetResourceType() const
bool TagsHasBeenSet() const
KeyPair & WithResourceType(const ResourceType &value)
bool CreatedAtHasBeenSet() const
KeyPair & WithTags(Aws::Vector< Tag > &&value)
bool SupportCodeHasBeenSet() const
AWS_LIGHTSAIL_API KeyPair(Aws::Utils::Json::JsonView jsonValue)
KeyPair & WithFingerprint(const char *value)
const ResourceLocation & GetLocation() const
const Aws::String & GetArn() const
KeyPair & WithResourceType(ResourceType &&value)
KeyPair & WithCreatedAt(const Aws::Utils::DateTime &value)
KeyPair & AddTags(const Tag &value)
bool ArnHasBeenSet() const
void SetSupportCode(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocation(const ResourceLocation &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetFingerprint(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue